/external/icu/android_icu4j/src/main/java/android/icu/impl/duration/impl/ |
PeriodFormatterData.java | 656 } else if (unit == TimeUnit.YEAR && val > 11) {
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
MeasureUnit.java | 607 * Constant for unit of duration: year 609 public static final TimeUnit YEAR = (TimeUnit) MeasureUnit.internalGetInstance("duration", "year"); 722 * Constant for unit of length: light-year 724 public static final MeasureUnit LIGHT_YEAR = MeasureUnit.internalGetInstance("length", "light-year"); [all...] |
/external/icu/icu4c/source/i18n/unicode/ |
calendar.h | 57 * <code>YEAR</code>, <code>MONTH</code>, <code>DAY</code>, <code>HOUR</code>, 93 * <code>UDate</code> (such as only year and month but no day in the month), 102 * start of the epoch: i.e., YEAR = 1970, MONTH = JANUARY, DATE = 1, etc. 153 * specification of the historial Arabic astronomical calendar requires year, 220 YEAR, // Example: 1..big number 236 YEAR_WOY, // 'Y' Example: 1..big number - Year of Week of Year 546 * starting with 100 BC and adding +1 to year results in 99 BC (even though this actually reduces 568 * starting with 100 BC and adding +1 to year results in 99 BC (even though this actually reduces 586 * roll(Calendar::DATE, true). When rolling on the year or Calendar::YEAR field, i [all...] |
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/calendar/ |
CalendarCalc.java | 93 new RollAddField(Calendar.YEAR, "Year" ), 96 new RollAddField(Calendar.WEEK_OF_YEAR, "Week of Year" ), 100 new RollAddField(Calendar.DAY_OF_YEAR, "Day of Year" ),
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/impl/ |
PeriodFormatterData.java | 654 } else if (unit == TimeUnit.YEAR && val > 11) {
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
MeasureUnit.java | 662 * Constant for unit of duration: year 665 public static final TimeUnit YEAR = (TimeUnit) MeasureUnit.internalGetInstance("duration", "year"); 800 * Constant for unit of length: light-year 803 public static final MeasureUnit LIGHT_YEAR = MeasureUnit.internalGetInstance("length", "light-year"); [all...] |
/libcore/ojluni/src/main/java/java/time/chrono/ |
HijrahChronology.java | 201 * <td>The ISO date of the first day of the minimum Hijrah year.</td> 204 * <td>yyyy - a numeric 4 digit year, for example "1434"</td> 207 * <td>The lengths of the 12 months of the year separated by whitespace. 208 * A numeric year property must be present for every year without any gaps. 273 * The minimum length of a year in days. 278 * The maximum length of a year in days. 426 * era, year-of-era, month-of-year and day-of-month fields. 429 * @param yearOfEra the year-of-er 649 int year = epochMonthToYear(epochMonth); local 930 int year = Integer.valueOf(key); local [all...] |
/libcore/ojluni/src/test/java/time/tck/java/time/ |
TCKMonth.java | 185 assertEquals(Month.AUGUST.isSupported(ChronoField.YEAR), false);
|
TCKZonedDateTime.java | 91 import static java.time.temporal.ChronoField.YEAR; 115 import java.time.Year; 208 YEAR, 504 int year = Year.MIN_VALUE; 505 long days = (year * 365L + (year / 4 - year / 100 + year / 400)) - days_0000_to_1970; 508 assertEquals(test.getYear(), Year.MIN_VALUE) [all...] |
TCKLocalDateTime.java | 88 import static java.time.temporal.ChronoField.YEAR; 122 import java.time.Year; 211 YEAR, 241 private LocalDateTime createDateMidnight(int year, int month, int day) { 242 return LocalDateTime.of(year, month, day, 0, 0); 250 check(LocalDateTime.MIN, Year.MIN_VALUE, 1, 1, 0, 0, 0, 0); 255 check(LocalDateTime.MAX, Year.MAX_VALUE, 12, 31, 23, 59, 59, 999999999); 766 {OffsetDateTime.of(LocalDateTime.of(Year.MIN_VALUE, 1, 1, 0, 0), ZoneOffset.UTC).toInstant(), 768 {OffsetDateTime.of(LocalDateTime.of(Year.MAX_VALUE, 12, 31, 23, 59, 59, 999_999_999), ZoneOffset.UTC).toInstant(), [all...] |
TCKOffsetTime.java | 547 assertEquals(TEST_11_30_59_500_PONE.isSupported(ChronoField.YEAR), false); [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/serializable/ |
FormatHandler.java | [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/ |
FormatHandler.java | [all...] |
/hardware/interfaces/automotive/vehicle/2.0/ |
types.hal | 138 * Model year of vehicle. 142 * @unit VehicleUnit:YEAR [all...] |
/frameworks/base/services/core/java/com/android/server/content/ |
SyncStorageEngine.java | [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
DateFormatRegressionTest.java | 398 two y's, typically resulting in a date in the year 1919. 401 four-digit year values (probably also applicable to various 781 * DateFormat shouldn't parse year "-1" as a two-digit year (e.g., "-1" . 1999). 787 /* We expect 2-digit year formats to put 2-digit years in the right 962 int year = cal.get(Calendar.YEAR); local [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/ |
TimeZoneRuleTest.java | 142 offset = rbtz1.getOffset(cal.get(Calendar.ERA), cal.get(Calendar.YEAR), cal.get(Calendar.MONTH), 163 offset = rbtz1.getOffset(cal.get(Calendar.ERA), cal.get(Calendar.YEAR), cal.get(Calendar.MONTH), [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
DateFormatRegressionTest.java | 397 two y's, typically resulting in a date in the year 1919. 400 four-digit year values (probably also applicable to various 780 * DateFormat shouldn't parse year "-1" as a two-digit year (e.g., "-1" . 1999). 786 /* We expect 2-digit year formats to put 2-digit years in the right 961 int year = cal.get(Calendar.YEAR); local [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/ |
TimeZoneRuleTest.java | 141 offset = rbtz1.getOffset(cal.get(Calendar.ERA), cal.get(Calendar.YEAR), cal.get(Calendar.MONTH), 162 offset = rbtz1.getOffset(cal.get(Calendar.ERA), cal.get(Calendar.YEAR), cal.get(Calendar.MONTH), [all...] |
/external/syslinux/core/ |
pxelinux.asm | 556 asciidec YEAR
|
/frameworks/base/core/java/android/service/notification/ |
ZenModeConfig.java | [all...] |
/libcore/ojluni/src/main/java/java/time/format/ |
DateTimeFormatterBuilder.java | 79 import static java.time.temporal.ChronoField.YEAR; 345 * For example, consider a formatter that parses the year, followed by 348 * year-month or just a year had been parsed. This method can be used to 419 * For example, consider {@code builder.appendValue(YEAR).appendValue(MONTH_OF_YEAR, 2);} 420 * The year is a variable width parse of between 1 and 19 digits. 423 * the year parser will reserve two digits for the month to parse. 424 * Thus, the text '201106' will correctly parse to a year of 2011 and a month of 6. 425 * Without adjacent value parsing, the year would greedily parse all six digits and leave 511 * Since fields such as year vary by chronology, it is recommended to use th 3282 int year = (int) yearParsed % 10_000; local [all...] |
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
BatteryHistoryChart.java | [all...] |
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/ |
Tool.java | [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/duration/ |
LanguageTestFmwk.java | 44 TimeUnit.YEAR, TimeUnit.MONTH, TimeUnit.WEEK, TimeUnit.DAY, TimeUnit.HOUR,
|