/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;
|
/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...] |
/frameworks/base/core/java/android/webkit/ |
DateSorter.java | 30 * one month ago 31 * older than a month ago 62 c.add(Calendar.MONTH, -1); 63 mBins[3] = c.getTimeInMillis(); // One month ago
|
/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.cpp | 78 int32_t eyear, month, day, era, year; local 79 jdToCE(julianDay, getJDEpochOffset(), eyear, month, day); 92 internalSet(UCAL_MONTH, month); 94 internalSet(UCAL_DAY_OF_YEAR, (30 * month) + day); 169 CopticCalendar::copticToJD(int32_t year, int32_t month, int32_t day) 171 return CECalendar::ceToJD(year, month, day, COPTIC_JD_EPOCH_OFFSET);
|
ethpccal.cpp | 104 int32_t eyear, month, day, era, year; local 105 jdToCE(julianDay, getJDEpochOffset(), eyear, month, day); 123 internalSet(UCAL_MONTH, month); 125 internalSet(UCAL_DAY_OF_YEAR, (30 * month) + day); 206 EthiopicCalendar::ethiopicToJD(int32_t year, int32_t month, int32_t date) 208 return ceToJD(year, month, date, JD_EPOCH_OFFSET_AMETE_MIHRET);
|
japancal.cpp | 37 int8_t month; member in struct:__anon2209 40 // Year Month Day 329 int32_t month = 0; local 335 return kEraInfo[era].month-1; 338 return month; 341 int32_t JapaneseCalendar::getDefaultDayInMonth(int32_t eyear, int32_t month) 347 if(month == (kEraInfo[era].month-1)) { 389 // the binary search to handle the month/dom comparison. 412 diff,low, high, i, kEraInfo[i].month-1, kEraInfo[i].day, kEraInfo[i].year, internalGet(UCAL_MONTH), internalGet(UCAL_DATE),year) [all...] |
/external/webkit/JavaScriptCore/tests/mozilla/ecma/Date/ |
15.9.4.3.js | 26 var TITLE = "Date.UTC( year, month, date, hours, minutes, seconds, ms )"; 33 this.month = 0; 41 function utc( year, month, date, hours, minutes, seconds, ms ) { 45 if (month) 46 d.month = Number(month); 62 if (isNaN(month) || isNaN(year) || isNaN(date) || isNaN(hours) || 65 d.month = Number.NaN; 77 d.day = MakeDay( d.year, d.month, d.date ); 179 testcases[item++] = new TestCase( SECTION, DateString+".getUTCMonth()", ExpectDate.month, DateCase.getUTCMonth() ) [all...] |
15.9.5.34-1.js | 158 testcases[item++] = new TestCase( SECTION, DateString+".getUTCMonth()", UTCDate.month, DateCase.getUTCMonth() ); 167 testcases[item++] = new TestCase( SECTION, DateString+".getMonth()", LocalDate.month, DateCase.getMonth() ); 184 this.month = 0; 201 d.month = MonthFromTime(t); 209 d.value = TimeClip( MakeDate( MakeDay( d.year, d.month, d.date ), d.time ) ); 216 var MONTH = Number( mon ); 218 var DAY = MakeDay( YearFromTime(TIME), MONTH, DATE );
|
15.9.5.36-4.js | 138 testcases[item++] = new TestCase( SECTION, DateString+".getUTCMonth()", UTCDate.month, DateCase.getUTCMonth() ); 147 testcases[item++] = new TestCase( SECTION, DateString+".getMonth()", LocalDate.month, DateCase.getMonth() ); 165 this.month = 0; 182 d.month = MonthFromTime(t); 190 d.value = TimeClip( MakeDate( MakeDay( d.year, d.month, d.date ), d.time ) ); 198 var MONTH = ( mon == void 0 ) ? MonthFromTime(T) : Number( mon ); 201 var DAY = MakeDay( YEAR, MONTH, DATE );
|
15.9.5.36-5.js | 125 testcases[item++] = new TestCase( SECTION, DateString+".getUTCMonth()", UTCDate.month, DateCase.getUTCMonth() ); 134 testcases[item++] = new TestCase( SECTION, DateString+".getMonth()", LocalDate.month, DateCase.getMonth() ); 152 this.month = 0; 169 d.month = MonthFromTime(t); 177 d.value = TimeClip( MakeDate( MakeDay( d.year, d.month, d.date ), d.time ) ); 185 var MONTH = ( mon == void 0 ) ? MonthFromTime(T) : Number( mon ); 188 var DAY = MakeDay( YEAR, MONTH, DATE );
|
15.9.5.36-6.js | 112 testcases[item++] = new TestCase( SECTION, DateString+".getUTCMonth()", UTCDate.month, DateCase.getUTCMonth() ); 121 testcases[item++] = new TestCase( SECTION, DateString+".getMonth()", LocalDate.month, DateCase.getMonth() ); 139 this.month = 0; 156 d.month = MonthFromTime(t); 164 d.value = TimeClip( MakeDate( MakeDay( d.year, d.month, d.date ), d.time ) ); 172 var MONTH = ( mon == void 0 ) ? MonthFromTime(T) : Number( mon ); 175 var DAY = MakeDay( YEAR, MONTH, DATE );
|
15.9.5.36-7.js | 97 testcases[item++] = new TestCase( SECTION, DateString+".getUTCMonth()", UTCDate.month, DateCase.getUTCMonth() ); 106 testcases[item++] = new TestCase( SECTION, DateString+".getMonth()", LocalDate.month, DateCase.getMonth() ); 124 this.month = 0; 141 d.month = MonthFromTime(t); 149 d.value = TimeClip( MakeDate( MakeDay( d.year, d.month, d.date ), d.time ) ); 157 var MONTH = ( mon == void 0 ) ? MonthFromTime(T) : Number( mon ); 160 var DAY = MakeDay( YEAR, MONTH, DATE );
|
15.9.5.37-2.js | 144 testcases[item++] = new TestCase( SECTION, DateString+".getUTCMonth()", UTCDate.month, DateCase.getUTCMonth() ); 153 testcases[item++] = new TestCase( SECTION, DateString+".getMonth()", LocalDate.month, DateCase.getMonth() ); 171 this.month = 0; 188 d.month = MonthFromTime(t); 196 d.value = TimeClip( MakeDate( MakeDay( d.year, d.month, d.date ), d.time ) ); 204 var MONTH = ( mon == void 0 ) ? MonthFromTime(T) : Number( mon ); 206 var DAY = MakeDay( YEAR, MONTH, DATE );
|
15.9.5.37-3.js | 130 testcases[item++] = new TestCase( SECTION, DateString+".getUTCMonth()", UTCDate.month, DateCase.getUTCMonth() ); 139 testcases[item++] = new TestCase( SECTION, DateString+".getMonth()", LocalDate.month, DateCase.getMonth() ); 157 this.month = 0; 174 d.month = MonthFromTime(t); 182 d.value = TimeClip( MakeDate( MakeDay( d.year, d.month, d.date ), d.time ) ); 190 var MONTH = ( mon == void 0 ) ? MonthFromTime(T) : Number( mon ); 192 var DAY = MakeDay( YEAR, MONTH, DATE );
|
15.9.5.37-4.js | 112 testcases[item++] = new TestCase( SECTION, DateString+".getUTCMonth()", UTCDate.month, DateCase.getUTCMonth() ); 121 testcases[item++] = new TestCase( SECTION, DateString+".getMonth()", LocalDate.month, DateCase.getMonth() ); 139 this.month = 0; 156 d.month = MonthFromTime(t); 164 d.value = TimeClip( MakeDate( MakeDay( d.year, d.month, d.date ), d.time ) ); 172 var MONTH = ( mon == void 0 ) ? MonthFromTime(T) : Number( mon ); 174 var DAY = MakeDay( YEAR, MONTH, DATE );
|
/external/icu4c/test/cintltst/ |
ccaltst.h | 77 static void verify1(const char* msg, UCalendar* c, UDateFormat* dat, int32_t year, int32_t month, int32_t day); 79 static void verify2(const char* msg, UCalendar* c, UDateFormat* dat, int32_t year, int32_t month, int32_t day,
|
/frameworks/base/core/res/res/layout/ |
date_picker.xml | 31 <!-- Month --> 33 android:id="@+id/month"
|
/frameworks/base/media/libdrm/mobile1/src/jni/ |
drm1_jni.c | 38 #define DAY_PER_MONTH 30 /* Days per month */ 47 /** Accumulated number of days from 01-Jan up to start of current month. */ 304 * \param month the month (1 - 12) 314 uint32_t year, uint32_t month, uint32_t day, 324 && month > 0 && month <= 12 330 day += ydays[month - 1] + (month > 2 && leap (year)) - 1; 347 * <code>date = year * 10000 + month * 100 + day</code 355 int32_t year, month, day, hour, minute, second; local 398 int32_t year, month, day, hour, minute, second; local [all...] |
/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/JavaScriptCore/wtf/ |
DateMath.cpp | 128 // Day of year for the first day of each month, where index 0 is January, and day 0 is January 1. 303 static inline int monthToDayInYear(int month, bool isLeapYear) 305 return firstDayOfMonth[isLeapYear][month]; 313 double dateToDaysFrom1970(int year, int month, int day) 315 year += month / 12; 317 month %= 12; 318 if (month < 0) { 319 month += 12; 325 int monthday = monthToDayInYear(month, isLeapYear(year)); 463 int month = monthFromDayInYear(dayInYearLocal, leapYear) local 583 long month = -1; local [all...] |
/dalvik/libcore/xml/src/main/java/javax/xml/datatype/ |
DatatypeFactory.java | 141 * Gregorian year, month, day, hour, minute, and second components defined in Section 5.5.3.2 of [ISO 8601], respectively. 143 * year, month, day, hour, minute, and second. 170 * Gregorian year, month, day, hour, minute, and second components defined in Section 5.5.3.2 of [ISO 8601], respectively. 172 * year, month, day, hour, minute, and second. 187 * {@link java.util.Calendar#MONTH} = {@link java.util.Calendar#JANUARY}, 190 * e.g. leap years have different days in the month = {@link java.util.Calendar#FEBRUARY} 361 * {@link java.util.Calendar#MONTH} = {@link java.util.Calendar#JANUARY}, 364 * e.g. leap years have different days in the month = {@link java.util.Calendar#FEBRUARY} 518 * whose lexical representation contains only year and month components. 557 * whose lexical representation contains only year and month components [all...] |
/external/icu4c/i18n/unicode/ |
calendar.h | 54 * <code>YEAR</code>, <code>MONTH</code>, <code>DAY</code>, <code>HOUR</code>, 90 * <code>UDate</code> (such as only year and month but no day in the month), 98 * start of the epoch: i.e., YEAR = 1970, MONTH = JANUARY, DATE = 1, etc. 109 * MONTH + DAY_OF_MONTH 110 * MONTH + WEEK_OF_MONTH + DAY_OF_WEEK 111 * MONTH + DAY_OF_WEEK_IN_MONTH + DAY_OF_WEEK 130 * month, day-of-month <em>and</em> day-of-week in some cases. 154 * month up in the date <code>December 12, <b>1996</b></code> results i [all...] |
/dalvik/libcore/luni/src/test/java/tests/api/java/util/ |
GregorianCalendarTest.java | 70 gc.get(Calendar.MONTH) == Calendar.OCTOBER); 94 gc.get(Calendar.MONTH) == Calendar.OCTOBER); 129 gc.get(Calendar.MONTH) == Calendar.OCTOBER); 266 gc1.add(Calendar.MONTH, 7); 268 assertTrue("Wrong result month 1", 269 gc1.get(Calendar.MONTH) == Calendar.FEBRUARY); 274 assertTrue("Wrong result month 2", 275 gc1.get(Calendar.MONTH) == Calendar.FEBRUARY); 334 .get(Calendar.MONTH) == Calendar.APRIL 389 assertTrue("Wrong actual maximum value for MONTH", gc [all...] |