/packages/apps/Gallery2/src/com/android/gallery3d/ingest/ui/ |
DateTileView.java | 87 public void setDate(int date, int month, int year) { 94 if (month == mMonth) { 98 if (month != mMonth) { 99 mMonth = month;
|
/external/icu4c/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 | 101 public static final char MONTH = 'M'; 187 * {@code ja_JP} where there is only one length of month. 253 int month = value.indexOf('M'); local 257 if (month >= 0 && day >= 0 && year >= 0) { 259 if (year < month && year < day) { 260 if (month < day) { 265 } else if (month < day) { 271 } else { // day < month 272 if (month < year) { 314 * 3 elements ({@link #DATE}, {@link #MONTH}, and {@link #YEAR}) in the orde [all...] |
Time.java | 74 * Day of month [1-31] 79 * Month [0-11] 81 public int month; field in class:Time 126 public static final int MONTH = 5; 239 int n = DAYS_PER_MONTH[this.month]; 247 case MONTH: 280 this.month = 0; 562 this.month = that.month; 574 public void set(int second, int minute, int hour, int monthDay, int month, int year) [all...] |
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/ |
DayPickerView.java | 47 // Affects when the month selection will change while scrolling up 81 // which month should be displayed/highlighted [0-11] 153 * in range it will move the list so that the first of the month containing 175 * SimpleMonthAdapter.MONTHS_IN_YEAR + day.month; 208 // and if so scroll to the month that contains it 238 * Updates the title and selected month if the view has moved to a new 239 * month. 256 * Sets the month displayed at the top of this view based on time. Override 260 mCurrentMonthDisplayed = date.month; 428 cal.set(day.year, day.month, day.day) 461 int month = firstVisiblePosition % 12; local [all...] |
/external/chromium/base/third_party/nspr/ |
prtime.cc | 135 gregorian_date.month = exploded->tm_month + 1; 216 * each month, where index 1 is January, and day 0 is January 1. 225 * The number of days in a month 372 /* Normalize month and year before mday */ 382 /* Now that month and year are in proper range, normalize mday */ 387 /* the previous month */ 524 TIME_TOKEN month = TT_UNKNOWN; local 552 if (month == TT_UNKNOWN && 555 month = TT_APR; 560 else if (month == TT_UNKNOWN & [all...] |
/external/webkit/Source/JavaScriptCore/wtf/ |
DateMath.cpp | 136 // Day of year for the first day of each month, where index 0 is January, and day 0 is January 1. 311 static inline int monthToDayInYear(int month, bool isLeapYear) 313 return firstDayOfMonth[isLeapYear][month]; 321 double dateToDaysFrom1970(int year, int month, int day) 323 year += month / 12; 325 month %= 12; 326 if (month < 0) { 327 month += 12; 333 int monthday = monthToDayInYear(month, isLeapYear(year)); 471 int month = monthFromDayInYear(dayInYearLocal, leapYear) local 589 long month; local 747 long month = -1; local [all...] |
/external/v8/src/ |
date.js | 90 // Compute number of days given a year, month, date. 91 // Note that month and date can lie outside the normal range. 96 function MakeDay(year, month, date) { 97 if (!$isFinite(year) || !$isFinite(month) || !$isFinite(date)) return $NaN; 101 month = TO_INTEGER_MAP_MINUS_ZERO(month); 105 month < kMinMonth || month > kMaxMonth) { 109 // Now we rely on year and month being SMIs. 110 return %DateMakeDay(year, month) + date - 1 [all...] |
date.h | 149 int year, month, day; local 150 YearMonthDayFromDays(days, &year, &month, &day); 151 int new_days = DaysFromYearMonth(EquivalentYear(year), month) + day - 1; 168 // the corresponding year, month, and day. 169 void YearMonthDayFromDays(int days, int* year, int* month, int* day); 172 // the first day of the given month in the given year. 173 int DaysFromYearMonth(int year, int month); 250 // Year/Month/Day cache.
|
/external/chromium/chrome/browser/ui/webui/ |
history2_ui.h | 72 int* month, 75 // Figure out the query options for a month-wide query. 76 history::QueryOptions CreateMonthQueryOptions(int month);
|
history_ui.h | 68 int* month, 71 // Figure out the query options for a month-wide query. 72 history::QueryOptions CreateMonthQueryOptions(int month);
|
/external/icu4c/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...] |
/frameworks/base/media/libdrm/mobile1/include/parser/ |
parser_rel.h | 82 * Input year and month, return how many days that month have 84 * \param month (in)Input the month 86 * -A positive integer, which is how many days that month have 89 int32_t drm_monthDays(int32_t year, int32_t month); 94 * \param month month of the date 103 int32_t drm_checkDate(int32_t year, int32_t month, int32_t day, int32_t hour, int32_t min, int32_t sec);
|
/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...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Date/ |
15.9.5.24-1.js | 95 testcases[item++] = new TestCase( SECTION, DateString+".getUTCMonth()", UTCDate.month, DateCase.getUTCMonth() ); 104 testcases[item++] = new TestCase( SECTION, DateString+".getMonth()", LocalDate.month, DateCase.getMonth() ); 122 this.month = 0; 139 d.month = MonthFromTime(t); 147 d.value = TimeClip( MakeDate( MakeDay( d.year, d.month, d.date ), d.time ) );
|
15.9.5.24-2.js | 94 testcases[item++] = new TestCase( SECTION, DateString+".getUTCMonth()", UTCDate.month, DateCase.getUTCMonth() ); 103 testcases[item++] = new TestCase( SECTION, DateString+".getMonth()", LocalDate.month, DateCase.getMonth() ); 121 this.month = 0; 138 d.month = MonthFromTime(t); 146 d.value = TimeClip( MakeDate( MakeDay( d.year, d.month, d.date ), d.time ) );
|
15.9.5.24-3.js | 93 testcases[item++] = new TestCase( SECTION, DateString+".getUTCMonth()", UTCDate.month, DateCase.getUTCMonth() ); 102 testcases[item++] = new TestCase( SECTION, DateString+".getMonth()", LocalDate.month, DateCase.getMonth() ); 120 this.month = 0; 137 d.month = MonthFromTime(t); 145 d.value = TimeClip( MakeDate( MakeDay( d.year, d.month, d.date ), d.time ) );
|
15.9.5.24-4.js | 92 testcases[item++] = new TestCase( SECTION, DateString+".getUTCMonth()", UTCDate.month, DateCase.getUTCMonth() ); 101 testcases[item++] = new TestCase( SECTION, DateString+".getMonth()", LocalDate.month, DateCase.getMonth() ); 119 this.month = 0; 136 d.month = MonthFromTime(t); 144 d.value = TimeClip( MakeDate( MakeDay( d.year, d.month, d.date ), d.time ) );
|
15.9.5.24-5.js | 85 testcases[item++] = new TestCase( SECTION, DateString+".getUTCMonth()", UTCDate.month, DateCase.getUTCMonth() ); 94 testcases[item++] = new TestCase( SECTION, DateString+".getMonth()", LocalDate.month, DateCase.getMonth() ); 112 this.month = 0; 129 d.month = MonthFromTime(t); 137 d.value = TimeClip( MakeDate( MakeDay( d.year, d.month, d.date ), d.time ) );
|
15.9.5.24-6.js | 84 testcases[item++] = new TestCase( SECTION, DateString+".getUTCMonth()", UTCDate.month, DateCase.getUTCMonth() ); 93 testcases[item++] = new TestCase( SECTION, DateString+".getMonth()", LocalDate.month, DateCase.getMonth() ); 111 this.month = 0; 128 d.month = MonthFromTime(t); 136 d.value = TimeClip( MakeDate( MakeDay( d.year, d.month, d.date ), d.time ) );
|
15.9.5.24-7.js | 83 testcases[item++] = new TestCase( SECTION, DateString+".getUTCMonth()", UTCDate.month, DateCase.getUTCMonth() ); 92 testcases[item++] = new TestCase( SECTION, DateString+".getMonth()", LocalDate.month, DateCase.getMonth() ); 110 this.month = 0; 127 d.month = MonthFromTime(t); 135 d.value = TimeClip( MakeDate( MakeDay( d.year, d.month, d.date ), d.time ) );
|
15.9.5.24-8.js | 79 testcases[item++] = new TestCase( SECTION, DateString+".getUTCMonth()", UTCDate.month, DateCase.getUTCMonth() ); 88 testcases[item++] = new TestCase( SECTION, DateString+".getMonth()", LocalDate.month, DateCase.getMonth() ); 106 this.month = 0; 123 d.month = MonthFromTime(t); 131 d.value = TimeClip( MakeDate( MakeDay( d.year, d.month, d.date ), d.time ) );
|
/external/wpa_supplicant_8/src/utils/ |
os_win32.c | 50 int os_mktime(int year, int month, int day, int hour, int min, int sec, 57 if (year < 1970 || month < 1 || month > 12 || day < 1 || day > 31 || 64 tm.tm_mon = month - 1; 102 tm->month = tm2->tm_mon + 1;
|