Lines Matching refs:Instant
39 var Instant = java.time.Instant;
50 // Java Instant.ofEpochMilli to convert time in milliseconds to Instant object
51 // https://docs.oracle.com/javase/8/docs/api/java/time/Instant.html#ofEpochMilli-long-
53 var instant = Instant.ofEpochMilli(d.getTime());
55 // Instant to LocalDateTime using LocalDateTime.ofInstant
56 // https://docs.oracle.com/javase/8/docs/api/java/time/LocalDateTime.html#ofInstant-java.time.Instant-java.time.ZoneId-
62 // convert LocalDateTime to Instant first
68 // https://docs.oracle.com/javase/8/docs/api/java/time/Instant.html#toEpochMilli--