Searched refs:zdt (Results 1 – 3 of 3) sorted by relevance
42 ZonedDateTime zdt = ZonedDateTime.ofInstant(Instant.ofEpochMilli(timeMillis), PT_ZONE); in getDateTimeZoneString() local43 return DateTimeFormatter.ofPattern(DATE_TIME_ZONE_FORMAT).format(zdt); in getDateTimeZoneString()54 ZonedDateTime zdt = ZonedDateTime.ofInstant(Instant.ofEpochMilli(timeMillis), PT_ZONE); in getDateString() local55 return DateTimeFormatter.ofPattern(DATE_FORMAT).format(zdt); in getDateString()66 ZonedDateTime zdt = ZonedDateTime.ofInstant(Instant.ofEpochMilli(timeMillis), PT_ZONE); in getDateTimeString() local67 return DateTimeFormatter.ofPattern(DATE_TIME_FORMAT).format(zdt); in getDateTimeString()
181 ZonedDateTime zdt = ZonedDateTime.of(now, TimeUtil.PT_ZONE); in testCanonicalTimeMidday() local182 long time = TimeUnit.SECONDS.toMicros(zdt.toEpochSecond()); in testCanonicalTimeMidday()202 ZonedDateTime zdt = ZonedDateTime.of(now, TimeUtil.PT_ZONE); in testCanonicalTimeMidnight() local203 long time = TimeUnit.SECONDS.toMicros(zdt.toEpochSecond()); in testCanonicalTimeMidnight()208 assertEquals(zdt, canonical); in testCanonicalTimeMidnight()
78 ZonedDateTime zdt = in getCanonicalTime() local81 zdt.withHour(0).withMinute(0).withSecond(0).toEpochSecond()); in getCanonicalTime()