HomeSort by relevance Sort by last modified time
    Searched refs:YEAR (Results 26 - 50 of 462) sorted by null

12 3 4 5 6 7 8 91011>>

  /external/icu/android_icu4j/src/main/java/android/icu/util/
BuddhistCalendar.java 23 * except for the year and era. Years are numbered since the birth of the
136 * @param year The value used to set the calendar's {@link #YEAR YEAR} time field.
143 public BuddhistCalendar(int year, int month, int date) {
144 super(year, month, date);
151 * @param year The value used to set the calendar's {@link #YEAR YEAR} time field.
164 public BuddhistCalendar(int year, int month, int date, int hour
188 int year; local
    [all...]
GregorianCalendar.java 34 * and the Julian calendar is the leap year rule. The Julian calendar specifies
45 * leap year rules were applied irregularly, and before 45 BC the Julian
48 * <p>Prior to the institution of the Gregorian calendar, New Year's Day was
54 * 53. Week 1 for a year is the earliest seven day period starting on
56 * <code>getMinimalDaysInFirstWeek()</code> days from that year. It thus
59 * Weeks between week 1 of one year and week 1 of the following year are
76 * week 1 of a year, week 1 of a month may be shorter than 7 days, need
117 * System.out.println("YEAR: " + calendar.get(Calendar.YEAR));
789 int year; local
    [all...]
JapaneseCalendar.java 18 * except for the year and era. The ascension of each emperor to the throne
20 * year of ascension as year 1.
22 * Note that in the year of an imperial ascension, there are two possible sets
23 * of year and era values: that for the old era and for the new. For example, a
25 * of that year were in the Showa era, e.g. "January 6, 64 Showa", while the rest
26 * of the year was in the Heisei era, e.g. "January 7, 1 Heisei". This class
141 * @param year The value used to set the calendar's {@link #YEAR YEAR} field
208 int year; local
268 int year = internalGet(EXTENDED_YEAR); local
    [all...]
HebrewCalendar.java 26 * solar year (approximately 365.24 days) is not an even multiple of
29 * interesting, the start of a year can be delayed by up to three days
31 * to prevent certain illegal year lengths. Finally, the lengths of certain
32 * months can vary depending on the number of days in the year.
36 * not come at the end of the year, calculations involving
86 * Constant for Tishri, the 1st month of the Hebrew year.
91 * Constant for Heshvan, the 2nd month of the Hebrew year.
96 * Constant for Kislev, the 3rd month of the Hebrew year.
101 * Constant for Tevet, the 4th month of the Hebrew year.
106 * Constant for Shevat, the 5th month of the Hebrew year.
436 int year = get(YEAR); local
516 int year = get(YEAR); local
771 int year = (int)((19 * m + 234) \/ 235) + 1; \/\/ Years (approx) local
808 int year; local
    [all...]
EthiopicCalendar.java 34 * Constant for ?????, the 1st month of the Ethiopic year.
39 * Constant for ????, the 2nd month of the Ethiopic year.
44 * Constant for ???, the 3rd month of the Ethiopic year.
49 * Constant for ????, the 4th month of the Ethiopic year.
54 * Constant for ??, the 5th month of the Ethiopic year.
59 * Constant for ????, the 6th month of the Ethiopic year.
64 * Constant for ????, the 7th month of the Ethiopic year.
69 * Constant for ????, the 8th month of the Ethiopic year.
74 * Constant for ????, the 9th month of the Ethiopic year.
79 * Constant for ??, the 10th month of the Ethiopic year.
303 int era, year; local
    [all...]
PersianCalendar.java 24 * in various ways, except its leap year rule, which is determined
25 * astronomically. The Persian year starts around the March equinox.
35 * The official rule for determination of the beginning of the Persian year
42 * expected that for about one year in every twenty-four years, the Afghan
47 * here, commonly known as the 33-year cycle rule, matches the astronomical
50 * commonly known algorithm, the 2820-year cycle, has been incorrectly
51 * designed to follow the tropical year instead of the spring equinoctial
52 * year, and fails to match the astronomical one as early as 2025 CE.
92 // len2 length of month in a leap year
93 // st days in year before start of mont
394 int year; local
422 int year, month, dayOfMonth, dayOfYear; local
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
BuddhistCalendar.java 22 * except for the year and era. Years are numbered since the birth of the
144 * @param year The value used to set the calendar's {@link #YEAR YEAR} time field.
152 public BuddhistCalendar(int year, int month, int date) {
153 super(year, month, date);
160 * @param year The value used to set the calendar's {@link #YEAR YEAR} time field.
174 public BuddhistCalendar(int year, int month, int date, int hour
199 int year; local
    [all...]
GregorianCalendar.java 33 * and the Julian calendar is the leap year rule. The Julian calendar specifies
44 * leap year rules were applied irregularly, and before 45 BC the Julian
47 * <p>Prior to the institution of the Gregorian calendar, New Year's Day was
53 * 53. Week 1 for a year is the earliest seven day period starting on
55 * <code>getMinimalDaysInFirstWeek()</code> days from that year. It thus
58 * Weeks between week 1 of one year and week 1 of the following year are
75 * week 1 of a year, week 1 of a month may be shorter than 7 days, need
116 * System.out.println("YEAR: " + calendar.get(Calendar.YEAR));
815 int year; local
    [all...]
JapaneseCalendar.java 17 * except for the year and era. The ascension of each emperor to the throne
19 * year of ascension as year 1.
21 * Note that in the year of an imperial ascension, there are two possible sets
22 * of year and era values: that for the old era and for the new. For example, a
24 * of that year were in the Showa era, e.g. "January 6, 64 Showa", while the rest
25 * of the year was in the Heisei era, e.g. "January 7, 1 Heisei". This class
148 * @param year The value used to set the calendar's {@link #YEAR YEAR} field
219 int year; local
282 int year = internalGet(EXTENDED_YEAR); local
    [all...]
HebrewCalendar.java 25 * solar year (approximately 365.24 days) is not an even multiple of
28 * interesting, the start of a year can be delayed by up to three days
30 * to prevent certain illegal year lengths. Finally, the lengths of certain
31 * months can vary depending on the number of days in the year.
35 * not come at the end of the year, calculations involving
86 * Constant for Tishri, the 1st month of the Hebrew year.
92 * Constant for Heshvan, the 2nd month of the Hebrew year.
98 * Constant for Kislev, the 3rd month of the Hebrew year.
104 * Constant for Tevet, the 4th month of the Hebrew year.
110 * Constant for Shevat, the 5th month of the Hebrew year.
459 int year = get(YEAR); local
540 int year = get(YEAR); local
797 int year = (int)((19 * m + 234) \/ 235) + 1; \/\/ Years (approx) local
835 int year; local
    [all...]
EthiopicCalendar.java 34 * Constant for ?????, the 1st month of the Ethiopic year.
40 * Constant for ????, the 2nd month of the Ethiopic year.
46 * Constant for ???, the 3rd month of the Ethiopic year.
52 * Constant for ????, the 4th month of the Ethiopic year.
58 * Constant for ??, the 5th month of the Ethiopic year.
64 * Constant for ????, the 6th month of the Ethiopic year.
70 * Constant for ????, the 7th month of the Ethiopic year.
76 * Constant for ????, the 8th month of the Ethiopic year.
82 * Constant for ????, the 9th month of the Ethiopic year.
88 * Constant for ??, the 10th month of the Ethiopic year.
328 int era, year; local
    [all...]
PersianCalendar.java 23 * in various ways, except its leap year rule, which is determined
24 * astronomically. The Persian year starts around the March equinox.
34 * The official rule for determination of the beginning of the Persian year
41 * expected that for about one year in every twenty-four years, the Afghan
46 * here, commonly known as the 33-year cycle rule, matches the astronomical
49 * commonly known algorithm, the 2820-year cycle, has been incorrectly
50 * designed to follow the tropical year instead of the spring equinoctial
51 * year, and fails to match the astronomical one as early as 2025 CE.
90 // len2 length of month in a leap year
91 // st days in year before start of mont
392 int year; local
420 int year, month, dayOfMonth, dayOfYear; local
    [all...]
  /libcore/ojluni/src/test/java/time/test/java/time/format/
TestReducedPrinter.java 62 import static java.time.temporal.ChronoField.YEAR;
98 getFormatter0(YEAR, 2, 2010).formatTo(EMPTY_DTA, buf);
104 getFormatter0(YEAR, 2, 2010).formatTo(LocalDate.of(2012, 1, 1), buf);
181 getFormatter0(YEAR, minWidth, maxWidth, baseValue).formatTo(new MockFieldValue(YEAR, value), buf);
188 assertEquals(ex.getMessage().contains(YEAR.toString()), true);
198 getFormatterBaseDate(YEAR, minWidth, maxWidth, baseValue).formatTo(new MockFieldValue(YEAR, value), buf);
205 assertEquals(ex.getMessage().contains(YEAR.toString()), true);
215 DateTimeFormatter f = getFormatterBaseDate(YEAR, 2, 2, 2021)
    [all...]
TestCharLiteralParser.java 62 import static java.time.temporal.ChronoField.YEAR;
113 assertEquals(parsed.isSupported(YEAR), false);
  /libcore/ojluni/src/test/java/time/tck/java/time/chrono/
TCKIsoChronology.java 300 // era and year-of-era
305 {ResolverStyle.STRICT, 0, 2012, null, ChronoField.YEAR, -2011},
306 {ResolverStyle.SMART, 0, 2012, null, ChronoField.YEAR, -2011},
307 {ResolverStyle.LENIENT, 0, 2012, null, ChronoField.YEAR, -2011},
309 {ResolverStyle.STRICT, 1, 2012, null, ChronoField.YEAR, 2012},
310 {ResolverStyle.SMART, 1, 2012, null, ChronoField.YEAR, 2012},
311 {ResolverStyle.LENIENT, 1, 2012, null, ChronoField.YEAR, 2012},
317 // year-of-era only
319 {ResolverStyle.SMART, null, 2012, null, ChronoField.YEAR, 2012},
320 {ResolverStyle.LENIENT, null, 2012, null, ChronoField.YEAR, 2012}
    [all...]
  /cts/tests/tests/widget/src/android/widget/cts/
CalendarViewTest.java 100 // Go back one year
102 newCalendar.set(Calendar.YEAR, newCalendar.get(Calendar.YEAR) - 1);
108 // Go forward two years (one year from current date in aggregate)
109 newCalendar.set(Calendar.YEAR, newCalendar.get(Calendar.YEAR) + 2);
119 // Use a range of minus/plus one year as min/max dates
121 minCalendar.set(Calendar.YEAR, minCalendar.get(Calendar.YEAR) - 1);
123 maxCalendar.set(Calendar.YEAR, maxCalendar.get(Calendar.YEAR) + 1)
    [all...]
  /libcore/luni/src/main/java/libcore/icu/
DateUtilsBridge.java 120 // If we've been asked to show the date, work out whether we think we should show the year.
123 // The caller explicitly wants us to show the year.
125 // The caller explicitly doesn't want us to show the year, even if we otherwise would.
159 return c1.get(Calendar.YEAR) != c2.get(Calendar.YEAR) ||
169 return c1.get(Calendar.YEAR) == c2.get(Calendar.YEAR);
175 return c.get(Calendar.YEAR) == now.get(Calendar.YEAR);
  /libcore/ojluni/src/main/java/java/text/
CalendarBuilder.java 34 * {@link Calendar#FIELD_COUNT FIELD_COUNT}-th field for the week year
82 field[MAX_FIELD + YEAR] += value;
105 && field[WEEK_YEAR] > field[YEAR];
107 // Use YEAR instead
108 if (!isSet(YEAR)) {
109 set(YEAR, field[MAX_FIELD + WEEK_YEAR]);
  /libcore/ojluni/src/test/java/time/test/java/time/chrono/
TestThaiBuddhistChronoImpl.java 103 cal.set(Calendar.YEAR, thaiDate.get(ChronoField.YEAR));
110 assertEquals(thaiDate.get(ChronoField.YEAR_OF_ERA), cal.get(Calendar.YEAR), "Year mismatch in " + thaiDate);
119 cal.get(Calendar.YEAR), cal.get(Calendar.MONTH) + 1, cal.get(Calendar.DAY_OF_MONTH));
  /libcore/ojluni/src/main/java/java/time/chrono/
IsoChronology.java 69 import static java.time.temporal.ChronoField.YEAR;
81 import java.time.Year;
105 * <li>year-of-era - The year-of-era is the same as the proleptic-year for the current CE era.
106 * For the BCE era before the ISO epoch the year increases from 1 upwards as time goes backwards.
107 * <li>proleptic-year - The proleptic year is the same as the year-of-era for the
109 * <li>month-of-year - There are 12 months in an ISO year, numbered from 1 to 12
516 Long year = fieldValues.get(YEAR); local
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
CalendarTest.java 44 cal.set(Calendar.YEAR, 2002);
49 cal.set(Calendar.YEAR, 2002);
55 cal.set(Calendar.YEAR, 2002);
73 cal.set(Calendar.YEAR, 2002);
79 cal.set(Calendar.YEAR, 2002);
85 cal.set(Calendar.YEAR, 2002);
91 cal.set(Calendar.YEAR, 2002);
97 cal.set(Calendar.YEAR, 2002);
103 cal.set(Calendar.YEAR, 2002);
109 cal.set(Calendar.YEAR, 2002)
467 int year = Integer.MIN_VALUE + 71; local
    [all...]
  /libcore/ojluni/src/test/java/time/test/java/time/temporal/
TestDateTimeBuilderCombinations.java 72 import static java.time.temporal.ChronoField.YEAR;
94 {YEAR, 2012, MONTH_OF_YEAR, 6, DAY_OF_MONTH, 3, null, null, LocalDate.class, LocalDate.of(2012, 6, 3)},
96 {YEAR, 2012, ALIGNED_WEEK_OF_YEAR, 6, DAY_OF_WEEK, 3, null, null, LocalDate.class, LocalDate.of(2012, 2, 8)},
97 {YEAR, 2012, DAY_OF_YEAR, 155, null, null, null, null, LocalDate.class, LocalDate.of(2012, 6, 3)},
99 {YEAR, 2012, MONTH_OF_YEAR, 6, null, null, null, null, LocalDate.class, null},
170 {YEAR, 2127, YEAR, 2127},
180 {PROLEPTIC_MONTH, 27, YEAR, 2},
  /tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/
DosUtils.java 51 cal.set(Calendar.YEAR, 1980 + (dosDate >> 9));
78 return 512 * (cal.get(Calendar.YEAR) - 1980) + 32 * (cal.get(Calendar.MONTH) + 1) +
  /external/e2fsprogs/util/
gen-android-files 62 YEAR=`echo $DATE | awk -F- '{print $3}'`
64 if expr $YEAR ">" 1900 > /dev/null ; then
65 E2FSPROGS_YEAR=$YEAR
66 elif expr $YEAR ">" 90 >/dev/null ; then
67 E2FSPROGS_YEAR=19$YEAR
69 E2FSPROGS_YEAR=20$YEAR
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/
JapaneseTest.java 83 // new JapaneseCalendar(int year, int month, int date)
86 errln("could not create JapaneseCalendar with year,month,date");
91 // new JapaneseCalendar(int era, int year, int month, int date)
94 errln("could not create JapaneseCalendar with era,year,month,date");
99 // new JapaneseCalendar(int year, int month, int date, int hour, int minute, int second)
102 errln("could not create JapaneseCalendar with year,month,date,hour,min,second");
114 logln("min year: " + cal.getMinimum(Calendar.YEAR));
115 cal.set(Calendar.YEAR, cal.getActualMaximum(Calendar.YEAR));
    [all...]

Completed in 1300 milliseconds

12 3 4 5 6 7 8 91011>>