|
SADBu64 | Second |
|
SADBu16 | Millisecond |
|
Timestamp::Timestamp |
( |
void |
| ) |
|
Timestamp::~Timestamp |
( |
void |
| ) |
|
SADBs64 Timestamp::MillisecondDifference |
( |
Timestamp * |
B | ) |
|
Get the number of seconds between the current timestamp object and another timestamp object
- Parameters
-
- Note
- If you have 2 timestamp objects A and B, A.SecondDifference(&B) will return B-A.
-
If the distance between timestamps is very large, there is a possibility of overflow. This should only happen if the number of seconds between the two timestamps is greater than ~ 1.8e16.
SADBdfl Timestamp::SecondDifference |
( |
Timestamp * |
B | ) |
|
Get the number of seconds between the current timestamp object and another timestamp object
- Parameters
-
- Note
- If you have 2 timestamp objects A and B, A.SecondDifference(&B) will return B-A.
-
If the distance between timestamps is very large, there is a possibility of overflow. This should only happen if the number of seconds between the two timestamps is greater than ~ 9e15.
void Timestamp::Set |
( |
SADBu64 |
second, |
|
|
SADBu16 |
millisecond |
|
) |
| |
Manually set the timestamp
- Parameters
-
second | Target Time (second part) |
millisecond | Target Time (millisecond part) |
void Timestamp::Set |
( |
SADBdfl |
time | ) |
|
Manually set the timestamp, in SMC double format
- Parameters
-
The documentation for this class was generated from the following files: