Searched refs:ofHoursMinutes (Results 1 – 9 of 9) sorted by relevance
/libcore/ojluni/src/test/java/time/test/java/time/format/ |
D | TestZoneOffsetPrinter.java | 87 {"+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()
|
D | TestZoneOffsetParser.java | 166 {"+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()
|
D | TestDateTimeParsing.java | 91 private static final ZoneOffset OFFSET_0230 = ZoneOffset.ofHoursMinutes(2, 30);
|
/libcore/ojluni/src/test/java/time/tck/java/time/serial/ |
D | TCKZoneOffsetSerialization.java | 91 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/ |
D | TCKZoneOffset.java | 321 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/ |
D | TCKZoneIdPrinterParser.java | 89 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()
|
D | TCKOffsetPrinterParser.java | 85 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/ |
D | TCKZoneOffsetTransition.java | 82 private static final ZoneOffset OFFSET_0230 = ZoneOffset.ofHoursMinutes(2, 30);
|
/libcore/ojluni/src/main/java/java/time/ |
D | ZoneOffset.java | 293 public static ZoneOffset ofHoursMinutes(int hours, int minutes) { in ofHoursMinutes() method in ZoneOffset
|