summaryrefslogtreecommitdiff
path: root/src/dcp_time.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/dcp_time.cc')
-rw-r--r--src/dcp_time.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dcp_time.cc b/src/dcp_time.cc
index c5a7affd..7c7c5298 100644
--- a/src/dcp_time.cc
+++ b/src/dcp_time.cc
@@ -222,6 +222,7 @@ libdcp::operator/ (Time a, Time const & b)
return float (at) / bt;
}
+/** @return A string of the form h:m:s:t */
string
Time::to_string () const
{
@@ -230,6 +231,7 @@ Time::to_string () const
return str.str ();
}
+/** @return This time in ticks */
int64_t
Time::to_ticks () const
{