HomeSort by relevance Sort by last modified time
    Searched full:year (Results 51 - 75 of 1718) sorted by null

1 23 4 5 6 7 8 91011>>

  /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`;
tzdate.c 32 int64_t getSystemCurrentTime(char* systime, int year, int month, int day, int hour, int minute, int useCurrentTime);
39 int year, month, day, hour, minute; local
44 sysyear = year = month = day = 0;
51 year = atoi(argv[1]);
58 /* format year for system time */
59 sysyear = year - 1900;
109 int64_t getSystemCurrentTime(char* systime, int year, int month, int day, int hour, int minute, int useCurrentTime) {
119 ts.tm_year = year;
  /packages/apps/Contacts/src/com/android/contacts/datepicker/
DatePicker.java 19 // This is a fork of the standard Android DatePicker that additionally allows toggling the year
51 * A view for selecting a month / year / day based on a calendar like layout.
60 /** Magic year that represents "no year" */
91 * @param year The year that was set or {@link DatePicker#NO_YEAR} if no year was set
96 void onDateChanged(DatePicker view, int year, int monthOfYear, int dayOfMonth);
162 mYearPicker = (NumberPicker) findViewById(R.id.year);
201 init(cal.get(Calendar.YEAR), cal.get(Calendar.MONTH), cal.get(Calendar.DAY_OF_MONTH), null)
450 int year = (mYearOptional && !mHasYear) ? NO_YEAR : mYear; local
    [all...]
  /external/chromium_org/third_party/icu/source/test/testdata/
calendar.txt 26 // "0/1/1912/june/4 == gregorian year=1912, ERA=AD, same month, same day
29 "ERA=1,YEAR=1,MONTH=JUNE,DATE=4", // tw
30 "ERA=1,YEAR=1912,MONTH=,DATE=" // greg
34 "ERA=1,YEAR=3,MONTH=FEBRUARY,DATE=12", // tw
35 "ERA=1,YEAR=1914,MONTH=,DATE=" // greg
39 "ERA=1,YEAR=96,MONTH=FEBRUARY,DATE=12", // tw
40 "ERA=1,YEAR=2007,MONTH=,DATE=" // greg
46 "ERA=0,YEAR=2,MONTH=JANUARY,DATE=24", // tw
47 "ERA=1,YEAR=1910,MONTH=JANUARY,DATE=24", // greg
55 "YEAR=1964,MONTH=8,DATE=4", // gre
    [all...]
  /external/chromium_org/third_party/icu/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
560 int32_t year = (int32_t)( ((19. * m + 234.) \/ 235.) + 1.); \/\/ Years (approx) local
612 int32_t year; local
    [all...]
buddhcal.h 37 * except for the year and era. Years are numbered since the birth of the
136 * Return the extended year defined by the current fields. This will
137 * use the UCAL_EXTENDED_YEAR field or the UCAL_YEAR and supra-year fields (such
140 * @return the extended year
160 * given month in the given extended year. Subclasses should override
162 * @param eyear the extended year
165 * the given year, otherwise, compute the day before the first day of
168 * day of the given month and year
188 * Returns the year in which the default century begins
197 * indicate an uninitialized state. Once the system default century date and year
    [all...]
persncal.h 35 * The Persian calendar is strictly solar, and thus a Persian year has twelve
36 * solar months. A Persian year is about 365 days long, except in leap years
59 * Constant for Farvardin, the 1st month of the Persian year.
65 * Constant for Ordibehesht, the 2nd month of the Persian year.
71 * Constant for Khordad, the 3rd month of the Persian year.
77 * Constant for Tir, the 4th month of the Persian year.
83 * Constant for Mordad, the 5th month of the Persian year.
89 * Constant for Shahrivar, the 6th month of the Persian year.
95 * Constant for Mehr, the 7th month of the Persian year.
101 * Constant for Aban, the 8th month of the Persian year.
    [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...]
  /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...]
buddhcal.h 37 * except for the year and era. Years are numbered since the birth of the
136 * Return the extended year defined by the current fields. This will
137 * use the UCAL_EXTENDED_YEAR field or the UCAL_YEAR and supra-year fields (such
140 * @return the extended year
160 * given month in the given extended year. Subclasses should override
162 * @param eyear the extended year
165 * the given year, otherwise, compute the day before the first day of
168 * day of the given month and year
188 * Returns the year in which the default century begins
197 * indicate an uninitialized state. Once the system default century date and year
    [all...]
persncal.h 35 * The Persian calendar is strictly solar, and thus a Persian year has twelve
36 * solar months. A Persian year is about 365 days long, except in leap years
59 * Constant for Farvardin, the 1st month of the Persian year.
65 * Constant for Ordibehesht, the 2nd month of the Persian year.
71 * Constant for Khordad, the 3rd month of the Persian year.
77 * Constant for Tir, the 4th month of the Persian year.
83 * Constant for Mordad, the 5th month of the Persian year.
89 * Constant for Shahrivar, the 6th month of the Persian year.
95 * Constant for Mehr, the 7th month of the Persian year.
101 * Constant for Aban, the 8th month of the Persian year.
    [all...]
japancal.cpp 36 int16_t year; member in struct:__anon20676
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...]
  /external/chromium_org/content/public/android/java/src/org/chromium/content/browser/input/
DateTimePickerDialog.java 25 private static final String YEAR = "year";
47 * @param year The year that was set.
54 void onDateTimeSet(DatePicker dateView, TimePicker timeView, int year, int monthOfYear,
61 * @param year The initial year of the dialog.
67 int year,
92 year, monthOfYear, dayOfMonth, hourOfDay, minute, min, max);
130 public void onDateChanged(DatePicker view, int year,
    [all...]
DateDialogNormalizer.java 30 picker.updateDate(maxCal.get(Calendar.YEAR),
34 picker.updateDate(minCal.get(Calendar.YEAR),
50 result.set(cal.get(Calendar.YEAR), cal.get(Calendar.MONTH), cal.get(Calendar.DAY_OF_MONTH),
60 int year, int month, int day, int hour, int minute, long min, long max) {
63 calendar.set(year, month, day, hour, minute, 0);
72 calendar.get(Calendar.YEAR), calendar.get(Calendar.MONTH),
  /packages/apps/Contacts/src/com/android/contacts/editor/
EventFieldEditorView.java 163 // if we changed to a type that requires a year, ensure that it is actually set
169 final int defaultYear = calendar.get(Calendar.YEAR);
171 // Check whether the year is optional
181 // This value is missing the year. Add it now
200 final int defaultYear = calendar.get(Calendar.YEAR);
202 // Check whether the year is optional
213 // Try parsing with year
217 oldYear = cal.get(Calendar.YEAR);
219 //cal.set(Calendar.YEAR, 0);
230 public void onDateSet(DatePicker view, int year, int monthOfYear, int dayOfMonth)
    [all...]
  /external/chromium/chrome/browser/resources/options/
autofill_edit_creditcard_overlay.js 71 creditCard[4] = $('expiration-year').value;
84 $('expiration-month').onchange = $('expiration-year').onchange =
121 // Set the 'Expiration year' default options.
122 var expirationYear = $('expiration-year');
126 var year = parseInt(date.getFullYear());
128 var text = year + i;
144 $('expiration-year').selectedIndex = 0;
155 // The options for the year select control may be out-dated at this point,
156 // e.g. the user opened the options page before midnight on New Year's Eve
157 // and then loaded a credit card profile to edit in the new year, s
    [all...]
  /external/chromium_org/chrome/browser/resources/options/
autofill_edit_creditcard_overlay.js 68 creditCard[4] = $('expiration-year').value;
81 $('expiration-month').onchange = $('expiration-year').onchange =
118 // Set the 'Expiration year' default options.
119 var expirationYear = $('expiration-year');
123 var year = parseInt(date.getFullYear());
125 var text = year + i;
141 $('expiration-year').selectedIndex = 0;
155 // The options for the year select control may be out-dated at this point,
156 // e.g. the user opened the options page before midnight on New Year's Eve
157 // and then loaded a credit card profile to edit in the new year, s
    [all...]
  /frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DatePicker.java 41 * A view for selecting a month / year / day based on a calendar like layout.
78 * @param year The year that was set.
83 void onDateChanged(DatePicker view, int year, int monthOfYear, int dayOfMonth);
149 mYearPicker = (NumberPicker) findViewById(R.id.year);
187 init(cal.get(Calendar.YEAR), cal.get(Calendar.MONTH), cal.get(Calendar.DAY_OF_MONTH), null);
252 } else if (c == DateFormat.YEAR && !didYear) {
271 public void updateDate(int year, int monthOfYear, int dayOfMonth) {
272 if (mYear != year || mMonth != monthOfYear || mDay != dayOfMonth) {
273 mYear = (mYearOptional && year == 0) ? getCurrentYear() : year
470 int year = (mYearOptional && !mHasYear) ? 0 : mYear; local
    [all...]
  /external/chromium_org/third_party/icu/source/i18n/unicode/
gregocal.h 50 * Prior to the institution of the Gregorian Calendar, New Year's Day was March 25. To
56 * 53. Week 1 for a year is the first week that contains at least
57 * <code>getMinimalDaysInFirstWeek()</code> days from that year. It thus
60 * Weeks between week 1 of one year and week 1 of the following year are
99 * cout << "YEAR: " << calendar->get( UCAL_YEAR, success ) << endl;
121 * cout << "YEAR: " << calendar->get( UCAL_YEAR, success ) << endl;
234 * @param year The value used to set the YEAR time field in the calendar.
242 GregorianCalendar(int32_t year, int32_t month, int32_t date, UErrorCode& success)
    [all...]
  /external/icu4c/i18n/unicode/
gregocal.h 50 * Prior to the institution of the Gregorian Calendar, New Year's Day was March 25. To
56 * 53. Week 1 for a year is the first week that contains at least
57 * <code>getMinimalDaysInFirstWeek()</code> days from that year. It thus
60 * Weeks between week 1 of one year and week 1 of the following year are
99 * cout << "YEAR: " << calendar->get( UCAL_YEAR, success ) << endl;
121 * cout << "YEAR: " << calendar->get( UCAL_YEAR, success ) << endl;
234 * @param year The value used to set the YEAR time field in the calendar.
242 GregorianCalendar(int32_t year, int32_t month, int32_t date, UErrorCode& success)
    [all...]
  /external/chromium_org/content/browser/android/
date_time_chooser_android.cc 27 int year, int month, int day, int hour, int minute, int second, int week);
41 int year, int month, int day, int hour, int minute, int second, int week) {
43 value.year = year;
81 int year, int month, int day, int hour, int minute, int second, int week) {
83 dialog_type, year, month, day, hour, minute, second, week);
92 int type, int year, int month, int day,
102 type, year, month, day, hour, minute, second, week, min, max));
  /external/chromium_org/third_party/icu/source/test/compat/
tzdate.c 32 int64_t getSystemCurrentTime(char* systime, int year, int month, int day, int hour, int minute, int useCurrentTime);
39 int year, month, day, hour, minute; local
44 sysyear = year = month = day = 0;
51 year = atoi(argv[1]);
58 /* format year for system time */
59 sysyear = year - 1900;
109 int64_t getSystemCurrentTime(char* systime, int year, int month, int day, int hour, int minute, int useCurrentTime) {
119 ts.tm_year = year;
  /frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/
YearPickerView.java 75 for (int year = mController.getMinYear(); year <= mController.getMaxYear(); year++) {
76 years.add(String.format("%d", year));
116 int year = getYearFromTextView(v); local
117 boolean selected = mController.getSelectedDay().year == year;
152 postSetSelectionCentered(mController.getSelectedDay().year - mController.getMinYear());
  /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);

Completed in 1264 milliseconds

1 23 4 5 6 7 8 91011>>