Searched defs:UTC (Results 1 - 6 of 6) sorted by relevance
/libcore/luni/src/test/java/libcore/java/util/ |
H A D | SimpleTimeZoneTest.java | 41 private static final TimeZone UTC = TimeZone.getTimeZone("UTC"); field in class:SimpleTimeZoneTest 270 String actualUtcEntryTime = formatTime(UTC, simpleTransitions[0]); 272 String actualUtcExitTime = formatTime(UTC, simpleTransitions[1]);
|
/libcore/ojluni/src/main/java/java/time/ |
H A D | ZoneOffset.java | 91 * A time-zone offset from Greenwich/UTC, such as {@code +02:00}. 93 * A time-zone offset is the amount of time that a time-zone differs from Greenwich/UTC. 100 * For example, Paris is one hour ahead of Greenwich/UTC in winter and two hours 143 * The time-zone offset for UTC, with an ID of 'Z'. 145 public static final ZoneOffset UTC = ZoneOffset.ofTotalSeconds(0); field in class:ZoneOffset 172 * <li>{@code Z} - for UTC 477 * <li>{@code Z} - for UTC (ISO-8601)
|
/libcore/ojluni/src/main/java/java/time/zone/ |
H A D | ZoneOffsetTransitionRule.java | 438 * the wall offset or UTC. 581 * <li>Relative to UTC</li> 587 /** The local date-time is expressed in terms of the UTC offset. */ 588 UTC, enum constant in enum:ZoneOffsetTransitionRule.TimeDefinition 601 * The UTC type uses the UTC offset. 613 case UTC: { 614 int difference = wallOffset.getTotalSeconds() - ZoneOffset.UTC.getTotalSeconds();
|
/libcore/ojluni/src/main/java/java/util/ |
H A D | TimeZone.java | 170 private static final TimeZone UTC = new SimpleTimeZone(0, "UTC"); field in class:TimeZone 174 * daylight savings. This is the offset to add to UTC to get local time. 199 * Returns the offset of this time zone from UTC at the specified 209 * @return the amount of time in milliseconds to add to UTC to get local time. 253 * This is the offset to add to UTC to get local time. 266 * Returns the amount of time in milliseconds to add to UTC to get 278 * @return the amount of raw offset time in milliseconds to add to UTC. 424 * Returns a string representation of an offset from UTC. 431 * @param offsetMillis the offset from UTC [all...] |
H A D | Date.java | 58 * coordinated universal time (UTC), it may not do so exactly, 62 * in all cases. In UTC, however, about once every year or two there 74 * distinction between UTC and UT is that UTC is based on an atomic 79 * seconds are introduced as needed into UTC so as to keep UTC within 83 * global positioning system (GPS) is synchronized to UTC but is 153 * and read only the UTC time. 297 * to UTC rather than to the local time zone. The time indicated is 313 * month, date, hrs, min, sec)</code>, using a UTC 317 public static long UTC(int year, int month, int date, method in class:Date [all...] |
/libcore/luni/src/test/java/libcore/java/text/ |
H A D | SimpleDateFormatTest.java | 34 private static final TimeZone UTC = TimeZone.getTimeZone("Etc/UTC"); field in class:SimpleDateFormatTest 37 * The list of time zone ids formatted as "UTC". 40 "Etc/UCT", "Etc/UTC", "Etc/Universal", "Etc/Zulu", "UCT", "UTC", "Universal", "Zulu" 62 sdf.setTimeZone(UTC); 71 sdf.setTimeZone(UTC); 201 format.setTimeZone(UTC); 216 return formatDate(l, fmt, UTC); 227 sdf.setTimeZone(UTC); [all...] |
Completed in 145 milliseconds