Searched refs:ZONE_OFFSET (Results 1 – 6 of 6) sorted by relevance
28 public static final ZoneOffset ZONE_OFFSET = ZoneOffset.UTC; field in TimeSource35 return now().atZone(ZONE_OFFSET); in getCurrentDateTime()40 return now().atZone(ZONE_OFFSET).truncatedTo(ChronoUnit.DAYS); in getCurrentDate()
20 import static com.android.car.watchdog.TimeSource.ZONE_OFFSET;393 mTimeSource.now().atZone(ZONE_OFFSET).truncatedTo(STATS_TEMPORAL_UNIT); in getNotForgivenHistoricalIoOveruses()428 mTimeSource.now().atZone(ZONE_OFFSET).truncatedTo(STATS_TEMPORAL_UNIT); in forgiveHistoricalOveruses()483 .atZone(ZONE_OFFSET).truncatedTo(STATS_TEMPORAL_UNIT); in saveIoUsageStats()
60 import static com.android.car.watchdog.TimeSource.ZONE_OFFSET;1337 ZonedDateTime usageModifiedDate = lastModifiedDate.atZone(ZONE_OFFSET); in readFromDatabase()2204 DateTimeFormatter.ISO_DATE_TIME.withZone(ZONE_OFFSET)); in readMetadataFileLocked()2209 DateTimeFormatter.ISO_DATE_TIME.withZone(ZONE_OFFSET)); in readMetadataFileLocked()
397 (cal.get(Calendar.ZONE_OFFSET) + cal.get(Calendar.DST_OFFSET)) in gsmWriteDate()
46 import static com.android.car.watchdog.TimeSource.ZONE_OFFSET;1422 ZonedDateTime.ofInstant(Instant.ofEpochSecond(startEpochSeconds), ZONE_OFFSET), in sampleDailyIoUsageSummariesForAWeek()
47 import static com.android.car.watchdog.TimeSource.ZONE_OFFSET;688 DateTimeFormatter.ISO_DATE_TIME.withZone(ZONE_OFFSET)); in testWriteMetadataFile()692 DateTimeFormatter.ISO_DATE_TIME.withZone(ZONE_OFFSET)); in testWriteMetadataFile()4715 ZonedDateTime.ofInstant(Instant.ofEpochSecond(startEpochSeconds), ZONE_OFFSET), in sampleDailyIoUsageSummariesForAWeek()