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

Method getMillis

src/main/java/com/amazon/ion/IonTimestamp.java:70–70  ·  view source on GitHub ↗

Gets the value of this Ion timestamp as the number of milliseconds since 1970-01-01T00:00:00.000Z, truncating any fractional milliseconds. This method will return the same result for all Ion representations of the same instant, regardless of the local offset. @return the number of mill

()

Source from the content-addressed store, hash-verified

68 * @throws NullValueException if <code>this.isNullValue()</code>.
69 */
70 public long getMillis()
71 throws NullValueException;
72
73 /**

Callers 9

testPrintingTimestampMethod · 0.95
checkTimestampMethod · 0.65
compareToMethod · 0.65
writeTimestampMethod · 0.65
getMillisMethod · 0.65
visitMethod · 0.65

Implementers 1

IonTimestampLitesrc/main/java/com/amazon/ion/impl/lite

Calls

no outgoing calls

Tested by 4

testPrintingTimestampMethod · 0.76
checkTimestampMethod · 0.52