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

1 2 3 4 5 6 7 8 91011>>

  /external/chromium_org/third_party/icu/source/i18n/
persncal.cpp 26 jalali_to_julian(int year, int month, int day)
31 year = year -475+2820;
34 daysNo=(year/2820)*1029983;
35 year=year % 2820;
37 daysNo+=(year/128)* 46751;
38 if((year/128)>21)
41 year=(year%128)+128
89 int year=0, month=0, day=0,scalarDays=0; local
330 int32_t year; local
    [all...]
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
560 int32_t year = (int32_t)( ((19. * m + 234.) \/ 235.) + 1.); \/\/ Years (approx) local
612 int32_t year; local
    [all...]
japancal.cpp 36 int16_t year; member in struct:__anon13361
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...]
indiancal.cpp 61 { -5000000, -5000000, 5000000, 5000000}, // YEAR
94 * Determine whether the given gregorian year is a Leap year
96 static UBool isGregorianLeap(int32_t year)
98 return ((year % 4) == 0) && (!(((year % 100) == 0) && ((year % 400) != 0)));
108 * @param eyear The year in Saka Era
128 * Return the number of days in the given Indian year
130 * @param eyear The year in Saka Era
163 int32_t year, month, day; local
266 int32_t year; local
    [all...]
gregoimp.h 93 #define kJan1_1JulianDay 1721426 // January 1, year 1 (Gregorian)
138 * Return TRUE if the given year is a leap year.
139 * @param year Gregorian year, with 0 == 1 BCE, -1 == 2 BCE, etc.
140 * @return TRUE if the year is a leap year
142 static inline UBool isLeapYear(int32_t year);
146 * @param year Gregorian year, with 0 == 1 BCE, -1 == 2 BCE, etc
    [all...]
  /libcore/luni/src/main/java/java/util/
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/chromium_org/content/public/android/java/src/org/chromium/content/browser/input/
WeekPicker.java 30 private Calendar createDateFromWeek(int year, int week) {
36 date.set(Calendar.YEAR, year);
52 int year = date.get(Calendar.YEAR); local
56 year--;
58 year++;
60 return year;
68 protected void setCurrentDate(int year, int week) {
69 Calendar date = createDateFromWeek(year, week)
    [all...]
TwoFieldDatePicker.java 47 * @param year The year that was set.
48 * @param positionInYear The month or week in year.
50 void onMonthOrWeekChanged(TwoFieldDatePicker view, int year, int positionInYear);
63 int year = getYear();
69 year += 1;
70 positionInYear = getMinPositionInYear(year);
72 year -=1;
73 positionInYear = getMaxPositionInYear(year);
76 year = newVal
    [all...]
TwoFieldDatePickerDialog.java 21 private static final String YEAR = "year";
33 * @param year The year that was set.
34 * @param positionInYear The week in year.
37 void onValueSet(int year, int positionInYear);
43 * @param year The initial year of the dialog.
48 int year,
52 this(context, 0, callBack, year, positionInYear, minValue, maxValue)
    [all...]
WeekPickerDialog.java 16 * @param year The initial year of the dialog.
21 int year, int weekOfYear,
23 this(context, 0, callBack, year, weekOfYear, minValue, maxValue);
30 * @param year The initial year of the dialog.
36 int year,
39 super(context, theme, callBack, year, weekOfYear, minValue, maxValue);
  /external/chromium_org/v8/test/cctest/
test-date.cc 39 int year, start_month, start_day, end_month, end_day, offset_sec; member in struct:DateCacheMock::Rule
49 int year, month, day; local
50 YearMonthDayFromDays(days, &year, &month, &day);
51 Rule* rule = FindRuleFor(year, month, day, time_in_day_sec);
61 Rule* FindRuleFor(int year, int month, int day, int time_in_day_sec) {
64 if (Match(&rules_[i], year, month, day, time_in_day_sec)) {
71 bool Match(Rule* rule, int year, int month, int day, int time_in_day_sec) {
72 if (rule->year != 0 && rule->year != year) return false
    [all...]
  /external/v8/test/cctest/
test-date.cc 39 int year, start_month, start_day, end_month, end_day, offset_sec; member in struct:DateCacheMock::Rule
49 int year, month, day; local
50 YearMonthDayFromDays(days, &year, &month, &day);
51 Rule* rule = FindRuleFor(year, month, day, time_in_day_sec);
61 Rule* FindRuleFor(int year, int month, int day, int time_in_day_sec) {
64 if (Match(&rules_[i], year, month, day, time_in_day_sec)) {
71 bool Match(Rule* rule, int year, int month, int day, int time_in_day_sec) {
72 if (rule->year != 0 && rule->year != year) return false
    [all...]
  /external/lzma/CPP/Windows/
Time.cpp 58 unsigned year, mon, day, hour, min, sec;
74 year = (unsigned)(kFileTimeStartYear + v / PERIOD_400 * 400);
80 year += temp * 100;
86 year += temp * 4;
92 year += temp;
95 if (year % 4 == 0 && (year % 100 != 0 || year % 400 == 0))
107 if (year < kDosTimeStartYear)
109 year -= kDosTimeStartYear;
    [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...]
  /external/icu4c/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
560 int32_t year = (int32_t)( ((19. * m + 234.) \/ 235.) + 1.); \/\/ Years (approx) local
612 int32_t year; local
    [all...]
japancal.cpp 36 int16_t year; member in struct:__anon20677
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...]
indiancal.cpp 61 { -5000000, -5000000, 5000000, 5000000}, // YEAR
94 * Determine whether the given gregorian year is a Leap year
96 static UBool isGregorianLeap(int32_t year)
98 return ((year % 4) == 0) && (!(((year % 100) == 0) && ((year % 400) != 0)));
108 * @param eyear The year in Saka Era
128 * Return the number of days in the given Indian year
130 * @param eyear The year in Saka Era
163 int32_t year, month, day; local
266 int32_t year; local
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/page/
PagePopupController.idl 39 [Conditional=CALENDAR_PICKER] DOMString formatMonth(long year, long zeroBaseMonth);
40 [Conditional=CALENDAR_PICKER] DOMString formatShortMonth(long year, long zeroBaseMonth);
  /external/chromium_org/chrome/installer/util/
google_update_experiment_util.cc 32 // MON = 3 character month of year,
33 // YYYY = 4 digit year,
40 then.year += 1;
47 then.year,
  /external/chromium_org/third_party/icu/source/test/compat/
tzone.pl 8 print "Usage: tzone [year month day hour minute]\n";
18 my $year = 0;
26 ($year, $month, $day, $hour, $minute) = @ARGV;
27 print "The date we are using is: $month-$day-$year $hour:$minute.\n";
52 my @result = `./tzdate $year $month $day $hour $minute $USECURRENT`;
  /external/icu4c/test/compat/
tzone.pl 8 print "Usage: tzone [year month day hour minute]\n";
18 my $year = 0;
26 ($year, $month, $day, $hour, $minute) = @ARGV;
27 print "The date we are using is: $month-$day-$year $hour:$minute.\n";
52 my @result = `./tzdate $year $month $day $hour $minute $USECURRENT`;
  /frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/
DatePickerController.java 27 void onYearSelected(int year);
29 void onDayOfMonthSelected(int year, int month, int day);
  /packages/apps/Calendar/tests/src/com/android/calendar/alerts/
Utils.java 23 int month, int year, String timezone) {
25 t.set(second, minute, hour, monthDay, month, year);
  /external/chromium_org/third_party/WebKit/Source/core/Resources/pagepopups/chromium/
calendarPickerChromium.css 25 .year-month-button {
33 .year-list-view:focus,
43 .preparing .year-list-view:focus,

Completed in 434 milliseconds

1 2 3 4 5 6 7 8 91011>>