Home
last modified time | relevance | path

Searched refs:ofHoursMinutes (Results 1 – 9 of 9) sorted by relevance

/libcore/ojluni/src/test/java/time/test/java/time/format/
DTestZoneOffsetPrinter.java87 {"+HHMM", "+0102", ZoneOffset.ofHoursMinutes(1, 2)}, in provider_offsets()
88 {"+HHMM", "-0102", ZoneOffset.ofHoursMinutes(-1, -2)}, in provider_offsets()
91 {"+HH:MM", "+01:02", ZoneOffset.ofHoursMinutes(1, 2)}, in provider_offsets()
92 {"+HH:MM", "-01:02", ZoneOffset.ofHoursMinutes(-1, -2)}, in provider_offsets()
DTestZoneOffsetParser.java166 {"+HHMM", "+0102", ZoneOffset.ofHoursMinutes(1, 2)}, in provider_offsets()
167 {"+HHMM", "-0102", ZoneOffset.ofHoursMinutes(-1, -2)}, in provider_offsets()
171 {"+HH:MM", "+01:02", ZoneOffset.ofHoursMinutes(1, 2)}, in provider_offsets()
172 {"+HH:MM", "-01:02", ZoneOffset.ofHoursMinutes(-1, -2)}, in provider_offsets()
DTestDateTimeParsing.java91 private static final ZoneOffset OFFSET_0230 = ZoneOffset.ofHoursMinutes(2, 30);
/libcore/ojluni/src/test/java/time/tck/java/time/serial/
DTCKZoneOffsetSerialization.java91 assertSerializedBySer(ZoneOffset.ofHoursMinutes(1, 30), bytes); in test_serialization_format_quarterPositive()
102 assertSerializedBySer(ZoneOffset.ofHoursMinutes(-2, -30), bytes); in test_serialization_format_quarterNegative()
/libcore/ojluni/src/test/java/time/tck/java/time/
DTCKZoneOffset.java321 ZoneOffset test = ZoneOffset.ofHoursMinutes(i, j); in test_factory_int_hours_minutes()
326 ZoneOffset test1 = ZoneOffset.ofHoursMinutes(-18, 0); in test_factory_int_hours_minutes()
328 ZoneOffset test2 = ZoneOffset.ofHoursMinutes(18, 0); in test_factory_int_hours_minutes()
334 ZoneOffset.ofHoursMinutes(19, 0); in test_factory_int_hours_minutes_tooBig()
339 ZoneOffset.ofHoursMinutes(-19, 0); in test_factory_int_hours_minutes_tooSmall()
659 assertEquals(offset, ZoneOffset.ofHoursMinutes(hours, minutes));
/libcore/ojluni/src/test/java/time/tck/java/time/format/
DTCKZoneIdPrinterParser.java89 private static final ZoneOffset OFFSET_P0123 = ZoneOffset.ofHoursMinutes(1, 23);
169 {"+01:30", 6, -1, ZoneOffset.ofHoursMinutes(1, 30)}, in data_parseSuccess()
173 {"-01:30", 6, -1, ZoneOffset.ofHoursMinutes(-1, -30)}, in data_parseSuccess()
DTCKOffsetPrinterParser.java85 private static final ZoneOffset OFFSET_P0123 = ZoneOffset.ofHoursMinutes(1, 23);
86 private static final ZoneOffset OFFSET_P0023 = ZoneOffset.ofHoursMinutes(0, 23);
90 private static final ZoneOffset OFFSET_M0123 = ZoneOffset.ofHoursMinutes(-1, -23);
91 private static final ZoneOffset OFFSET_M0023 = ZoneOffset.ofHoursMinutes(0, -23);
/libcore/ojluni/src/test/java/time/tck/java/time/zone/
DTCKZoneOffsetTransition.java82 private static final ZoneOffset OFFSET_0230 = ZoneOffset.ofHoursMinutes(2, 30);
/libcore/ojluni/src/main/java/java/time/
DZoneOffset.java293 public static ZoneOffset ofHoursMinutes(int hours, int minutes) { in ofHoursMinutes() method in ZoneOffset