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_duration_since_epoch(long duration) |
Creates a `PositiveTimestamp` from a [`Duration`] since the Unix epoch in the range
`0..=MAX_TIMESTAMP`.
|
static Result_PositiveTimestampCreationErrorZ |
PositiveTimestamp.from_system_time(long time) |
Creates a `PositiveTimestamp` from a [`SystemTime`] with a corresponding Unix timestamp in
the range `0..=MAX_TIMESTAMP`.
|
static Result_PositiveTimestampCreationErrorZ |
PositiveTimestamp.from_unix_timestamp(long unix_seconds) |
Creates a `PositiveTimestamp` from a Unix timestamp in the range `0..=MAX_TIMESTAMP`.
|
static Result_PositiveTimestampCreationErrorZ |
Result_PositiveTimestampCreationErrorZ.ok(PositiveTimestamp o) |
Creates a new CResult_PositiveTimestampCreationErrorZ in the success state.
|