HomeSort by relevance Sort by last modified time
    Searched refs:year (Results 1 - 25 of 886) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/icu/android_icu4j/src/main/java/android/icu/util/
HebrewCalendar.java 24 * solar year (approximately 365.24 days) is not an even multiple of
27 * interesting, the start of a year can be delayed by up to three days
29 * to prevent certain illegal year lengths. Finally, the lengths of certain
30 * months can vary depending on the number of days in the year.
34 * not come at the end of the year, calculations involving
84 * Constant for Tishri, the 1st month of the Hebrew year.
89 * Constant for Heshvan, the 2nd month of the Hebrew year.
94 * Constant for Kislev, the 3rd month of the Hebrew year.
99 * Constant for Tevet, the 4th month of the Hebrew year.
104 * Constant for Shevat, the 5th month of the Hebrew year.
434 int year = get(YEAR); local
514 int year = get(YEAR); local
769 int year = (int)((19 * m + 234) \/ 235) + 1; \/\/ Years (approx) local
806 int year; local
    [all...]
BuddhistCalendar.java 21 * except for the year and era. Years are numbered since the birth of the
134 * @param year The value used to set the calendar's {@link #YEAR YEAR} time field.
141 public BuddhistCalendar(int year, int month, int date) {
142 super(year, month, date);
149 * @param year The value used to set the calendar's {@link #YEAR YEAR} time field.
162 public BuddhistCalendar(int year, int month, int date, int hour
186 int year; local
    [all...]
CopticCalendar.java 30 * the 1st month of the Coptic year.
36 * the 2nd month of the Coptic year.
42 * the 3rd month of the Coptic year.
48 * the 4th month of the Coptic year.
54 * the 5th month of the Coptic year.
60 * the 6th month of the Coptic year.
66 * the 7th month of the Coptic year.
72 * the 8th month of the Coptic year.
78 * the 9th month of the Coptic year.
84 * the 10th month of the Coptic year.
250 int era, year; local
    [all...]
IndianCalendar.java 46 * So When its a leap year in Gregorian calendar then Chaitra has 31 days.
49 * Years are counted in the Saka Era, which starts its year 0 in 78AD (by gregorian calendar).
71 * Constant for Chaitra, the 1st month of the Indian year.
76 * Constant for Vaisakha, the 2nd month of the Indian year.
81 * Constant for Jyaistha, the 3rd month of the Indian year.
86 * Constant for Asadha, the 4th month of the Indian year.
91 * Constant for Sravana, the 5th month of the Indian year.
96 * Constant for Bhadra, the 6th month of the Indian year.
101 * Constant for Asvina, the 7th month of the Indian year.
106 * Constant for Kartika, the 8th month of the Indian year.
287 int year; local
501 int year, month, day; local
    [all...]
TaiwanCalendar.java 19 * except for the year and era. Years are numbered since 1912 AD (Gregorian).
135 * @param year The value used to set the calendar's {@link #YEAR YEAR} time field.
142 public TaiwanCalendar(int year, int month, int date) {
143 super(year, month, date);
150 * @param year The value used to set the calendar's {@link #YEAR YEAR} time field.
159 public TaiwanCalendar(int year, int month, int date, int hour
184 int year = GREGORIAN_EPOCH; local
    [all...]
AnnualTimeZoneRule.java 26 * The constant representing the maximum year used for designating a rule is permanent.
45 * @param startYear The first year when this rule takes effect.
46 * @param endYear The last year when this rule takes effect. If this
68 * Gets the first year when this rule takes effect.
70 * @return The start year of this rule. The year is in Gregorian calendar
78 * Gets the end year when this rule takes effect.
80 * @return The end year of this rule (inclusive). The year is in Gregorian calendar
88 * Gets the time when this rule takes effect in the given year
177 int year = fields[0]; local
193 int year = fields[0]; local
    [all...]
PersianCalendar.java 22 * in various ways, except its leap year rule, which is determined
23 * astronomically. The Persian year starts around the March equinox.
33 * The official rule for determination of the beginning of the Persian year
40 * expected that for about one year in every twenty-four years, the Afghan
45 * here, commonly known as the 33-year cycle rule, matches the astronomical
48 * commonly known algorithm, the 2820-year cycle, has been incorrectly
49 * designed to follow the tropical year instead of the spring equinoctial
50 * 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...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
HebrewCalendar.java 23 * solar year (approximately 365.24 days) is not an even multiple of
26 * interesting, the start of a year can be delayed by up to three days
28 * to prevent certain illegal year lengths. Finally, the lengths of certain
29 * months can vary depending on the number of days in the year.
33 * not come at the end of the year, calculations involving
84 * Constant for Tishri, the 1st month of the Hebrew year.
90 * Constant for Heshvan, the 2nd month of the Hebrew year.
96 * Constant for Kislev, the 3rd month of the Hebrew year.
102 * Constant for Tevet, the 4th month of the Hebrew year.
108 * Constant for Shevat, the 5th month of the Hebrew year.
457 int year = get(YEAR); local
538 int year = get(YEAR); local
795 int year = (int)((19 * m + 234) \/ 235) + 1; \/\/ Years (approx) local
833 int year; local
    [all...]
BuddhistCalendar.java 20 * except for the year and era. Years are numbered since the birth of the
142 * @param year The value used to set the calendar's {@link #YEAR YEAR} time field.
150 public BuddhistCalendar(int year, int month, int date) {
151 super(year, month, date);
158 * @param year The value used to set the calendar's {@link #YEAR YEAR} time field.
172 public BuddhistCalendar(int year, int month, int date, int hour
197 int year; local
    [all...]
CopticCalendar.java 30 * the 1st month of the Coptic year.
37 * the 2nd month of the Coptic year.
44 * the 3rd month of the Coptic year.
51 * the 4th month of the Coptic year.
58 * the 5th month of the Coptic year.
65 * the 6th month of the Coptic year.
72 * the 7th month of the Coptic year.
79 * the 8th month of the Coptic year.
86 * the 9th month of the Coptic year.
93 * the 10th month of the Coptic year.
271 int era, year; local
    [all...]
IndianCalendar.java 45 * So When its a leap year in Gregorian calendar then Chaitra has 31 days.
48 * Years are counted in the Saka Era, which starts its year 0 in 78AD (by gregorian calendar).
72 * Constant for Chaitra, the 1st month of the Indian year.
78 * Constant for Vaisakha, the 2nd month of the Indian year.
84 * Constant for Jyaistha, the 3rd month of the Indian year.
90 * Constant for Asadha, the 4th month of the Indian year.
96 * Constant for Sravana, the 5th month of the Indian year.
102 * Constant for Bhadra, the 6th month of the Indian year.
108 * Constant for Asvina, the 7th month of the Indian year.
114 * Constant for Kartika, the 8th month of the Indian year.
311 int year; local
530 int year, month, day; local
    [all...]
TaiwanCalendar.java 18 * except for the year and era. Years are numbered since 1912 AD (Gregorian).
145 * @param year The value used to set the calendar's {@link #YEAR YEAR} time field.
153 public TaiwanCalendar(int year, int month, int date) {
154 super(year, month, date);
161 * @param year The value used to set the calendar's {@link #YEAR YEAR} time field.
171 public TaiwanCalendar(int year, int month, int date, int hour
197 int year = GREGORIAN_EPOCH; local
    [all...]
AnnualTimeZoneRule.java 25 * The constant representing the maximum year used for designating a rule is permanent.
45 * @param startYear The first year when this rule takes effect.
46 * @param endYear The last year when this rule takes effect. If this
72 * Gets the first year when this rule takes effect.
74 * @return The start year of this rule. The year is in Gregorian calendar
84 * Gets the end year when this rule takes effect.
86 * @return The end year of this rule (inclusive). The year is in Gregorian calendar
96 * Gets the time when this rule takes effect in the given year
190 int year = fields[0]; local
207 int year = fields[0]; local
    [all...]
PersianCalendar.java 21 * in various ways, except its leap year rule, which is determined
22 * astronomically. The Persian year starts around the March equinox.
32 * The official rule for determination of the beginning of the Persian year
39 * expected that for about one year in every twenty-four years, the Afghan
44 * here, commonly known as the 33-year cycle rule, matches the astronomical
47 * commonly known algorithm, the 2820-year cycle, has been incorrectly
48 * designed to follow the tropical year instead of the spring equinoctial
49 * year, and fails to match the astronomical one as early as 2025 CE.
88 // len2 length of month in a leap year
89 // st days in year before start of mont
390 int year; local
418 int year, month, dayOfMonth, dayOfYear; local
    [all...]
  /frameworks/base/core/java/android/widget/
DatePickerController.java 28 void onYearSelected(int year);
  /external/v8/test/cctest/
test-date.cc 38 int year, start_month, start_day, end_month, end_day, offset_sec; member in struct:DateCacheMock::Rule
48 int year, month, day; local
49 YearMonthDayFromDays(days, &year, &month, &day);
50 Rule* rule = FindRuleFor(year, month, day, time_in_day_sec);
60 Rule* FindRuleFor(int year, int month, int day, int time_in_day_sec) {
63 if (Match(&rules_[i], year, month, day, time_in_day_sec)) {
70 bool Match(Rule* rule, int year, int month, int day, int time_in_day_sec) {
71 if (rule->year != 0 && rule->year != year) return false
    [all...]
  /packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/datetime/
DateTime.java 34 private final int year; field in class:DateTime
43 this.year = convertToYear(yearString);
44 this.date = convertToDate(year, month, day, hour, minute, second, timeZone);
54 int year = Integer.parseInt(yearString); local
58 if (year >= 0 && year < 50)
59 return 2000 + year;
61 return 1900 + year;
63 return 1900 + year;
65 return year;
    [all...]
  /packages/services/Telephony/src/org/apache/james/mime4j/field/datetime/
DateTime.java 34 private final int year; field in class:DateTime
43 this.year = convertToYear(yearString);
44 this.date = convertToDate(year, month, day, hour, minute, second, timeZone);
54 int year = Integer.parseInt(yearString); local
58 if (year >= 0 && year < 50)
59 return 2000 + year;
61 return 1900 + year;
63 return 1900 + year;
65 return year;
    [all...]
  /libcore/ojluni/src/main/java/sun/util/calendar/
BaseCalendar.java 64 // The base Gregorian year of FIXED_DATES[]
162 // Cache for the fixed date of January 1 and year length of the
169 protected final boolean hit(int year) {
170 return year == cachedYear;
185 protected void setCache(int year, long jan1, int len) {
186 cachedYear = year;
275 int year = bdate.getNormalizedYear(); local
279 year -= (int)((xm / 12) + 1);
281 bdate.setNormalizedYear(year);
284 year += (int)((month - 1) / 12)
422 int year; local
496 int year; local
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/impl/
Grego.java 58 * Return true if the given year is a leap year.
59 * @param year Gregorian year, with 0 == 1 BCE, -1 == 2 BCE, etc.
60 * @return true if the year is a leap year
62 public static final boolean isLeapYear(int year) {
63 // year&0x3 == year%4
64 return ((year&0x3) == 0) && ((year%100 != 0) || (year%400 == 0))
130 int year = (int)(400 * n400 + 100 * n100 + 4 * n4 + n1); local
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
Grego.java 56 * Return true if the given year is a leap year.
57 * @param year Gregorian year, with 0 == 1 BCE, -1 == 2 BCE, etc.
58 * @return true if the year is a leap year
60 public static final boolean isLeapYear(int year) {
61 // year&0x3 == year%4
62 return ((year&0x3) == 0) && ((year%100 != 0) || (year%400 == 0))
128 int year = (int)(400 * n400 + 100 * n100 + 4 * n4 + n1); local
    [all...]
  /external/icu/icu4c/source/i18n/
hebrwcal.cpp 41 { -5000000, -5000000, 5000000, 5000000}, // YEAR
68 * Due to the rules for postponing the start of the year to avoid having
69 * certain holidays fall on the sabbath, the year can end up being three
90 * The cumulative # of days to the end of each month in a non-leap year
114 * The cumulative # of days to the end of each month in a leap year
225 int32_t year = get(UCAL_YEAR, status); local
231 if (acrossAdar1 && month>=ADAR_1 && !isLeapYear(year)) {
238 ++year;
245 if (acrossAdar1 && month<=ADAR_1 && !isLeapYear(year)) {
252 --year;
317 int32_t year = get(UCAL_YEAR, status); local
567 int32_t year = (int32_t)( ((19. * m + 234.) \/ 235.) + 1.); \/\/ Years (approx) local
619 int32_t year; local
    [all...]
japancal.cpp 36 int16_t year; member in struct:__anon13369
40 // Year Month Day
333 if(eyear == kEraInfo[era].year) {
334 // Yes, we're in the first year of this era.
346 if(eyear == kEraInfo[era].year) {
363 // EXTENDED_YEAR in JapaneseCalendar is a Gregorian year
365 int32_t year; local
369 year = internalGet(UCAL_EXTENDED_YEAR, kGregorianEpoch);
371 // Subtract one because year starts at 1
372 year = internalGet(UCAL_YEAR) + kEraInfo[internalGetEra()].year - 1
382 int32_t year = internalGet(UCAL_EXTENDED_YEAR); \/\/ Gregorian year local
    [all...]
persncal.cpp 27 = {0,31,62,93,124,155,186,216,246,276,306,336}; // 0-based, for day-in-year
37 { -5000000, -5000000, 5000000, 5000000}, // YEAR
106 * Determine whether a year is a leap year in the Persian calendar
108 UBool PersianCalendar::isLeapYear(int32_t year)
111 ClockMath::floorDivide(25 * year + 11, 33, remainder);
116 * Return the day # on which the given year starts. Days are counted
119 int32_t PersianCalendar::yearStart(int32_t year) {
120 return handleComputeMonthStart(year,0,FALSE);
127 * @param year The Persian yea
187 int32_t year; local
211 int32_t year, month, dayOfMonth, dayOfYear; local
    [all...]
taiwncal.cpp 66 // EXTENDED_YEAR in TaiwanCalendar is a Gregorian year
68 int32_t year = kGregorianEpoch; local
72 year = internalGet(UCAL_EXTENDED_YEAR, kGregorianEpoch);
76 year = internalGet(UCAL_YEAR, 1) + kTaiwanEraStart;
78 year = 1 - internalGet(UCAL_YEAR, 1) + kTaiwanEraStart;
81 return year;
116 int32_t year = internalGet(UCAL_YEAR);
119 year = 1-year;
127 year = year - kTaiwanEraStart
    [all...]

Completed in 694 milliseconds

1 2 3 4 5 6 7 8 91011>>