Result_PositiveTimestampCreationErrorZ |
Result_PositiveTimestampCreationErrorZ.clone() |
Creates a new CResult_PositiveTimestampCreationErrorZ which has the same data as `orig`
but with all dynamically-allocated buffers duplicated in new buffers.
|
static Result_PositiveTimestampCreationErrorZ |
Result_PositiveTimestampCreationErrorZ.err(CreationError e) |
Creates a new CResult_PositiveTimestampCreationErrorZ in the error state.
|
static Result_PositiveTimestampCreationErrorZ |
PositiveTimestamp.from_system_time(long time) |
Create a new `PositiveTimestamp` from a `SystemTime` with a corresponding unix timestamp in
the Range `0...SYSTEM_TIME_MAX_UNIX_TIMESTAMP - MAX_EXPIRY_TIME`, otherwise return a
`CreationError::TimestampOutOfBounds`.
|
static Result_PositiveTimestampCreationErrorZ |
PositiveTimestamp.from_unix_timestamp(long unix_seconds) |
Create a new `PositiveTimestamp` from a unix timestamp in the Range
`0...SYSTEM_TIME_MAX_UNIX_TIMESTAMP - MAX_EXPIRY_TIME`, otherwise return a
`CreationError::TimestampOutOfBounds`.
|
static Result_PositiveTimestampCreationErrorZ |
Result_PositiveTimestampCreationErrorZ.ok(PositiveTimestamp o) |
Creates a new CResult_PositiveTimestampCreationErrorZ in the success state.
|