Home
last modified time | relevance | path

Searched defs:zone (Results 1 – 25 of 72) sorted by relevance

123

/libcore/ojluni/src/main/java/java/time/
DClock.java196 public static Clock system(ZoneId zone) { in system()
221 public static Clock tickSeconds(ZoneId zone) { in tickSeconds()
244 public static Clock tickMinutes(ZoneId zone) { in tickMinutes()
314 public static Clock fixed(Instant fixedInstant, ZoneId zone) { in fixed()
377 public abstract Clock withZone(ZoneId zone); in withZone()
449 private final ZoneId zone; field in Clock.SystemClock
451 SystemClock(ZoneId zone) { in SystemClock()
459 public Clock withZone(ZoneId zone) { in withZone()
498 private final ZoneId zone; field in Clock.FixedClock
500 FixedClock(Instant fixedInstant, ZoneId zone) { in FixedClock()
[all …]
DZonedDateTime.java177 private final ZoneId zone; field in ZonedDateTime
209 public static ZonedDateTime now(ZoneId zone) { in now()
258 public static ZonedDateTime of(LocalDate date, LocalTime time, ZoneId zone) { in of()
286 public static ZonedDateTime of(LocalDateTime localDateTime, ZoneId zone) { in of()
332 int hour, int minute, int second, int nanoOfSecond, ZoneId zone) { in of()
360 …public static ZonedDateTime ofLocal(LocalDateTime localDateTime, ZoneId zone, ZoneOffset preferred… in ofLocal()
400 public static ZonedDateTime ofInstant(Instant instant, ZoneId zone) { in ofInstant()
426 …ublic static ZonedDateTime ofInstant(LocalDateTime localDateTime, ZoneOffset offset, ZoneId zone) { in ofInstant()
446 private static ZonedDateTime create(long epochSecond, int nanoOfSecond, ZoneId zone) { in create()
468 …public static ZonedDateTime ofStrict(LocalDateTime localDateTime, ZoneOffset offset, ZoneId zone) { in ofStrict()
[all …]
/libcore/ojluni/src/main/java/java/time/chrono/
DChronoZonedDateTimeImpl.java123 private final transient ZoneId zone; field in ChronoZonedDateTimeImpl
135 ChronoLocalDateTimeImpl<R> localDateTime, ZoneId zone, ZoneOffset preferredOffset) { in ofBest()
170 static ChronoZonedDateTimeImpl<?> ofInstant(Chronology chrono, Instant instant, ZoneId zone) { in ofInstant()
187 private ChronoZonedDateTimeImpl<D> create(Instant instant, ZoneId zone) { in create()
218 …vate ChronoZonedDateTimeImpl(ChronoLocalDateTimeImpl<D> dateTime, ZoneOffset offset, ZoneId zone) { in ChronoZonedDateTimeImpl()
266 public ChronoZonedDateTime<D> withZoneSameLocal(ZoneId zone) { in withZoneSameLocal()
271 public ChronoZonedDateTime<D> withZoneSameInstant(ZoneId zone) { in withZoneSameInstant()
359 ZoneId zone = (ZoneId) in.readObject(); in readExternal() local
DChronology.java405 default ChronoLocalDate dateNow(ZoneId zone) { in dateNow()
504 ZoneId zone = ZoneId.from(temporal); in zonedDateTime() local
528 …efault ChronoZonedDateTime<? extends ChronoLocalDate> zonedDateTime(Instant instant, ZoneId zone) { in zonedDateTime()
DMinguoChronology.java243 public MinguoDate dateNow(ZoneId zone) { in dateNow()
274 public ChronoZonedDateTime<MinguoDate> zonedDateTime(Instant instant, ZoneId zone) { in zonedDateTime()
DChronoZonedDateTime.java335 ChronoZonedDateTime<D> withZoneSameLocal(ZoneId zone); in withZoneSameLocal()
354 ChronoZonedDateTime<D> withZoneSameInstant(ZoneId zone); in withZoneSameInstant()
DIsoChronology.java305 public ZonedDateTime zonedDateTime(Instant instant, ZoneId zone) { in zonedDateTime()
340 public LocalDate dateNow(ZoneId zone) { in dateNow()
/libcore/ojluni/src/main/java/sun/util/calendar/
DGregorian.java44 protected Date(TimeZone zone) { in Date()
76 public Date getCalendarDate(long millis, TimeZone zone) { in getCalendarDate()
84 public Date newCalendarDate(TimeZone zone) { in newCalendarDate()
DJulianCalendar.java53 protected Date(TimeZone zone) { in Date()
133 public Date getCalendarDate(long millis, TimeZone zone) { in getCalendarDate()
141 public Date newCalendarDate(TimeZone zone) { in newCalendarDate()
DCalendarSystem.java225 public abstract CalendarDate getCalendarDate(long millis, TimeZone zone); in getCalendarDate()
238 public abstract CalendarDate newCalendarDate(TimeZone zone); in newCalendarDate()
DLocalGregorianCalendar.java51 protected Date(TimeZone zone) { in Date()
203 public Date getCalendarDate(long millis, TimeZone zone) { in getCalendarDate()
242 public Date newCalendarDate(TimeZone zone) { in newCalendarDate()
DEra.java109 public long getSince(TimeZone zone) { in getSince()
/libcore/ojluni/src/test/java/time/tck/java/time/
DTCKClock.java78 final ZoneId zone; field in TCKClock.MockInstantClock
79 MockInstantClock(long millis, ZoneId zone) { in MockInstantClock()
/libcore/luni/src/test/java/libcore/java/time/chrono/
DChronoZonedDateTimeTest.java90 public ChronoZonedDateTime withZoneSameLocal(ZoneId zone) { in withZoneSameLocal()
95 public ChronoZonedDateTime withZoneSameInstant(ZoneId zone) { in withZoneSameInstant()
/libcore/luni/src/test/java/libcore/java/time/
DZonedDateTimeTest.java99 ZoneId zone, LocalDateTime expectedDateTime, ZoneOffset expectedOffset) { in checkOfInstant()
168 private static void checkOfLocal(LocalDateTime localDateTime, ZoneId zone, in checkOfLocal()
/libcore/ojluni/annotations/hiddenapi/sun/util/calendar/
DLocalGregorianCalendar.java53 long millis, java.util.TimeZone zone) { in getCalendarDate()
72 public sun.util.calendar.LocalGregorianCalendar.Date newCalendarDate(java.util.TimeZone zone) { in newCalendarDate()
121 protected Date(java.util.TimeZone zone) { in Date()
DCalendarSystem.java61 long millis, java.util.TimeZone zone); in getCalendarDate()
66 public abstract sun.util.calendar.CalendarDate newCalendarDate(java.util.TimeZone zone); in newCalendarDate()
DEra.java54 public long getSince(java.util.TimeZone zone) { in getSince()
/libcore/ojluni/src/test/java/time/tck/java/time/format/
DTCKOffsetPrinterParser.java234 …public void test_print(String offsetPattern, String noOffset, LocalDateTime ldt, ZoneId zone, Stri… in test_print()
243 …nt_pattern_X(String offsetPattern, String noOffset, LocalDateTime ldt, ZoneId zone, String expecte… in test_print_pattern_X()
265 …nt_pattern_x(String offsetPattern, String noOffset, LocalDateTime ldt, ZoneId zone, String expecte… in test_print_pattern_x()
293 …nt_pattern_Z(String offsetPattern, String noOffset, LocalDateTime ldt, ZoneId zone, String expecte… in test_print_pattern_Z()
/libcore/ojluni/src/main/java/java/time/temporal/
DTemporalQueries.java267 public static TemporalQuery<ZoneId> zone() { in zone() method in TemporalQueries
/libcore/ojluni/annotations/hiddenapi/java/util/
DCalendar.java54 protected Calendar(java.util.TimeZone zone, java.util.Locale aLocale) { in Calendar()
62 public static java.util.Calendar getInstance(java.util.TimeZone zone) { in getInstance()
71 java.util.TimeZone zone, java.util.Locale aLocale) { in getInstance()
76 java.util.TimeZone zone, java.util.Locale aLocale) { in getJapaneseImperialInstance()
81 java.util.TimeZone zone, java.util.Locale aLocale) { in createCalendar()
595 private java.util.TimeZone zone; field in Calendar
651 public java.util.Calendar.Builder setTimeZone(java.util.TimeZone zone) { in setTimeZone()
718 private java.util.TimeZone zone; field in Calendar.Builder
/libcore/ojluni/annotations/hiddenapi/java/time/
DOffsetDateTime.java92 public static java.time.OffsetDateTime now(java.time.ZoneId zone) { in now()
123 java.time.Instant instant, java.time.ZoneId zone) { in ofInstant()
371 public java.time.ZonedDateTime atZoneSameInstant(java.time.ZoneId zone) { in atZoneSameInstant()
375 public java.time.ZonedDateTime atZoneSimilarLocal(java.time.ZoneId zone) { in atZoneSimilarLocal()
/libcore/ojluni/src/main/java/java/time/format/
DDateTimeFormatter.java512 private final ZoneId zone; field in DateTimeFormatter
1375 Chronology chrono, ZoneId zone) { in DateTimeFormatter()
1545 public DateTimeFormatter withZone(ZoneId zone) { in withZone()
/libcore/ojluni/src/main/java/java/util/
DGregorianCalendar.java603 public GregorianCalendar(TimeZone zone) { in GregorianCalendar()
625 public GregorianCalendar(TimeZone zone, Locale aLocale) { in GregorianCalendar()
737 GregorianCalendar(TimeZone zone, Locale locale, boolean flag) { in GregorianCalendar()
2029 TimeZone zone = super.getTimeZone(); in getTimeZone() local
2039 public void setTimeZone(TimeZone zone) { in setTimeZone()
2803 TimeZone zone = getZone(); in computeTime() local
2886 int tzMask, long utcTimeInMillis, TimeZone zone) { in adjustForZoneAndDaylightSavingsTime()
2990 long standardTimeInZone, TimeZone zone, int dstOffset) { in adjustDstOffsetForInvalidWallClock()
DCalendar.java903 private TimeZone zone; field in Calendar
1082 private TimeZone zone; field in Calendar.Builder
1306 public Builder setTimeZone(TimeZone zone) { in setTimeZone()
1596 protected Calendar(TimeZone zone, Locale aLocale) in Calendar()
1637 public static Calendar getInstance(TimeZone zone) in getInstance()
1664 public static Calendar getInstance(TimeZone zone, in getInstance()
1675 public static Calendar getJapaneseImperialInstance(TimeZone zone, Locale aLocale) { in getJapaneseImperialInstance()
1680 private static Calendar createCalendar(TimeZone zone, in createCalendar()

123