/external/chromium_org/third_party/skia/tools/copyright/ |
fileparser.py | 44 """Given a comment block, return a tuple of attributes: (year, holder). 61 DEFAULT_YEAR = datetime.date.today().year 81 def CreateCopyrightBlock(self, year, holder): 85 @param year year in which to hold copyright (defaults to DEFAULT_YEAR) 88 if not year: 89 year = self.DEFAULT_YEAR 92 return self.COPYRIGHT_BLOCK_FORMAT % (year, holder)
|
/external/skia/tools/copyright/ |
fileparser.py | 44 """Given a comment block, return a tuple of attributes: (year, holder). 61 DEFAULT_YEAR = datetime.date.today().year 81 def CreateCopyrightBlock(self, year, holder): 85 @param year year in which to hold copyright (defaults to DEFAULT_YEAR) 88 if not year: 89 year = self.DEFAULT_YEAR 92 return self.COPYRIGHT_BLOCK_FORMAT % (year, holder)
|
/external/chromium_org/third_party/icu/source/i18n/ |
japancal.h | 34 * except for the year and era. The ascension of each emperor to the throne 36 * year of ascension as year 1. 38 * Note that in the year of an imperial ascension, there are two possible sets 39 * of year and era values: that for the old era and for the new. For example, a 41 * of that year were in the Showa era, e.g. "January 6, 64 Showa", while the rest 42 * of the year was in the Heisei era, e.g. "January 7, 1 Heisei". This class 105 * Return the extended year defined by the current fields. In the 106 * Japanese calendar case, this is equal to the equivalent extended Gregorian year. 192 * Called by computeJulianDay. Returns the default month (0-based) for the year, [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...] |
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...] |
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...] |
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...] |
coptccal.h | 34 * the 1st month of the Coptic year. 40 * the 2nd month of the Coptic year. 46 * the 3rd month of the Coptic year. 52 * the 4th month of the Coptic year. 58 * the 5th month of the Coptic year. 64 * the 6th month of the Coptic year. 70 * the 7th month of the Coptic year. 76 * the 8th month of the Coptic year. 82 * the 9th month of the Coptic year. 88 * the 10th month of the Coptic year. [all...] |
ethpccal.h | 42 * Constant for መስከረም, the 1st month of the Ethiopic year. 47 * Constant for ጥቅምት, the 2nd month of the Ethiopic year. 52 * Constant for ኅዳር, the 3rd month of the Ethiopic year. 57 * Constant for ታኅሣሥ, the 4th month of the Ethiopic year. 62 * Constant for ጥር, the 5th month of the Ethiopic year. 67 * Constant for የካቲት, the 6th month of the Ethiopic year. 72 * Constant for መጋቢት, the 7th month of the Ethiopic year. 77 * Constant for ሚያዝያ, the 8th month of the Ethiopic year. 82 * Constant for ግንቦት, the 9th month of the Ethiopic year. 87 * Constant for ሰኔ, the 10th month of the Ethiopic year. [all...] |
/external/icu/icu4c/source/i18n/ |
japancal.h | 34 * except for the year and era. The ascension of each emperor to the throne 36 * year of ascension as year 1. 38 * Note that in the year of an imperial ascension, there are two possible sets 39 * of year and era values: that for the old era and for the new. For example, a 41 * of that year were in the Showa era, e.g. "January 6, 64 Showa", while the rest 42 * of the year was in the Heisei era, e.g. "January 7, 1 Heisei". This class 105 * Return the extended year defined by the current fields. In the 106 * Japanese calendar case, this is equal to the equivalent extended Gregorian year. 192 * Called by computeJulianDay. Returns the default month (0-based) for the year, [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...] |
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...] |
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...] |
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...] |
coptccal.h | 34 * the 1st month of the Coptic year. 40 * the 2nd month of the Coptic year. 46 * the 3rd month of the Coptic year. 52 * the 4th month of the Coptic year. 58 * the 5th month of the Coptic year. 64 * the 6th month of the Coptic year. 70 * the 7th month of the Coptic year. 76 * the 8th month of the Coptic year. 82 * the 9th month of the Coptic year. 88 * the 10th month of the Coptic year. [all...] |
ethpccal.h | 42 * Constant for መስከረም, the 1st month of the Ethiopic year. 47 * Constant for ጥቅምት, the 2nd month of the Ethiopic year. 52 * Constant for ኅዳር, the 3rd month of the Ethiopic year. 57 * Constant for ታኅሣሥ, the 4th month of the Ethiopic year. 62 * Constant for ጥር, the 5th month of the Ethiopic year. 67 * Constant for የካቲት, the 6th month of the Ethiopic year. 72 * Constant for መጋቢት, the 7th month of the Ethiopic year. 77 * Constant for ሚያዝያ, the 8th month of the Ethiopic year. 82 * Constant for ግንቦት, the 9th month of the Ethiopic year. 87 * Constant for ሰኔ, the 10th month of the Ethiopic year. [all...] |
/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...] |
/libcore/luni/src/main/java/java/util/ |
GregorianCalendar.java | 42 * the Julian calendar is the leap year rule. The Julian calendar specifies leap 54 * date, leap year rules were applied irregularly, and before 45 BC the Julian 58 * Prior to the institution of the Gregorian calendar, New Year's Day was March 65 * 53. Week 1 for a year is the earliest seven day period starting on 67 * {@code getMinimalDaysInFirstWeek()} days from that year. It thus 70 * Weeks between week 1 of one year and week 1 of the following year are 89 * {@code getFirstDayOfWeek()}. Unlike week 1 of a year, week 1 of a 132 * System.out.println("YEAR: " + calendar.get(Calendar.YEAR)); 681 int year = isSet[YEAR] ? fields[YEAR] : 1970; local 823 int year = 1970; local 1059 int year = 1970; local [all...] |
/external/chromium_org/ui/android/java/src/org/chromium/ui/picker/ |
MonthPickerDialog.java | 16 * @param year The initial year of the dialog. 20 int year, int monthOfYear, double minMonth, double maxMonth) { 21 super(context, callBack, year, monthOfYear, minMonth, maxMonth);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.monitor/ |
plugin.properties | 2 #TODO: update with new year date (search this to find other occurrences to update)
|
/external/chromium_org/v8/src/ |
date.js | 61 function TimeInYear(year) { 62 return DaysInYear(year) * msPerDay; 66 // Compute number of days given a year, month, date. 72 function MakeDay(year, month, date) { 73 if (!$isFinite(year) || !$isFinite(month) || !$isFinite(date)) return NAN; 76 year = TO_INTEGER_MAP_MINUS_ZERO(year); 80 if (year < kMinYear || year > kMaxYear || 85 // Now we rely on year and month being SMIs [all...] |
/external/chromium_org/content/test/data/accessibility/ |
input-types-expected-win.txt | 15 ROLE_SYSTEM_CLIENT name='Date: Month/Day/Year' FOCUSABLE 22 ROLE_SYSTEM_SPINBUTTON name='Year' FOCUSABLE 38 ROLE_SYSTEM_SPINBUTTON name='Year' FOCUSABLE 57 ROLE_SYSTEM_CLIENT name='Month: Month, Year' FOCUSABLE 62 ROLE_SYSTEM_SPINBUTTON name='Year' FOCUSABLE 108 ROLE_SYSTEM_CLIENT name='Week: Week Week, Year' FOCUSABLE 114 ROLE_SYSTEM_SPINBUTTON name='Year' FOCUSABLE
|
/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/icu/icu4c/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`;
|
/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); 190 init(cal.get(Calendar.YEAR), cal.get(Calendar.MONTH), cal.get(Calendar.DAY_OF_MONTH), null) 439 int year = (mYearOptional && !mHasYear) ? NO_YEAR : mYear; local [all...] |