Searched refs:ofTotalSeconds (Results 1 – 17 of 17) sorted by relevance
/libcore/ojluni/src/main/java/java/time/ |
D | ZoneOffset.java | 145 public static final ZoneOffset UTC = ZoneOffset.ofTotalSeconds(0); 149 public static final ZoneOffset MIN = ZoneOffset.ofTotalSeconds(-MAX_SECONDS); 153 public static final ZoneOffset MAX = ZoneOffset.ofTotalSeconds(MAX_SECONDS); 313 return ofTotalSeconds(totalSeconds); in ofHoursMinutesSeconds() 407 public static ZoneOffset ofTotalSeconds(int totalSeconds) { in ofTotalSeconds() method in ZoneOffset 790 …return (offsetByte == 127 ? ZoneOffset.ofTotalSeconds(in.readInt()) : ZoneOffset.ofTotalSeconds(of…
|
D | OffsetTime.java | 725 return with(time, ZoneOffset.ofTotalSeconds(f.checkValidIntValue(newValue))); in with()
|
D | OffsetDateTime.java | 967 … return with(dateTime, ZoneOffset.ofTotalSeconds(f.checkValidIntValue(newValue))); in with()
|
D | ZonedDateTime.java | 1302 ZoneOffset offset = ZoneOffset.ofTotalSeconds(f.checkValidIntValue(newValue)); in with()
|
/libcore/ojluni/src/main/java/java/time/zone/ |
D | ZoneOffsetTransitionRule.java | 352 …ZoneOffset std = (stdByte == 255 ? ZoneOffset.ofTotalSeconds(in.readInt()) : ZoneOffset.ofTotalSec… in readExternal() 353 …neOffset before = (beforeByte == 3 ? ZoneOffset.ofTotalSeconds(in.readInt()) : ZoneOffset.ofTotalS… in readExternal() 354 …ZoneOffset after = (afterByte == 3 ? ZoneOffset.ofTotalSeconds(in.readInt()) : ZoneOffset.ofTotalS… in readExternal()
|
D | Ser.java | 239 …return (offsetByte == 127 ? ZoneOffset.ofTotalSeconds(in.readInt()) : ZoneOffset.ofTotalSeconds(of… in readOffset()
|
D | IcuZoneRulesProvider.java | 292 return ZoneOffset.ofTotalSeconds((int) TimeUnit.MILLISECONDS.toSeconds(offset)); in millisToOffset()
|
/libcore/ojluni/src/test/java/time/test/java/time/ |
D | TestZoneOffset.java | 81 assertSame(ZoneOffset.ofTotalSeconds(0), ZoneOffset.UTC); in test_factory_ofTotalSecondsSame()
|
/libcore/ojluni/src/test/java/time/tck/java/time/ |
D | TCKZoneOffset.java | 425 … assertEquals(ZoneOffset.ofTotalSeconds(60 * 60 + 1), ZoneOffset.ofHoursMinutesSeconds(1, 0, 1)); in test_factory_ofTotalSeconds() 426 assertEquals(ZoneOffset.ofTotalSeconds(18 * 60 * 60), ZoneOffset.ofHours(18)); in test_factory_ofTotalSeconds() 427 assertEquals(ZoneOffset.ofTotalSeconds(-18 * 60 * 60), ZoneOffset.ofHours(-18)); in test_factory_ofTotalSeconds() 432 ZoneOffset.ofTotalSeconds(18 * 60 * 60 + 1); in test_factory_ofTotalSeconds_tooLarge() 437 ZoneOffset.ofTotalSeconds(-18 * 60 * 60 - 1); in test_factory_ofTotalSeconds_tooSmall() 464 ZoneOffset offset = ZoneOffset.ofTotalSeconds(60 * 60 + 1); in test_getTotalSeconds()
|
D | TCKZoneId.java | 363 ZoneId.ofOffset(null, ZoneOffset.ofTotalSeconds(1)); in test_nullPrefixOfOffset()
|
D | TCKOffsetTime.java | 1296 …OffsetTime a = OffsetTime.of(11, 30, 59, 4, ZoneOffset.ofTotalSeconds(OFFSET_PONE.getTotalSeconds(…
|
D | TCKZonedDateTime.java | 1357 assertEquals(base.with(ZoneOffset.ofTotalSeconds(setValue)), expected);
|
/libcore/ojluni/src/test/java/time/tck/java/time/serial/ |
D | TCKZoneOffsetSerialization.java | 114 assertSerializedBySer(ZoneOffset.ofTotalSeconds(53265), bytes); in test_serialization_format_full()
|
/libcore/ojluni/src/main/java/java/time/temporal/ |
D | TemporalQueries.java | 365 return ZoneOffset.ofTotalSeconds(temporal.get(OFFSET_SECONDS));
|
/libcore/ojluni/src/main/java/java/time/format/ |
D | Parsed.java | 335 ZoneOffset offset = ZoneOffset.ofTotalSeconds(offsetSecs.intValue()); in resolveInstantFields() 595 ZoneOffset offset = ZoneOffset.ofTotalSeconds(offsetSecs.intValue()); in resolveInstant()
|
D | DateTimeFormatterBuilder.java | 4000 ZoneOffset zoneOffset = ZoneOffset.ofTotalSeconds(offset); in parseOffsetBased()
|
/libcore/ojluni/src/main/java/java/time/chrono/ |
D | ChronoZonedDateTimeImpl.java | 290 ZoneOffset offset = ZoneOffset.ofTotalSeconds(f.checkValidIntValue(newValue)); in with()
|