Searched refs:normalized (Results 1 - 12 of 12) sorted by relevance

/libcore/ojluni/src/main/java/sun/util/calendar/
H A DCalendarDate.java51 * <code>CalendarDate</code> to <I>not normalized</I>. The
80 private boolean normalized; field in class:CalendarDate
118 normalized = false;
129 normalized = false;
137 normalized = false;
148 * <p>If this <code>CalendarDate</code> hasn't been normalized,
153 * normalized and the year of this <code>CalendarDate</code> is a
172 normalized = false;
180 normalized = false;
192 normalized
486 setNormalized(boolean normalized) argument
[all...]
H A DImmutableGregorianDate.java227 protected void setNormalized(boolean normalized) { argument
/libcore/ojluni/src/main/java/sun/util/locale/
H A DBaseLocale.java171 private final boolean normalized; field in class:BaseLocale.Key
175 * Creates a Key. language and region must be normalized
186 this.normalized = true;
203 String variant, boolean normalized) {
242 this.normalized = normalized;
277 if (key.normalized) {
202 Key(String language, String script, String region, String variant, boolean normalized) argument
/libcore/ojluni/src/main/java/java/io/
H A DUnixFileSystem.java67 char[] normalized = pathname.toCharArray();
71 char current = normalized[i];
74 normalized[index++] = current;
85 return (index != n) ? new String(normalized, 0, index) : pathname;
93 // Invariant: Both |parent| and |child| are normalized paths.
/libcore/ojluni/src/main/java/java/time/chrono/
H A DChronoPeriod.java261 * Returns a copy of this period with the amounts of each unit normalized.
265 * normalized but the days are not, such that "15 months" would be
266 * normalized to "1 year and 3 months".
271 * unit normalized, not null
274 ChronoPeriod normalized(); method in interface:ChronoPeriod
H A DChronoPeriodImpl.java228 public ChronoPeriod normalized() { method in class:ChronoPeriodImpl
/libcore/ojluni/src/test/java/time/tck/java/time/
H A DTCKZoneId.java191 // regular factory and .normalized()
234 assertEquals(test.normalized(), ZoneOffset.of(id));
282 assertEquals(test.normalized(), ZoneOffset.of(offsetId));
293 assertEquals(test.normalized(), ZoneOffset.of(offsetId));
304 assertEquals(test.normalized(), ZoneOffset.of(offsetId));
401 assertEquals(test.normalized(), ZoneOffset.of(offsetId));
487 assertEquals(test.normalized(), test);
H A DTCKPeriod.java960 // normalized()
962 @DataProvider(name="normalized")
1005 @Test(dataProvider="normalized")
1007 assertPeriod(Period.of(inputYears, inputMonths, 0).normalized(), expectedYears, expectedMonths, 0);
1010 @Test(dataProvider="normalized")
1012 assertPeriod(Period.of(inputYears, inputMonths, 5).normalized(), expectedYears, expectedMonths, 5);
1018 base.normalized();
1024 base.normalized();
/libcore/ojluni/src/test/java/time/tck/java/time/serial/
H A DTCKZoneIdSerialization.java104 // getId, equals, hashCode, toString and normalized are OK
109 assertEquals(deser.normalized(), deser);
186 // regular factory and .normalized()
/libcore/ojluni/src/main/java/java/time/
H A DZoneId.java102 * Calling {@link #normalized()} on any {@code ZoneId} will ensure that a
125 * The offset is the suffix and will be normalized during creation.
126 * These IDs can be normalized to a {@code ZoneOffset} using {@code normalized()}.
160 * {@code hashCode}, {@code toString}, {@code getDisplayName} and {@code normalized}.
335 * and the normalized offset ID as per {@link ZoneOffset#getId()}.
561 * The returns a normalized {@code ZoneId} that can be used in place of this ID.
571 public ZoneId normalized() { method in class:ZoneId
H A DPeriod.java499 * The months unit is not automatically normalized with the years unit.
514 * The months unit is not automatically normalized with the years unit.
542 * The months unit is not automatically normalized with the years unit.
564 * The months unit is not automatically normalized with the years unit.
811 * Returns a copy of this period with the years and months normalized.
816 * "1 Year and 15 months" will be normalized to "2 years and 3 months".
819 * For example, a period of "1 year and -25 months" will be normalized to
824 * @return a {@code Period} based on this period with excess months normalized to years, not null
827 public Period normalized() { method in class:Period
/libcore/ojluni/src/main/java/java/time/format/
H A DDateTimePrintContext.java153 if (overrideZone.normalized() instanceof ZoneOffset && temporal.isSupported(OFFSET_SECONDS) &&

Completed in 279 milliseconds