Home
last modified time | relevance | path

Searched refs:systemDefaultZone (Results 1 – 25 of 35) sorted by relevance

12

/libcore/ojluni/src/test/java/time/test/java/time/
DTestLocalTime.java192 LocalTime.now(Clock.systemDefaultZone()); in now()
196 LocalTime expected = LocalTime.now(Clock.systemDefaultZone()); in now()
/libcore/ojluni/src/test/java/time/tck/java/time/serial/
DTCKClockSerialization.java92 assertSerializable(Clock.systemDefaultZone()); in test_systemClockSerializable()
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/
DTCKHijrahChronology.java110 … assertEquals(HijrahChronology.INSTANCE.dateNow(), HijrahDate.now(Clock.systemDefaultZone())) ; in test_dateNow()
111 …assertEquals(HijrahChronology.INSTANCE.dateNow(), HijrahDate.now(Clock.systemDefaultZone().getZone… in test_dateNow()
114 …ijrahChronology.INSTANCE.dateNow(), HijrahChronology.INSTANCE.dateNow(Clock.systemDefaultZone())) ; in test_dateNow()
115 …onology.INSTANCE.dateNow(), HijrahChronology.INSTANCE.dateNow(Clock.systemDefaultZone().getZone())… in test_dateNow()
DTCKMinguoChronology.java189 … assertEquals(MinguoChronology.INSTANCE.dateNow(), MinguoDate.now(Clock.systemDefaultZone())) ; in test_dateNow()
190 …assertEquals(MinguoChronology.INSTANCE.dateNow(), MinguoDate.now(Clock.systemDefaultZone().getZone… in test_dateNow()
193 …inguoChronology.INSTANCE.dateNow(), MinguoChronology.INSTANCE.dateNow(Clock.systemDefaultZone())) ; in test_dateNow()
194 …onology.INSTANCE.dateNow(), MinguoChronology.INSTANCE.dateNow(Clock.systemDefaultZone().getZone())… in test_dateNow()
DTCKThaiBuddhistChronology.java226 …quals(ThaiBuddhistChronology.INSTANCE.dateNow(), ThaiBuddhistDate.now(Clock.systemDefaultZone())) ; in test_dateNow()
227 …aiBuddhistChronology.INSTANCE.dateNow(), ThaiBuddhistDate.now(Clock.systemDefaultZone().getZone())… in test_dateNow()
230 …hronology.INSTANCE.dateNow(), ThaiBuddhistChronology.INSTANCE.dateNow(Clock.systemDefaultZone())) ; in test_dateNow()
231 …y.INSTANCE.dateNow(), ThaiBuddhistChronology.INSTANCE.dateNow(Clock.systemDefaultZone().getZone())… in test_dateNow()
DTCKJapaneseChronology.java318 … assertEquals(JapaneseChronology.INSTANCE.dateNow(), JapaneseDate.now(Clock.systemDefaultZone())) ; in test_dateNow()
319 …quals(JapaneseChronology.INSTANCE.dateNow(), JapaneseDate.now(Clock.systemDefaultZone().getZone())… in test_dateNow()
322 …eseChronology.INSTANCE.dateNow(), JapaneseChronology.INSTANCE.dateNow(Clock.systemDefaultZone())) ; in test_dateNow()
323 …ology.INSTANCE.dateNow(), JapaneseChronology.INSTANCE.dateNow(Clock.systemDefaultZone().getZone())… in test_dateNow()
/libcore/ojluni/src/test/java/time/tck/java/time/
DTCKClock_System.java118 Clock test = Clock.systemDefaultZone(); in test_systemDefaultZone()
DTCKMonthDay.java154 MonthDay expected = MonthDay.now(Clock.systemDefaultZone()); in now()
160 expected = MonthDay.now(Clock.systemDefaultZone()); in now()
/libcore/ojluni/src/main/java/java/time/chrono/
DMinguoChronology.java239 return dateNow(Clock.systemDefaultZone()); in dateNow()
DChronology.java386 return dateNow(Clock.systemDefaultZone()); in dateNow()
DThaiBuddhistChronology.java275 return dateNow(Clock.systemDefaultZone()); in dateNow()
DThaiBuddhistDate.java127 return now(Clock.systemDefaultZone()); in now()
DIsoChronology.java324 return dateNow(Clock.systemDefaultZone()); in dateNow()
DMinguoDate.java127 return now(Clock.systemDefaultZone()); in now()
DJapaneseChronology.java295 return dateNow(Clock.systemDefaultZone()); in dateNow()
DHijrahDate.java177 return now(Clock.systemDefaultZone()); in now()
DJapaneseDate.java160 return now(Clock.systemDefaultZone()); in now()
DHijrahChronology.java505 return dateNow(Clock.systemDefaultZone()); in dateNow()
/libcore/ojluni/src/main/java/java/time/
DClock.java177 public static Clock systemDefaultZone() { in systemDefaultZone() method in Clock
DMonthDay.java160 return now(Clock.systemDefaultZone()); in now()
DYear.java170 return now(Clock.systemDefaultZone()); in now()
DYearMonth.java163 return now(Clock.systemDefaultZone()); in now()
DOffsetTime.java160 return now(Clock.systemDefaultZone()); in now()
DOffsetDateTime.java206 return now(Clock.systemDefaultZone()); in now()
DLocalTime.java238 return now(Clock.systemDefaultZone()); in now()

12