公共成员函数
|
|
Hours
(
Float64
hours)
|
|
TimeValue
()
|
|
TimeValue
(
CurrentTime
)
|
|
TimeValue
(
ENUM_DONT_INITIALIZE
v)
|
|
TimeValue
(const
TimeValue
&
src
)
|
|
TimeValue
(
Int
frame,
Float64
frameRate)
|
TimeValue
&
|
operator=
(const
TimeValue
&
src
)
|
Bool
|
operator==
(const
TimeValue
&b) const
|
Bool
|
operator<
(const
TimeValue
&b) const
|
TimeValue
|
operator+
(const
TimeValue
&b) const
|
TimeValue
&
|
operator+=
(const
TimeValue
&b)
|
TimeValue
|
operator-
(const
TimeValue
&b) const
|
const
TimeValue
&
|
operator-=
(const
TimeValue
&b)
|
TimeValue
&
|
operator*=
(const
Float64
b)
|
Float64
|
GetHours
() const
|
void
|
SetHours
(
Float64
hours)
|
Float64
|
GetMinutes
() const
|
void
|
SetMinutes
(
Float64
minutes)
|
Float64
|
GetSeconds
() const
|
void
|
SetSeconds
(
Float64
seconds)
|
Float64
|
GetMilliseconds
() const
|
void
|
SetMilliseconds
(
Float64
milliseconds)
|
Float64
|
GetMicroseconds
() const
|
void
|
SetMicroseconds
(
Float64
microseconds)
|
Float64
|
GetNanoseconds
() const
|
void
|
SetNanoseconds
(
Float64
nanoseconds)
|
const
TimeValue
&
|
Stop
()
|
String
|
ToString
(const
FormatStatement
*formatStatement=nullptr) const
|
HashInt
|
GetHashCode
() const
|
Int
|
GetFrame
(
Float64
frameRate) const
|
void
|
Quantize
(
Float64
frameRate)
|
String
|
TimeToString
(
TIMEFORMAT
timeFormat=
TIMEFORMAT::SECONDS
,
Float64
frameRate=1) const
|
Result
< void >
|
TimeFromString
(const
String
&str,
TIMEFORMAT
timeFormat,
Float64
frameRate)
|