Duration Class

Definition

Line 23 of System.Base/Time.cm

Constructors & Destructor

public nothrow Duration()
public explicit nothrow Duration(long nanosecs_)

Member Functions

public static nothrow Duration FromHours(long hours)
public static nothrow Duration FromMicroseconds(long microseconds)
public static nothrow Duration FromMilliseconds(long milliseconds)
public static nothrow Duration FromMinutes(long minutes)
public static nothrow Duration FromNanoseconds(long nanoseconds)
public static nothrow Duration FromSeconds(long seconds)
public nothrow long Hours() const
public nothrow long Microseconds() const
public nothrow long Milliseconds() const
public nothrow long Minutes() const
public nothrow long Nanoseconds() const
public inline nothrow long Rep() const
public nothrow long Seconds() const

Member Variables

private long nanosecs

Constructor& Destructor Details

Duration Constructor

public nothrow Duration()

Definition
Line 25 of System.Base/Time.cm


Duration Constructor

public explicit nothrow Duration(long nanosecs_)

Definition
Line 28 of System.Base/Time.cm


Member Function Details

FromHours Static Member Function

public static nothrow Duration FromHours(long hours)

Definition
Line 55 of System.Base/Time.cm


FromMicroseconds Static Member Function

public static nothrow Duration FromMicroseconds(long microseconds)

Definition
Line 71 of System.Base/Time.cm


FromMilliseconds Static Member Function

public static nothrow Duration FromMilliseconds(long milliseconds)

Definition
Line 67 of System.Base/Time.cm


FromMinutes Static Member Function

public static nothrow Duration FromMinutes(long minutes)

Definition
Line 59 of System.Base/Time.cm


FromNanoseconds Static Member Function

public static nothrow Duration FromNanoseconds(long nanoseconds)

Definition
Line 75 of System.Base/Time.cm


FromSeconds Static Member Function

public static nothrow Duration FromSeconds(long seconds)

Definition
Line 63 of System.Base/Time.cm


Hours Member Function

public nothrow long Hours()

Definition
Line 31 of System.Base/Time.cm


Microseconds Member Function

public nothrow long Microseconds()

Definition
Line 47 of System.Base/Time.cm


Milliseconds Member Function

public nothrow long Milliseconds()

Definition
Line 43 of System.Base/Time.cm


Minutes Member Function

public nothrow long Minutes()

Definition
Line 35 of System.Base/Time.cm


Nanoseconds Member Function

public nothrow long Nanoseconds()

Definition
Line 51 of System.Base/Time.cm


Rep Member Function

public inline nothrow long Rep()

Definition
Line 79 of System.Base/Time.cm


Seconds Member Function

public nothrow long Seconds()

Definition
Line 39 of System.Base/Time.cm