/external/nist-sip/java/gov/nist/javax/sip/parser/ |
HeaderParser.java | 90 String month = lexer.ttoken().toLowerCase(); local 91 if (month.equals("jan")) { 92 retval.set(Calendar.MONTH, Calendar.JANUARY); 93 } else if (month.equals("feb")) { 94 retval.set(Calendar.MONTH, Calendar.FEBRUARY); 95 } else if (month.equals("mar")) { 96 retval.set(Calendar.MONTH, Calendar.MARCH); 97 } else if (month.equals("apr")) { 98 retval.set(Calendar.MONTH, Calendar.APRIL); 99 } else if (month.equals("may")) [all...] |
/frameworks/base/core/java/android/util/ |
MonthDisplayHelper.java | 22 * Helps answer common questions that come up when displaying a month in a 32 // holds current month, year, helps compute display 43 * @param month The month. 46 public MonthDisplayHelper(int year, int month, int weekStartDay) { 55 mCalendar.set(Calendar.MONTH, month); 66 public MonthDisplayHelper(int year, int month) { 67 this(year, month, Calendar.SUNDAY); 76 return mCalendar.get(Calendar.MONTH); [all...] |
/libcore/luni/src/test/java/libcore/java/text/ |
SimpleDateFormatTest.java | 62 assertEquals(Calendar.JUNE, parseDate(en, "yyyy-MMMM-dd", "1980-June-12").get(Calendar.MONTH)); 63 assertEquals(Calendar.JUNE, parseDate(en, "yyyy-LLLL-dd", "1980-June-12").get(Calendar.MONTH)); 64 assertEquals(Calendar.JUNE, parseDate(pl, "yyyy-MMMM-dd", "1980-czerwca-12").get(Calendar.MONTH)); 65 assertEquals(Calendar.JUNE, parseDate(pl, "yyyy-LLLL-dd", "1980-czerwiec-12").get(Calendar.MONTH));
|
/libcore/luni/src/test/java/tests/api/java/util/ |
CalendarTest.java | 50 cal.set(Calendar.MONTH, Calendar.MARCH); 60 cal.set(Calendar.MONTH, Calendar.OCTOBER); 62 cal.set(Calendar.MONTH, Calendar.NOVEMBER); 64 assertTrue("Incorrect month: " + cal.get(Calendar.MONTH), cal 65 .get(Calendar.MONTH) == Calendar.NOVEMBER); 122 // WEEK_OF_YEAR has priority over MONTH/DATE 127 cal.set(Calendar.MONTH, Calendar.JANUARY); 133 // WEEK_OF_YEAR has priority over MONTH/DATE 137 cal.set(Calendar.MONTH, Calendar.JANUARY) [all...] |
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...] |
/frameworks/base/core/java/android/app/ |
DatePickerDialog.java | 46 private static final String MONTH = "month"; 67 * @param monthOfYear The month that was set (0-11) for compatibility 69 * @param dayOfMonth The day of the month that was set. 78 * @param monthOfYear The initial month of the dialog. 95 * @param monthOfYear The initial month of the dialog. 134 /* Sometimes the full month is displayed causing the title 152 int month, int day) { 153 updateTitle(year, month, day); 163 private void updateTitle(int year, int month, int day) 183 int month = savedInstanceState.getInt(MONTH); local [all...] |
/libcore/luni/src/main/java/org/apache/harmony/security/asn1/ |
ASN1Time.java | 55 c.set(Calendar.MONTH, in.times[1]-1);
|
/libcore/support/src/test/java/tests/support/ |
Support_TimeZone.java | 47 * let's assume this timezone has daylight savings from the 4th month till 48 * the 10th month of the year to ame things simple. 57 int month = cal.get(Calendar.MONTH); local 59 if (month > 4 && month < 10) {
|
Support_SimpleDateFormat.java | 74 t_FormatWithField(2, format, date, null, Field.MONTH, 17, 18); 108 t_FormatWithField(26, format, date, null, Field.MONTH, 0, 0); 166 v.add(new FieldContainer(4, 6, Field.MONTH)); 180 v.add(new FieldContainer(8, 17, Field.MONTH)); 219 v.add(new FieldContainer(19, 20, Field.MONTH)); 220 v.add(new FieldContainer(21, 23, Field.MONTH)); 221 v.add(new FieldContainer(24, 27, Field.MONTH)); 222 v.add(new FieldContainer(28, 37, Field.MONTH));
|
/libcore/luni/src/main/java/java/util/ |
GregorianCalendar.java | 85 * 1 to 4 or 5. Week 1 of a month (the days with <code>WEEK_OF_MONTH = 88 * contiguous days in that month, ending on the day before 90 * month may be shorter than 7 days, need not start on 92 * previous month. Days of a month before week 1 have a 133 * System.out.println("MONTH: " + calendar.get(Calendar.MONTH)); 158 * System.out.println("MONTH: " + calendar.get(Calendar.MONTH)); 248 * @param month 390 int month = fields[MONTH] + value; local 487 int month = dayOfYear \/ 32; local 798 int month = fields[MONTH]; local 1197 int month = dayOfYear \/ 32; local [all...] |
/external/webkit/WebCore/html/ |
HTMLInputElement.cpp | 180 case MONTH: 223 case MONTH: 285 case MONTH: 306 case MONTH: 342 case MONTH: 379 case MONTH: 419 case MONTH: 466 case MONTH: 524 case MONTH: 578 case MONTH [all...] |
/cts/tests/tests/text/src/android/text/format/cts/ |
DateFormatTest.java | 44 private static final int MONTH = 11; 139 Date date = new Date(YEAR_FROM_1900, MONTH, DAY, HOUR, MINUTE); 168 Calendar calendar = new GregorianCalendar(YEAR, MONTH, DAY); 171 Date formatDate = new Date(YEAR_FROM_1900, MONTH, DAY);
|
/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...] |
/external/webkit/JavaScriptCore/tests/mozilla/ecma/Date/ |
15.9.3.1-2.js | 24 ECMA Section: 15.9.3.1 new Date (year, month, date, hours, minutes, seconds, ms) 32 2. Call ToNumber(month) 59 var TITLE = "new Date( year, month, date, hours, minutes, seconds, ms )"; 72 var MONTH = 10; 211 testcases[item++] = new TestCase( SECTION, DateString+".getMonth()", ResultArray[MONTH], DateCase.getMonth() );
|
15.9.3.1-3.js | 24 ECMA Section: 15.9.3.1 new Date (year, month, date, hours, minutes, seconds, ms) 32 2. Call ToNumber(month) 59 var TITLE = "new Date( year, month, date, hours, minutes, seconds, ms )"; 72 var MONTH = 10; 189 testcases[item++] = new TestCase( SECTION, DateString+".getMonth()", ResultArray[MONTH], DateCase.getMonth() );
|
15.9.3.1-4.js | 24 ECMA Section: 15.9.3.1 new Date (year, month, date, hours, minutes, seconds, ms) 32 2. Call ToNumber(month) 59 var TITLE = "new Date( year, month, date, hours, minutes, seconds, ms )"; 72 var MONTH = 10; 173 testcases[item++] = new TestCase( SECTION, DateString+".getMonth()", ResultArray[MONTH], DateCase.getMonth() );
|
15.9.3.1-5.js | 24 ECMA Section: 15.9.3.1 new Date (year, month, date, hours, minutes, seconds, ms) 32 2. Call ToNumber(month) 59 var TITLE = "new Date( year, month, date, hours, minutes, seconds, ms )"; 72 var MONTH = 10; 150 testcases[item++] = new TestCase( SECTION, DateString+".getMonth()", ResultArray[MONTH], DateCase.getMonth() );
|
15.9.3.2-1.js | 24 ECMA Section: 15.9.3.1 new Date (year, month, date, hours, minutes, seconds, ms) 32 2. Call ToNumber(month) 67 var MONTH = 10; 77 var TITLE = "Date( year, month, date, hours, minutes, seconds )"; 220 testcases[item++] = new TestCase( SECTION, DateString+".getMonth()", ResultArray[MONTH], DateCase.getMonth() );
|
15.9.3.2-2.js | 24 ECMA Section: 15.9.3.1 new Date (year, month, date, hours, minutes, seconds, ms) 32 2. Call ToNumber(month) 67 var MONTH = 10; 77 var TITLE = "Date( year, month, date, hours, minutes, seconds )"; 198 testcases[item++] = new TestCase( SECTION, DateString+".getMonth()", ResultArray[MONTH], DateCase.getMonth() );
|
15.9.3.2-3.js | 24 ECMA Section: 15.9.3.1 new Date (year, month, date, hours, minutes, seconds, ms) 32 2. Call ToNumber(month) 67 var MONTH = 10; 77 var TITLE = "Date( year, month, date, hours, minutes, seconds )"; 184 testcases[item++] = new TestCase( SECTION, DateString+".getMonth()", ResultArray[MONTH], DateCase.getMonth() );
|
15.9.3.2-4.js | 24 ECMA Section: 15.9.3.1 new Date (year, month, date, hours, minutes, seconds, ms) 32 2. Call ToNumber(month) 67 var MONTH = 10; 77 var TITLE = "Date( year, month, date, hours, minutes, seconds )"; 167 testcases[item++] = new TestCase( SECTION, DateString+".getMonth()", ResultArray[MONTH], DateCase.getMonth() );
|
15.9.3.2-5.js | 24 ECMA Section: 15.9.3.1 new Date (year, month, date, hours, minutes, seconds, ms) 32 2. Call ToNumber(month) 67 var MONTH = 10; 77 var TITLE = "Date( year, month, date, hours, minutes, seconds )"; 149 testcases[item++] = new TestCase( SECTION, DateString+".getMonth()", ResultArray[MONTH], DateCase.getMonth() );
|
15.9.3.8-1.js | 68 var MONTH = 10; 278 testcases[item++] = new TestCase( SECTION, DateString+".getMonth()", ResultArray[MONTH], DateCase.getMonth() );
|
15.9.3.8-2.js | 68 var MONTH = 10; 253 testcases[item++] = new TestCase( SECTION, DateString+".getMonth()", ResultArray[MONTH], DateCase.getMonth() );
|
15.9.3.8-3.js | 68 var MONTH = 10; 231 testcases[item++] = new TestCase( SECTION, DateString+".getMonth()", ResultArray[MONTH], DateCase.getMonth() );
|