/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/ |
DatePickerController.java | 31 void onDayOfMonthSelected(int year, int month, int day);
|
DayPickerView.java | 50 // Affects when the month selection will change while scrolling up 83 // which month should be displayed/highlighted [0-11] 165 * in range it will move the list so that the first of the month containing 187 * MonthAdapter.MONTHS_IN_YEAR + day.month; 220 // and if so scroll to the month that contains it 250 * Updates the title and selected month if the view has moved to a new 251 * month. 268 * Sets the month displayed at the top of this view based on time. Override 272 mCurrentMonthDisplayed = date.month; 442 cal.set(day.year, day.month, day.day) 475 int month = firstVisiblePosition % 12; local [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/ui/ |
DateTileView.java | 91 public void setDate(int date, int month, int year) { 98 if (month == mMonth) { 102 if (month != mMonth) { 103 mMonth = month;
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/picker/ |
DatePicker.java | 61 * of the fields Year, Month and Day to be displayed in the DatePicker. 71 * of the fields Year, Month and Day to be displayed in the DatePicker. 82 * of the fields Year, Month and Day to be displayed in the DatePicker. 146 mInitMonth = cal.get(Calendar.MONTH); 186 protected boolean setDate(int year, int month, int day) { 195 GregorianCalendar cal = new GregorianCalendar(year, month, day); 203 mSelectedMonth = mConstant.months[month]; 206 updateSelection(mColMonthIndex, month); 218 if (month == 1) { 224 } else if ((month == 3) || (month == 5) || (month == 8) || (month == 10)) [all...] |
/external/chromium_org/third_party/icu/source/i18n/ |
gregocal.cpp | 81 { 0, 0, 11, 11}, // MONTH 111 * MONTH 0 0 11 11 220 GregorianCalendar::GregorianCalendar(int32_t year, int32_t month, int32_t date, 229 set(UCAL_MONTH, month); 235 GregorianCalendar::GregorianCalendar(int32_t year, int32_t month, int32_t date, 244 set(UCAL_MONTH, month); 252 GregorianCalendar::GregorianCalendar(int32_t year, int32_t month, int32_t date, 262 set(UCAL_MONTH, month); 367 int32_t eyear, month, dayOfMonth, dayOfYear, unusedRemainder; local 381 month = getGregorianMonth() [all...] |
indiancal.h | 37 * Month Length Start date (Gregorian) 77 * Constant for Chaitra, the 1st month of the Indian year. 82 * Constant for Vaisakha, the 2nd month of the Indian year. 87 * Constant for Jyaistha, the 3rd month of the Indian year. 92 * Constant for Asadha, the 4th month of the Indian year. 97 * Constant for Sravana, the 5th month of the Indian year. 102 * Constant for Bhadra the 6th month of the Indian year 107 * Constant for the Asvina, the 7th month of the Indian year. 112 * Constant for Kartika, the 8th month of the Indian year. 117 * Constant for Agrahayana, the 9th month of the Indian year. [all...] |
/external/icu/icu4c/source/i18n/ |
gregocal.cpp | 81 { 0, 0, 11, 11}, // MONTH 111 * MONTH 0 0 11 11 220 GregorianCalendar::GregorianCalendar(int32_t year, int32_t month, int32_t date, 229 set(UCAL_MONTH, month); 235 GregorianCalendar::GregorianCalendar(int32_t year, int32_t month, int32_t date, 244 set(UCAL_MONTH, month); 252 GregorianCalendar::GregorianCalendar(int32_t year, int32_t month, int32_t date, 262 set(UCAL_MONTH, month); 367 int32_t eyear, month, dayOfMonth, dayOfYear, unusedRemainder; local 381 month = getGregorianMonth() [all...] |
indiancal.h | 37 * Month Length Start date (Gregorian) 77 * Constant for Chaitra, the 1st month of the Indian year. 82 * Constant for Vaisakha, the 2nd month of the Indian year. 87 * Constant for Jyaistha, the 3rd month of the Indian year. 92 * Constant for Asadha, the 4th month of the Indian year. 97 * Constant for Sravana, the 5th month of the Indian year. 102 * Constant for Bhadra the 6th month of the Indian year 107 * Constant for the Asvina, the 7th month of the Indian year. 112 * Constant for Kartika, the 8th month of the Indian year. 117 * Constant for Agrahayana, the 9th month of the Indian year. [all...] |
/frameworks/base/core/java/android/text/format/ |
DateFormat.java | 128 public static final char MONTH = 'M'; 238 * {@code ja_JP} where there is only one length of month. 315 int month = value.indexOf('M'); local 319 if (month >= 0 && day >= 0 && year >= 0) { 321 if (year < month && year < day) { 322 if (month < day) { 327 } else if (month < day) { 333 } else { // day < month 334 if (month < year) { 372 * array containing the day ({@code 'd'}), month ({@code 'M'}), and year ({@code 'y'}) [all...] |
/external/chromium_org/base/third_party/nspr/ |
prtime.cc | 144 gregorian_date.month = exploded->tm_month + 1; 225 * each month, where index 1 is January, and day 0 is January 1. 234 * The number of days in a month 381 /* Normalize month and year before mday */ 391 /* Now that month and year are in proper range, normalize mday */ 396 /* the previous month */ 530 TIME_TOKEN month = TT_UNKNOWN; local 559 if (month == TT_UNKNOWN && 562 month = TT_APR; 567 else if (month == TT_UNKNOWN & [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
calendar.py | 14 "monthcalendar", "prmonth", "month", "prcal", "calendar", 22 def __init__(self, month): 23 self.month = month 25 return "bad month number %r; must be 1-12" % self.month 39 # Number of days per month (except for February in leap years) 42 # This module used to have hard-coded lists of day and month names, as 110 def weekday(year, month, day): 111 """Return weekday (0-6 ~ Mon-Sun) for year (1970-...), month (1-12) 585 month = c.formatmonth variable [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
calendar.py | 14 "monthcalendar", "prmonth", "month", "prcal", "calendar", 22 def __init__(self, month): 23 self.month = month 25 return "bad month number %r; must be 1-12" % self.month 39 # Number of days per month (except for February in leap years) 42 # This module used to have hard-coded lists of day and month names, as 110 def weekday(year, month, day): 111 """Return weekday (0-6 ~ Mon-Sun) for year (1970-...), month (1-12) 585 month = c.formatmonth variable [all...] |
/external/chromium_org/v8/src/ |
date.js | 66 // Compute number of days given a year, month, date. 67 // Note that month and date can lie outside the normal range. 72 function MakeDay(year, month, date) { 73 if (!$isFinite(year) || !$isFinite(month) || !$isFinite(date)) return NAN; 77 month = TO_INTEGER_MAP_MINUS_ZERO(month); 81 month < kMinMonth || month > kMaxMonth) { 85 // Now we rely on year and month being SMIs. 86 return %DateMakeDay(year | 0, month | 0) + date - 1 [all...] |
date.h | 167 int year, month, day; local 168 YearMonthDayFromDays(days, &year, &month, &day); 169 int new_days = DaysFromYearMonth(EquivalentYear(year), month) + day - 1; 186 // the corresponding year, month, and day. 187 void YearMonthDayFromDays(int days, int* year, int* month, int* day); 190 // the first day of the given month in the given year. 191 int DaysFromYearMonth(int year, int month); 269 // Year/Month/Day cache.
|
/external/chromium_org/third_party/icu/source/i18n/unicode/ |
vtzone.h | 204 * @param month The reference date's month (0-based; 0 is January) 205 * @param day The reference date's day-in-month (1-based) 212 virtual int32_t getOffset(uint8_t era, int32_t year, int32_t month, int32_t day, 225 * @param month The reference date's month (0-based; 0 is January) 226 * @param day The reference date's day-in-month (1-based) 229 * @param monthLength The length of the given month in days. 234 virtual int32_t getOffset(uint8_t era, int32_t year, int32_t month, int32_t day, 388 int32_t month, int32_t dayOfMonth, UDate startTime, UDate untilTime [all...] |
/external/icu/icu4c/source/i18n/unicode/ |
vtzone.h | 204 * @param month The reference date's month (0-based; 0 is January) 205 * @param day The reference date's day-in-month (1-based) 212 virtual int32_t getOffset(uint8_t era, int32_t year, int32_t month, int32_t day, 225 * @param month The reference date's month (0-based; 0 is January) 226 * @param day The reference date's day-in-month (1-based) 229 * @param monthLength The length of the given month in days. 234 virtual int32_t getOffset(uint8_t era, int32_t year, int32_t month, int32_t day, 388 int32_t month, int32_t dayOfMonth, UDate startTime, UDate untilTime [all...] |
/frameworks/base/core/java/android/util/ |
DayOfMonthCursor.java | 20 * Helps control and display a month view of a calendar that has a current 23 * <li>Keeps track of current month, day, year</li> 29 * This should be used by anyone who presents a month view to users and wishes 31 * mind about when to flip the month, we can change it here only. 42 * @param month The initial month. 48 public DayOfMonthCursor(int year, int month, int dayOfMonth, int weekStartDay) { 49 super(year, month, weekStartDay); 73 * @return 0 if the selection is in the current month, otherwise -1 or +1 96 * Move up one box, potentially flipping to the previous month [all...] |
/packages/apps/Calendar/src/com/android/calendar/ |
DayOfMonthCursor.java | 22 * Helps control and display a month view of a calendar that has a current 25 * <li>Keeps track of current month, day, year</li> 31 * This should be used by anyone who presents a month view to users and wishes 33 * mind about when to flip the month, we can change it here only. 44 * @param month The initial month. 50 public DayOfMonthCursor(int year, int month, int dayOfMonth, int weekStartDay) { 51 super(year, month, weekStartDay); 75 * @return 0 if the selection is in the current month, otherwise -1 or +1 98 * Move up one box, potentially flipping to the previous month [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/sqlite3/ |
dbapi2.py | 67 year, month, day = map(int, datepart.split("-")) 75 val = datetime.datetime(year, month, day, hours, minutes, seconds, microseconds)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/sqlite3/ |
dbapi2.py | 67 year, month, day = map(int, datepart.split("-")) 75 val = datetime.datetime(year, month, day, hours, minutes, seconds, microseconds)
|
/external/chromium_org/components/autofill/core/browser/ |
credit_card.cc | 59 bool ConvertMonth(const base::string16& month, 62 // If the |month| is empty, clear the stored value. 63 if (month.empty()) { 68 // Try parsing the |month| as a number. 69 if (base::StringToInt(month, num)) 76 // Otherwise, try parsing the |month| as a named month, e.g. "January" or 78 base::string16 lowercased_month = base::StringToLowerASCII(month); 294 base::string16 month = ExpirationMonthAsString(); local 296 if (!month.empty() && !year.empty() 302 base::string16 month = ExpirationMonthAsString(); local 407 int month; local 625 int month; local [all...] |
validation.cc | 20 const base::string16& month, 24 base::TrimWhitespace(month, base::TRIM_ALL, &month_cleaned); 40 int month, 48 if (year == now_exploded.year && month < now_exploded.month)
|
/external/chromium_org/net/ftp/ |
ftp_util_unittest.cc | 124 const char* month; member in struct:__anon13865::__anon13869 168 kTestCases[i].month, kTestCases[i].day, 173 UTF8ToUTF16(kTestCases[i].month), UTF8ToUTF16(kTestCases[i].day), 179 EXPECT_EQ(kTestCases[i].expected_month, time_exploded.month); 220 EXPECT_EQ(kTestCases[i].expected_month, time_exploded.month);
|
/external/chromium_org/third_party/lcov/bin/ |
updateversion.pl | 47 my ($sec, $min, $hour, $year, $month, $day); 51 ($sec, $min, $hour, $day, $month, $year) = localtime($stat[9]); 53 $month += 1; 55 return (sprintf("%04d-%02d-%02d", $year, $month, $day), 56 sprintf("%04d%02d%02d%02d%02d.%02d", $year, $month, $day,
|
/external/lzma/CPP/Windows/ |
Time.cpp | 143 bool GetSecondsSince1601(unsigned year, unsigned month, unsigned day,
147 if (year < kFileTimeStartYear || year >= 10000 || month < 1 || month > 12 ||
155 month--;
156 for (unsigned i = 0; i < month; i++)
|