/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 ) );
|
15.9.5.35-1.js | 78 testcases[item++] = new TestCase( SECTION, DateString+".getUTCMonth()", UTCDate.month, DateCase.getUTCMonth() ); 87 testcases[item++] = new TestCase( SECTION, DateString+".getMonth()", LocalDate.month, DateCase.getMonth() ); 104 this.month = 0; 121 d.month = MonthFromTime(t); 129 d.value = TimeClip( MakeDate( MakeDay( d.year, d.month, d.date ), d.time ) ); 134 function SetUTCMonth( t, month, date ) { 136 var MONTH = Number( month ); 139 var RESULT4 = MakeDay(YearFromTime(T), MONTH, DATE );
|
/frameworks/base/core/java/com/android/internal/http/ |
HttpDateTime.java | 55 * Mon can be the full name of the month. 89 int month = Calendar.JANUARY; local 96 month = getMonth(rfcMatcher.group(2)); 102 month = getMonth(ansicMatcher.group(1)); 114 month = Calendar.JANUARY; 120 month, year);
|
/frameworks/base/core/java/android/text/format/ |
DateFormat.java | 44 represent the month. Depending on how many times that character is repeated 48 For the month of September:<br/> 107 This designator indicates the day of the month. 109 Examples for the 9th of the month: 155 This designator indicates the month of the year 163 public static final char MONTH = 'M'; 294 int month = value.indexOf('M'); local 298 if (month >= 0 && day >= 0 && year >= 0) { 300 if (year < month && year < day) { 301 if (month < day) 531 int month = inDate.get(Calendar.MONTH); local [all...] |
/cts/tests/tests/text/src/android/text/format/cts/ |
TimeTest.java | 80 time.month = 2; 86 assertEquals(3, cal.get(Calendar.MONTH)); 88 assertEquals(expectedMonth, time.month); 92 time.month = 2; 95 assertEquals(expectedMonth, time.month); 127 final int month = 5; local 130 time.set(date, month, year); 132 assertEquals(month, time.month); 147 assertEquals(time.month, anotherTime.month) 700 final int month = 6; local [all...] |
/external/bluetooth/glib/glib/ |
gdate.h | 52 typedef guint8 GDateDay; /* day of the month */ 63 /* actual week and month values */ 114 guint month : 4; member in struct:_GDate 124 GDateMonth month, 136 gboolean g_date_valid_month (GDateMonth month) G_GNUC_CONST; 141 GDateMonth month, 182 GDateMonth month); 189 GDateMonth month, 214 guint8 g_date_get_days_in_month (GDateMonth month,
|
/packages/apps/Contacts/src/com/android/contacts/datepicker/ |
DatePickerDialog.java | 49 private static final String MONTH = "month"; 70 * @param monthOfYear The month that was set (0-11) for compatibility 72 * @param dayOfMonth The day of the month that was set. 81 * @param monthOfYear The initial month of the dialog. 96 * @param monthOfYear The initial month of the dialog. 117 * @param monthOfYear The initial month of the dialog. 134 * @param monthOfYear The initial month of the dialog. 176 /* Sometimes the full month is displayed causing the title 194 int month, int day) 226 int month = savedInstanceState.getInt(MONTH); local [all...] |
/external/icu4c/i18n/ |
gregoimp.cpp | 85 double Grego::fieldsToDay(int32_t year, int32_t month, int32_t dom) { 91 DAYS_BEFORE[month + (isLeapYear(year) ? 12 : 0)] + dom; // => month/dom 96 void Grego::dayToFields(double day, int32_t& year, int32_t& month, 129 month = (12 * (doy + correction) + 6) / 367; // zero-based month 130 dom = doy - DAYS_BEFORE[month + (isLeap ? 12 : 0)] + 1; // one-based DOM 134 void Grego::timeToFields(UDate time, int32_t& year, int32_t& month, 139 dayToFields(day, year, month, dom, dow, doy); 148 int32_t Grego::dayOfWeekInMonth(int32_t year, int32_t month, int32_t dom) [all...] |
buddhcal.h | 160 * given month in the given extended year. Subclasses should override 163 * @param month the zero-based month, or 0 if useMonth is false 166 * the given month 168 * day of the given month and year 171 virtual int32_t handleComputeMonthStart(int32_t eyear, int32_t month,
|
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...] |
japancal.h | 192 * Called by computeJulianDay. Returns the default month (0-based) for the year, 193 * taking year and era into account. Will return the first month of the given era, if 201 * Called by computeJulianDay. Returns the default day (1-based) for the month, 203 * era, if the current month is an ascension year and month. 205 * @param mon the month in the year 208 virtual int32_t getDefaultDayInMonth(int32_t eyear, int32_t month);
|
/libcore/luni/src/main/java/javax/xml/datatype/ |
DatatypeFactory.java | 145 * Gregorian year, month, day, hour, minute, and second components defined in Section 5.5.3.2 of [ISO 8601], respectively. 147 * year, month, day, hour, minute, and second. 174 * Gregorian year, month, day, hour, minute, and second components defined in Section 5.5.3.2 of [ISO 8601], respectively. 176 * year, month, day, hour, minute, and second. 191 * {@link java.util.Calendar#MONTH} = {@link java.util.Calendar#JANUARY}, 194 * e.g. leap years have different days in the month = {@link java.util.Calendar#FEBRUARY} 365 * {@link java.util.Calendar#MONTH} = {@link java.util.Calendar#JANUARY}, 368 * e.g. leap years have different days in the month = {@link java.util.Calendar#FEBRUARY} 522 * whose lexical representation contains only year and month components. 561 * whose lexical representation contains only year and month components [all...] |
/external/icu4c/test/intltest/ |
tzrulets.h | 47 UDate getUTCMillis(int32_t year, int32_t month, int32_t dom,
|
/external/wpa_supplicant_6/wpa_supplicant/src/utils/ |
os_win32.c | 55 int os_mktime(int year, int month, int day, int hour, int min, int sec, 62 if (year < 1970 || month < 1 || month > 12 || day < 1 || day > 31 || 69 tm.tm_mon = month - 1;
|
/external/wpa_supplicant_8/src/utils/ |
os_win32.c | 55 int os_mktime(int year, int month, int day, int hour, int min, int sec, 62 if (year < 1970 || month < 1 || month > 12 || day < 1 || day > 31 || 69 tm.tm_mon = month - 1;
|
/frameworks/base/core/tests/coretests/src/android/text/format/ |
TimeTest.java | 35 // + t.month + '-' + t.monthDay 101 // The month numbers are 0-relative, so Jan=0, Feb=1,...Dec=11 133 // The month numbers are 0-relative, so Jan=0, Feb=1,...Dec=11 190 if (local.year != test.year2 || local.month != test.month2 196 local.year, local.month, local.monthDay, local.hour, local.minute); 208 if (local.year != test.year2 || local.month != test.month2 214 local.year, local.month, local.monthDay, local.hour, local.minute); 231 if (local.year != test.year2 || local.month != test.month2 238 local.year, local.month, local.monthDay, local.hour, local.minute, 253 if (local.year != test.year2 || local.month != test.month [all...] |
/external/webkit/Source/WebCore/html/ |
FTPDirectoryDocument.cpp | 180 static bool wasLastDayOfMonth(int year, int month, int day) 183 if (month < 0 || month > 11) 186 if (month == 2) { 198 return lastDays[month] == day; 249 int month = fileTime.tm_mon; local 250 if (month < 0 || month > 11) 251 month = 12; 256 dateString = makeString(months[month], ' ', String::number(fileTime.tm_mday), ", ", String::number(fileTime.tm_year)) [all...] |