Package | Description |
---|---|
com.daml.ledger.javaapi.data |
Modifier and Type | Method and Description |
---|---|
static @NonNull Timestamp |
Timestamp.fromInstant(@NonNull java.time.Instant instant)
Constructs a
Timestamp value from an Instant up to microsecond precision. |
static @NonNull Timestamp |
Timestamp.fromMillis(long millis)
Constructs a
Timestamp from milliseconds since UNIX epoch. |
Modifier and Type | Method and Description |
---|---|
java.util.Optional<Timestamp> |
Value.asTimestamp() |