MCPcopy Create free account
hub / github.com/amazon-ion/ion-java / now

Method now

src/main/java/com/amazon/ion/Timestamp.java:1534–1538  ·  view source on GitHub ↗

Returns a Timestamp representing the current time (based on the JVM clock), with an unknown local offset. The resulting Timestamp will be precise to the millisecond. @return a new Timestamp instance representing the current time.

()

Source from the content-addressed store, hash-verified

1532 * a new Timestamp instance representing the current time.
1533 */
1534 public static Timestamp now()
1535 {
1536 long millis = System.currentTimeMillis();
1537 return new Timestamp(millis, UNKNOWN_OFFSET);
1538 }
1539
1540 /**
1541 * Returns a Timestamp in UTC representing the current time (based on the

Callers 1

build.gradle.ktsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected