/libcore/ojluni/annotations/hiddenapi/java/time/ |
D | OffsetDateTime.java | 63 package java.time; 69 implements java.time.temporal.Temporal, 70 java.time.temporal.TemporalAdjuster, 71 java.lang.Comparable<java.time.OffsetDateTime>, 75 private OffsetDateTime(java.time.LocalDateTime dateTime, java.time.ZoneOffset offset) { in OffsetDateTime() 79 public static java.util.Comparator<java.time.OffsetDateTime> timeLineOrder() { in timeLineOrder() 84 java.time.OffsetDateTime datetime1, java.time.OffsetDateTime datetime2) { in compareInstant() 88 public static java.time.OffsetDateTime now() { in now() 92 public static java.time.OffsetDateTime now(java.time.ZoneId zone) { in now() 96 public static java.time.OffsetDateTime now(java.time.Clock clock) { in now() [all …]
|
D | Duration.java | 63 package java.time; 69 implements java.time.temporal.TemporalAmount, 70 java.lang.Comparable<java.time.Duration>, 77 public static java.time.Duration ofDays(long days) { in ofDays() 81 public static java.time.Duration ofHours(long hours) { in ofHours() 85 public static java.time.Duration ofMinutes(long minutes) { in ofMinutes() 89 public static java.time.Duration ofSeconds(long seconds) { in ofSeconds() 93 public static java.time.Duration ofSeconds(long seconds, long nanoAdjustment) { in ofSeconds() 97 public static java.time.Duration ofMillis(long millis) { in ofMillis() 101 public static java.time.Duration ofNanos(long nanos) { in ofNanos() [all …]
|
D | ZoneId.java | 63 package java.time; 74 public static java.time.ZoneId systemDefault() { in systemDefault() 82 public static java.time.ZoneId of( in of() 87 public static java.time.ZoneId of(java.lang.String zoneId) { in of() 91 public static java.time.ZoneId ofOffset(java.lang.String prefix, java.time.ZoneOffset offset) { in ofOffset() 96 static java.time.ZoneId of(java.lang.String zoneId, boolean checkAvailable) { in of() 100 private static java.time.ZoneId ofWithPrefix( in ofWithPrefix() 105 public static java.time.ZoneId from(java.time.temporal.TemporalAccessor temporal) { in from() 112 java.time.format.TextStyle style, java.util.Locale locale) { in getDisplayName() 116 private java.time.temporal.TemporalAccessor toTemporal() { in toTemporal() [all …]
|
/libcore/ojluni/src/test/java/time/tck/java/time/temporal/serial/ |
D | TCKChronoFieldSerialization.java | 57 package tck.java.time.temporal.serial; 59 import static java.time.temporal.ChronoField.ALIGNED_DAY_OF_WEEK_IN_MONTH; 60 import static java.time.temporal.ChronoField.ALIGNED_DAY_OF_WEEK_IN_YEAR; 61 import static java.time.temporal.ChronoField.ALIGNED_WEEK_OF_MONTH; 62 import static java.time.temporal.ChronoField.ALIGNED_WEEK_OF_YEAR; 63 import static java.time.temporal.ChronoField.AMPM_OF_DAY; 64 import static java.time.temporal.ChronoField.CLOCK_HOUR_OF_AMPM; 65 import static java.time.temporal.ChronoField.CLOCK_HOUR_OF_DAY; 66 import static java.time.temporal.ChronoField.DAY_OF_MONTH; 67 import static java.time.temporal.ChronoField.DAY_OF_WEEK; [all …]
|
D | TCKChronoUnitSerialization.java | 57 package tck.java.time.temporal.serial; 59 import static java.time.temporal.ChronoUnit.CENTURIES; 60 import static java.time.temporal.ChronoUnit.DAYS; 61 import static java.time.temporal.ChronoUnit.DECADES; 62 import static java.time.temporal.ChronoUnit.ERAS; 63 import static java.time.temporal.ChronoUnit.FOREVER; 64 import static java.time.temporal.ChronoUnit.HALF_DAYS; 65 import static java.time.temporal.ChronoUnit.HOURS; 66 import static java.time.temporal.ChronoUnit.MICROS; 67 import static java.time.temporal.ChronoUnit.MILLENNIA; [all …]
|
/libcore/ojluni/src/main/java/java/time/ |
D | OffsetTime.java | 62 package java.time; 64 import static java.time.LocalTime.NANOS_PER_HOUR; 65 import static java.time.LocalTime.NANOS_PER_MINUTE; 66 import static java.time.LocalTime.NANOS_PER_SECOND; 67 import static java.time.LocalTime.SECONDS_PER_DAY; 68 import static java.time.temporal.ChronoField.NANO_OF_DAY; 69 import static java.time.temporal.ChronoField.OFFSET_SECONDS; 70 import static java.time.temporal.ChronoUnit.NANOS; 78 import java.time.format.DateTimeFormatter; 79 import java.time.format.DateTimeParseException; [all …]
|
D | LocalDateTime.java | 62 package java.time; 64 import static java.time.LocalTime.HOURS_PER_DAY; 65 import static java.time.LocalTime.MICROS_PER_DAY; 66 import static java.time.LocalTime.MILLIS_PER_DAY; 67 import static java.time.LocalTime.MINUTES_PER_DAY; 68 import static java.time.LocalTime.NANOS_PER_DAY; 69 import static java.time.LocalTime.NANOS_PER_HOUR; 70 import static java.time.LocalTime.NANOS_PER_MINUTE; 71 import static java.time.LocalTime.NANOS_PER_SECOND; 72 import static java.time.LocalTime.SECONDS_PER_DAY; [all …]
|
D | DayOfWeek.java | 62 package java.time; 64 import static java.time.temporal.ChronoField.DAY_OF_WEEK; 65 import static java.time.temporal.ChronoUnit.DAYS; 67 import java.time.format.DateTimeFormatterBuilder; 68 import java.time.format.TextStyle; 69 import java.time.temporal.ChronoField; 70 import java.time.temporal.Temporal; 71 import java.time.temporal.TemporalAccessor; 72 import java.time.temporal.TemporalAdjuster; 73 import java.time.temporal.TemporalField; [all …]
|
D | Month.java | 62 package java.time; 64 import static java.time.temporal.ChronoField.MONTH_OF_YEAR; 65 import static java.time.temporal.ChronoUnit.MONTHS; 67 import java.time.chrono.Chronology; 68 import java.time.chrono.IsoChronology; 69 import java.time.format.DateTimeFormatterBuilder; 70 import java.time.format.TextStyle; 71 import java.time.temporal.ChronoField; 72 import java.time.temporal.Temporal; 73 import java.time.temporal.TemporalAccessor; [all …]
|
/libcore/ojluni/src/test/java/time/tck/java/time/temporal/ |
D | TCKChronoField.java | 57 package tck.java.time.temporal; 59 import static java.time.temporal.ChronoField.ALIGNED_DAY_OF_WEEK_IN_MONTH; 60 import static java.time.temporal.ChronoField.ALIGNED_DAY_OF_WEEK_IN_YEAR; 61 import static java.time.temporal.ChronoField.ALIGNED_WEEK_OF_MONTH; 62 import static java.time.temporal.ChronoField.ALIGNED_WEEK_OF_YEAR; 63 import static java.time.temporal.ChronoField.AMPM_OF_DAY; 64 import static java.time.temporal.ChronoField.CLOCK_HOUR_OF_DAY; 65 import static java.time.temporal.ChronoField.CLOCK_HOUR_OF_AMPM; 66 import static java.time.temporal.ChronoField.DAY_OF_MONTH; 67 import static java.time.temporal.ChronoField.DAY_OF_WEEK; [all …]
|
D | TCKChronoUnit.java | 57 package tck.java.time.temporal; 59 import static java.time.temporal.ChronoUnit.CENTURIES; 60 import static java.time.temporal.ChronoUnit.DAYS; 61 import static java.time.temporal.ChronoUnit.DECADES; 62 import static java.time.temporal.ChronoUnit.ERAS; 63 import static java.time.temporal.ChronoUnit.FOREVER; 64 import static java.time.temporal.ChronoUnit.HALF_DAYS; 65 import static java.time.temporal.ChronoUnit.HOURS; 66 import static java.time.temporal.ChronoUnit.MICROS; 67 import static java.time.temporal.ChronoUnit.MILLENNIA; [all …]
|
/libcore/ojluni/src/main/java/java/time/chrono/ |
D | Era.java | 62 package java.time.chrono; 64 import static java.time.temporal.ChronoField.ERA; 65 import static java.time.temporal.ChronoUnit.ERAS; 67 import java.time.DateTimeException; 68 import java.time.temporal.UnsupportedTemporalTypeException; 69 import java.time.format.DateTimeFormatterBuilder; 70 import java.time.format.TextStyle; 71 import java.time.temporal.ChronoField; 72 import java.time.temporal.Temporal; 73 import java.time.temporal.TemporalAccessor; [all …]
|
D | ChronoLocalDateTimeImpl.java | 62 package java.time.chrono; 64 import static java.time.temporal.ChronoField.EPOCH_DAY; 72 import java.time.LocalTime; 73 import java.time.ZoneId; 74 import java.time.temporal.ChronoField; 75 import java.time.temporal.ChronoUnit; 76 import java.time.temporal.Temporal; 77 import java.time.temporal.TemporalAdjuster; 78 import java.time.temporal.TemporalField; 79 import java.time.temporal.TemporalUnit; [all …]
|
D | ChronoLocalDateTime.java | 62 package java.time.chrono; 64 import static java.time.temporal.ChronoField.EPOCH_DAY; 65 import static java.time.temporal.ChronoField.NANO_OF_DAY; 66 import static java.time.temporal.ChronoUnit.FOREVER; 67 import static java.time.temporal.ChronoUnit.NANOS; 69 import java.time.DateTimeException; 70 import java.time.Instant; 71 import java.time.LocalDateTime; 72 import java.time.LocalTime; 73 import java.time.ZoneId; [all …]
|
D | ChronoZonedDateTime.java | 62 package java.time.chrono; 64 import static java.time.temporal.ChronoField.INSTANT_SECONDS; 65 import static java.time.temporal.ChronoField.OFFSET_SECONDS; 66 import static java.time.temporal.ChronoUnit.FOREVER; 67 import static java.time.temporal.ChronoUnit.NANOS; 69 import java.time.DateTimeException; 70 import java.time.Instant; 71 import java.time.LocalTime; 72 import java.time.ZoneId; 73 import java.time.ZoneOffset; [all …]
|
D | ChronoLocalDate.java | 62 package java.time.chrono; 64 import static java.time.temporal.ChronoField.EPOCH_DAY; 65 import static java.time.temporal.ChronoField.ERA; 66 import static java.time.temporal.ChronoField.YEAR; 67 import static java.time.temporal.ChronoUnit.DAYS; 69 import java.time.DateTimeException; 70 import java.time.LocalDate; 71 import java.time.LocalTime; 72 import java.time.format.DateTimeFormatter; 73 import java.time.temporal.ChronoField; [all …]
|
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/serial/ |
D | TCKChronoZonedDateTimeSerialization.java | 57 package tck.java.time.chrono.serial; 59 import java.time.LocalDate; 60 import java.time.ZoneId; 61 import java.time.ZonedDateTime; 62 import java.time.chrono.ChronoZonedDateTime; 63 import java.time.chrono.Chronology; 64 import java.time.chrono.HijrahChronology; 65 import java.time.chrono.IsoChronology; 66 import java.time.chrono.JapaneseChronology; 67 import java.time.chrono.MinguoChronology; [all …]
|
D | TCKChronoLocalDateTimeSerialization.java | 57 package tck.java.time.chrono.serial; 62 import java.time.LocalDate; 63 import java.time.LocalDateTime; 64 import java.time.chrono.ChronoLocalDateTime; 65 import java.time.chrono.Chronology; 66 import java.time.chrono.HijrahChronology; 67 import java.time.chrono.IsoChronology; 68 import java.time.chrono.JapaneseChronology; 69 import java.time.chrono.MinguoChronology; 70 import java.time.chrono.ThaiBuddhistChronology; [all …]
|
D | TCKEraSerialization.java | 60 package tck.java.time.chrono.serial; 63 import static java.time.temporal.ChronoField.DAY_OF_MONTH; 64 import static java.time.temporal.ChronoField.MONTH_OF_YEAR; 65 import static java.time.temporal.ChronoField.YEAR; 70 import java.time.chrono.ChronoLocalDate; 71 import java.time.chrono.Era; 72 import java.time.chrono.HijrahEra; 73 import java.time.chrono.IsoEra; 74 import java.time.chrono.JapaneseEra; 75 import java.time.chrono.MinguoEra; [all …]
|
/libcore/ojluni/src/test/java/time/test/java/time/format/ |
D | TestDateTimeFormatter.java | 60 package test.java.time.format; 62 import static java.time.temporal.ChronoField.DAY_OF_MONTH; 67 import java.time.DateTimeException; 68 import java.time.DayOfWeek; 69 import java.time.Instant; 70 import java.time.LocalDate; 71 import java.time.LocalDateTime; 72 import java.time.LocalTime; 73 import java.time.Month; 74 import java.time.MonthDay; [all …]
|
/libcore/luni/src/test/java/libcore/java/time/zone/ |
D | ZoneOffsetTransitionTest.java | 16 package libcore.java.time.zone; 19 import java.time.LocalDateTime; 20 import java.time.Month; 21 import java.time.OffsetDateTime; 22 import java.time.ZoneOffset; 23 import java.time.zone.ZoneOffsetTransition; 36 LocalDateTime time = LocalDateTime.of(2000, Month.JANUARY, 1, 0, 0); in test_toEpochSeconds() local 39 ZoneOffsetTransition transition = ZoneOffsetTransition.of(time, in test_toEpochSeconds() 43 OffsetDateTime.of(time, offsetP1).toEpochSecond(), in test_toEpochSeconds()
|
/libcore/ojluni/src/main/java/java/time/format/ |
D | Parsed.java | 62 package java.time.format; 64 import static java.time.temporal.ChronoField.AMPM_OF_DAY; 65 import static java.time.temporal.ChronoField.CLOCK_HOUR_OF_AMPM; 66 import static java.time.temporal.ChronoField.CLOCK_HOUR_OF_DAY; 67 import static java.time.temporal.ChronoField.HOUR_OF_AMPM; 68 import static java.time.temporal.ChronoField.HOUR_OF_DAY; 69 import static java.time.temporal.ChronoField.INSTANT_SECONDS; 70 import static java.time.temporal.ChronoField.MICRO_OF_DAY; 71 import static java.time.temporal.ChronoField.MICRO_OF_SECOND; 72 import static java.time.temporal.ChronoField.MILLI_OF_DAY; [all …]
|
/libcore/ojluni/src/main/java/java/time/zone/ |
D | ZoneOffsetTransitionRule.java | 62 package java.time.zone; 64 import static java.time.temporal.TemporalAdjusters.nextOrSame; 65 import static java.time.temporal.TemporalAdjusters.previousOrSame; 73 import java.time.DayOfWeek; 74 import java.time.LocalDate; 75 import java.time.LocalDateTime; 76 import java.time.LocalTime; 77 import java.time.Month; 78 import java.time.ZoneOffset; 79 import java.time.chrono.IsoChronology; [all …]
|
/libcore/ojluni/src/test/java/time/test/java/time/temporal/ |
D | MockFieldNoValue.java | 60 package test.java.time.temporal; 62 import static java.time.temporal.ChronoUnit.MONTHS; 63 import static java.time.temporal.ChronoUnit.WEEKS; 65 import java.time.DateTimeException; 66 import java.time.temporal.Temporal; 67 import java.time.temporal.TemporalAccessor; 68 import java.time.temporal.TemporalField; 69 import java.time.temporal.TemporalUnit; 70 import java.time.temporal.ValueRange;
|
/libcore/ojluni/src/main/java/java/time/temporal/ |
D | TemporalUnit.java | 62 package java.time.temporal; 64 import java.time.DateTimeException; 65 import java.time.Duration; 66 import java.time.LocalTime; 67 import java.time.Period; 68 import java.time.chrono.ChronoLocalDate; 69 import java.time.chrono.ChronoLocalDateTime; 70 import java.time.chrono.ChronoZonedDateTime;
|