Home
last modified time | relevance | path

Searched refs:systemDefault (Results 1 – 14 of 14) sorted by relevance

/libcore/ojluni/src/test/java/time/tck/java/time/
DTCKClock_System.java119 assertEquals(test.getZone(), ZoneId.systemDefault()); in test_systemDefaultZone()
120 assertEquals(test, Clock.system(ZoneId.systemDefault())); in test_systemDefaultZone()
/libcore/luni/src/test/java/libcore/java/util/zip/
DZipEntryTest.java176 .atZone(ZoneId.systemDefault()).toInstant().toEpochMilli()); in testSetTime()
179 checkSetTime(LocalDate.of(1980, 1, 1).atStartOfDay().atZone(ZoneId.systemDefault()) in testSetTime()
/libcore/ojluni/annotations/hiddenapi/java/time/
DZoneId.java74 public static java.time.ZoneId systemDefault() { in systemDefault() method in ZoneId
/libcore/ojluni/src/main/java/java/util/zip/
DZipEntry.java290 ZonedDateTime.of(time, ZoneId.systemDefault()).toInstant()); in setTimeLocal()
313 return LocalDateTime.ofInstant(mtime.toInstant(), ZoneId.systemDefault()); in getTimeLocal()
DZipUtils.java102 ZoneId.systemDefault().getRules().getOffset(ldt)), TimeUnit.SECONDS); in dosToJavaTime()
162 return LocalDateTime.ofInstant(instant, ZoneId.systemDefault()); in javaEpochToLocalDateTime()
/libcore/ojluni/src/test/java/util/zip/
DTestLocalTime.java138 expected = ZonedDateTime.of(expected, ZoneId.systemDefault()) in check()
/libcore/ojluni/src/main/java/java/time/
DZoneId.java267 public static ZoneId systemDefault() { in systemDefault() method in ZoneId
DClock.java183 return new SystemClock(ZoneId.systemDefault()); in systemDefaultZone()
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/
DTCKHijrahChronology.java109 assertEquals(HijrahChronology.INSTANCE.dateNow(), HijrahDate.now(ZoneId.systemDefault())) ; in test_dateNow()
113 …s(HijrahChronology.INSTANCE.dateNow(), HijrahChronology.INSTANCE.dateNow(ZoneId.systemDefault())) ; in test_dateNow()
DTCKThaiBuddhistChronology.java225 …rtEquals(ThaiBuddhistChronology.INSTANCE.dateNow(), ThaiBuddhistDate.now(ZoneId.systemDefault())) ; in test_dateNow()
229 …stChronology.INSTANCE.dateNow(), ThaiBuddhistChronology.INSTANCE.dateNow(ZoneId.systemDefault())) ; in test_dateNow()
DTCKMinguoChronology.java188 assertEquals(MinguoChronology.INSTANCE.dateNow(), MinguoDate.now(ZoneId.systemDefault())) ; in test_dateNow()
192 …s(MinguoChronology.INSTANCE.dateNow(), MinguoChronology.INSTANCE.dateNow(ZoneId.systemDefault())) ; in test_dateNow()
DTCKJapaneseChronology.java317 … assertEquals(JapaneseChronology.INSTANCE.dateNow(), JapaneseDate.now(ZoneId.systemDefault())) ; in test_dateNow()
321 …paneseChronology.INSTANCE.dateNow(), JapaneseChronology.INSTANCE.dateNow(ZoneId.systemDefault())) ; in test_dateNow()
/libcore/ojluni/src/test/java/time/test/java/time/
DTestZoneId.java128 ZoneId test = ZoneId.systemDefault(); in test_systemDefault()
137 ZoneId.systemDefault(); in test_systemDefault_unableToConvert_badFormat()
148 ZoneId.systemDefault(); in test_systemDefault_unableToConvert_unknownId()
/libcore/api/
Dcurrent.txt12216 method public static java.time.ZoneId systemDefault();