SbTime Structure |
This class represents and performs operations on time. Operations may be done in seconds, seconds and microseconds, or using DateTime.
Namespace: OIV.Inventor
The SbTime type exposes the following members.
Name | Description | |
---|---|---|
![]() | SbTime(DateTime) |
Constructor taking DateTime.
|
![]() | SbTime(Double) |
Constructor taking seconds.
|
![]() | SbTime(Int64, Int64) |
Constructor taking seconds and microseconds.
|
Name | Description | |
---|---|---|
![]() | Equals |
Returns a value indicating whether this instance is equal to a specified object.
(Overrides ValueTypeEquals(Object).) |
![]() | GetHashCode |
Returns the hash code for the value of this instance.
(Overrides ValueTypeGetHashCode.) |
![]() | GetMsecValue |
Returns time in milliseconds.
|
![]() ![]() | GetTimeOfDay |
Get the current time (seconds since Jan 1, 1970).
|
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | GetValue |
Returns time in seconds as a double.
|
![]() | GetValue(DateTime) |
Gets time in a DateTime structure.
|
![]() | GetValue(Int64, Int64) |
Get time in seconds and microseconds.
|
![]() ![]() | MaxTime |
Get a time far, far into the future.
|
![]() | SetMsecValue |
Set time from milliseconds.
|
![]() | SetToTimeOfDay |
Set to the current time.
|
![]() | SetValue(DateTime) |
Set time from a struct timeval.
|
![]() | SetValue(Double) |
Set time from a double (in seconds).
|
![]() | SetValue(Int64, Int64) |
Set time from seconds + microseconds.
|
![]() | ToString | Returns the fully qualified type name of this instance. (Inherited from ValueType.) |
Name | Description | |
---|---|---|
![]() ![]() | Addition |
Additive (+) operator. Performs the addition between the times t1
and t2.
|
![]() ![]() | Division(SbTime, SbTime) |
The division operator (/). Division by another time.
|
![]() ![]() | Division(SbTime, Double) |
The division operator (/). Division by scalar.
|
![]() ![]() | Equality |
The equality operator.
|
![]() ![]() | (SbTime to DateTime) |
Explicit cast operator to convert an SbTime to a System.DateTime
|
![]() ![]() | GreaterThan |
Relational (greater than) operator.
|
![]() ![]() | GreaterThanOrEqual |
Relational (greater than or equal to) operator.
|
![]() ![]() | Inequality |
The inequality operator.
|
![]() ![]() | LessThan |
Relational (less than) operator.
|
![]() ![]() | LessThanOrEqual |
Relational (less than or equal to) operator.
|
![]() ![]() | Modulus |
Modulus for two times (remainder when t1 is divided by t2).
|
![]() ![]() | Multiply(Double, SbTime) |
The multiplication operator (*). Multiplication by scalar.
|
![]() ![]() | Multiply(SbTime, Double) |
The multiplication operator (*). Multiplication by scalar.
|
![]() ![]() | Subtraction |
Subtraction (–) operator. Performs the difference between the times t0
and t1.
|
![]() ![]() | UnaryNegation |
The unary negation operator (-).
|