requireEpochMillis
Reads a JsonValue holding epoch milliseconds as an Instant.
This is the representation used for locally persisted timestamps. For ISO 8601 strings — the representation used by server payloads — use JsonMap.isoDateAsInstant instead.
Throws
if the value is not a number.
Reads the field with the given key, holding epoch milliseconds, as an Instant.
Throws
if the field is undefined or is not a number.