Home
last modified time | relevance | path

Searched refs:ofTotalSeconds (Results 1 – 17 of 17) sorted by relevance

/libcore/ojluni/src/main/java/java/time/
DZoneOffset.java145 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…
DOffsetTime.java725 return with(time, ZoneOffset.ofTotalSeconds(f.checkValidIntValue(newValue))); in with()
DOffsetDateTime.java967 … return with(dateTime, ZoneOffset.ofTotalSeconds(f.checkValidIntValue(newValue))); in with()
DZonedDateTime.java1302 ZoneOffset offset = ZoneOffset.ofTotalSeconds(f.checkValidIntValue(newValue)); in with()
/libcore/ojluni/src/main/java/java/time/zone/
DZoneOffsetTransitionRule.java352 …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()
DSer.java239 …return (offsetByte == 127 ? ZoneOffset.ofTotalSeconds(in.readInt()) : ZoneOffset.ofTotalSeconds(of… in readOffset()
DIcuZoneRulesProvider.java292 return ZoneOffset.ofTotalSeconds((int) TimeUnit.MILLISECONDS.toSeconds(offset)); in millisToOffset()
/libcore/ojluni/src/test/java/time/test/java/time/
DTestZoneOffset.java81 assertSame(ZoneOffset.ofTotalSeconds(0), ZoneOffset.UTC); in test_factory_ofTotalSecondsSame()
/libcore/ojluni/src/test/java/time/tck/java/time/
DTCKZoneOffset.java425 … 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()
DTCKZoneId.java363 ZoneId.ofOffset(null, ZoneOffset.ofTotalSeconds(1)); in test_nullPrefixOfOffset()
DTCKOffsetTime.java1296 …OffsetTime a = OffsetTime.of(11, 30, 59, 4, ZoneOffset.ofTotalSeconds(OFFSET_PONE.getTotalSeconds(…
DTCKZonedDateTime.java1357 assertEquals(base.with(ZoneOffset.ofTotalSeconds(setValue)), expected);
/libcore/ojluni/src/test/java/time/tck/java/time/serial/
DTCKZoneOffsetSerialization.java114 assertSerializedBySer(ZoneOffset.ofTotalSeconds(53265), bytes); in test_serialization_format_full()
/libcore/ojluni/src/main/java/java/time/temporal/
DTemporalQueries.java365 return ZoneOffset.ofTotalSeconds(temporal.get(OFFSET_SECONDS));
/libcore/ojluni/src/main/java/java/time/format/
DParsed.java335 ZoneOffset offset = ZoneOffset.ofTotalSeconds(offsetSecs.intValue()); in resolveInstantFields()
595 ZoneOffset offset = ZoneOffset.ofTotalSeconds(offsetSecs.intValue()); in resolveInstant()
DDateTimeFormatterBuilder.java4000 ZoneOffset zoneOffset = ZoneOffset.ofTotalSeconds(offset); in parseOffsetBased()
/libcore/ojluni/src/main/java/java/time/chrono/
DChronoZonedDateTimeImpl.java290 ZoneOffset offset = ZoneOffset.ofTotalSeconds(f.checkValidIntValue(newValue)); in with()