/libcore/luni/src/test/java/libcore/java/text/ |
SimpleDateFormatTest.java | 25 import java.util.GregorianCalendar; 309 Calendar calendar = new GregorianCalendar(AMERICA_LOS_ANGELES); 317 Calendar calendar = new GregorianCalendar(AMERICA_LOS_ANGELES); 326 Calendar calendar = new GregorianCalendar(AUSTRALIA_LORD_HOWE); 334 Calendar calendar = new GregorianCalendar(AUSTRALIA_LORD_HOWE);
|
/libcore/ojluni/src/main/java/java/util/ |
Date.java | 191 * or <code>GregorianCalendar(year + 1900, month, date)</code>. 213 * hrs, min)</code> or <code>GregorianCalendar(year + 1900, 237 * hrs, min, sec)</code> or <code>GregorianCalendar(year + 1900, 310 * hrs, min, sec)</code> or <code>GregorianCalendar(year + 1900, [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/ |
IBMCalendarTest.java | 25 import android.icu.util.GregorianCalendar; 160 // As of JDK 1.4.1_01, using the Sun JDK GregorianCalendar as 208 * behaves like GregorianCalendar. 341 * behaves like GregorianCalendar. 461 * behaves like GregorianCalendar. 464 // First make sure this test works for GregorianCalendar 466 GregorianCalendar.AD, 1868, 1868, Calendar.SEPTEMBER, 8, 467 GregorianCalendar.AD, 1868, 1868, Calendar.SEPTEMBER, 9, 468 GregorianCalendar.AD, 1869, 1869, Calendar.JUNE, 4, 469 GregorianCalendar.AD, 1912, 1912, Calendar.JULY, 29 [all...] |
CopticTest.java | 19 import android.icu.util.GregorianCalendar; 341 Calendar gCal= new GregorianCalendar(); 343 gCal.add(GregorianCalendar.MONTH,2);
|
HolidayTest.java | 17 import android.icu.util.GregorianCalendar; 37 cal = new GregorianCalendar(1, 0, 1); 289 Calendar gcal = new GregorianCalendar();
|
ChineseTest.java | 17 import android.icu.util.GregorianCalendar; 159 GregorianCalendar greg = new GregorianCalendar(1989, Calendar.SEPTEMBER, 1); 334 // not even with a GregorianCalendar! MONTH alone isn't enough 701 Calendar cal = new GregorianCalendar(2005, Calendar.FEBRUARY, 28); 710 Calendar gregorianCalendar; 724 gregorianCalendar = Calendar.getInstance(Locale.US); 725 gregorianCalendar.setTime(chineseCalendar.getTime()); 729 chineseCalendar2.setTimeInMillis(gregorianCalendar.getTimeInMillis()); [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/ |
IBMCalendarTest.java | 24 import com.ibm.icu.util.GregorianCalendar; 156 // As of JDK 1.4.1_01, using the Sun JDK GregorianCalendar as 204 * behaves like GregorianCalendar. 337 * behaves like GregorianCalendar. 457 * behaves like GregorianCalendar. 460 // First make sure this test works for GregorianCalendar 462 GregorianCalendar.AD, 1868, 1868, Calendar.SEPTEMBER, 8, 463 GregorianCalendar.AD, 1868, 1868, Calendar.SEPTEMBER, 9, 464 GregorianCalendar.AD, 1869, 1869, Calendar.JUNE, 4, 465 GregorianCalendar.AD, 1912, 1912, Calendar.JULY, 29 [all...] |
CopticTest.java | 18 import com.ibm.icu.util.GregorianCalendar; 337 Calendar gCal= new GregorianCalendar(); 339 gCal.add(GregorianCalendar.MONTH,2);
|
HolidayTest.java | 16 import com.ibm.icu.util.GregorianCalendar; 33 cal = new GregorianCalendar(1, 0, 1); 285 Calendar gcal = new GregorianCalendar();
|
ChineseTest.java | 16 import com.ibm.icu.util.GregorianCalendar; 155 GregorianCalendar greg = new GregorianCalendar(1989, Calendar.SEPTEMBER, 1); 330 // not even with a GregorianCalendar! MONTH alone isn't enough 697 Calendar cal = new GregorianCalendar(2005, Calendar.FEBRUARY, 28); 706 Calendar gregorianCalendar; 720 gregorianCalendar = Calendar.getInstance(Locale.US); 721 gregorianCalendar.setTime(chineseCalendar.getTime()); 725 chineseCalendar2.setTimeInMillis(gregorianCalendar.getTimeInMillis()); 733 errln("**PROBLEM Grego [MM/dd/y(G) HH:mm:ss] " + simpleDateFormat.format(gregorianCalendar)); [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
SimpleTimeZone.java | 28 * @see GregorianCalendar 669 if ((era != GregorianCalendar.AD && era != GregorianCalendar.BC) 690 if (era != GregorianCalendar.AD && era != GregorianCalendar.BC) { [all...] |
JapaneseCalendar.java | 13 * <code>JapaneseCalendar</code> is a subclass of <code>GregorianCalendar</code> 42 * @see android.icu.util.GregorianCalendar 48 public class JapaneseCalendar extends GregorianCalendar { 581 * Override GregorianCalendar. We should really handle YEAR_WOY and
|
/external/icu/icu4c/source/i18n/ |
simpletz.cpp | 446 if ((era != GregorianCalendar::AD && era != GregorianCalendar::BC) 466 if(!useDaylight || year < startYear || era != GregorianCalendar::AD) 522 savingsDST = getOffset(GregorianCalendar::AD, year, month, dom, 550 savingsDST = getOffset(GregorianCalendar::AD, year, month, dom, 720 // This method is wasteful since it creates a new GregorianCalendar and 724 GregorianCalendar *gc = new GregorianCalendar(*this, status); [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
SimpleTimeZone.java | 27 * @see GregorianCalendar 690 if ((era != GregorianCalendar.AD && era != GregorianCalendar.BC) 711 if (era != GregorianCalendar.AD && era != GregorianCalendar.BC) [all...] |
JapaneseCalendar.java | 12 * <code>JapaneseCalendar</code> is a subclass of <code>GregorianCalendar</code> 41 * @see com.ibm.icu.util.GregorianCalendar 48 public class JapaneseCalendar extends GregorianCalendar { 600 * Override GregorianCalendar. We should really handle YEAR_WOY and
|
/development/samples/NotePad/tests/src/com/example/android/notepad/ |
NotePadProviderTest.java | 35 import java.util.GregorianCalendar; 77 private static final GregorianCalendar TEST_CALENDAR = 78 new GregorianCalendar(2010, Calendar.JANUARY, 1, 0, 0, 0); [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/internal/performance/results/utils/ |
Util.java | 27 import java.util.GregorianCalendar; 462 GregorianCalendar calendar = new GregorianCalendar();
|
/frameworks/base/core/java/android/text/format/ |
DateUtils.java | 29 import java.util.GregorianCalendar; 446 Calendar thenCal = new GregorianCalendar(); 449 Calendar nowCal = new GregorianCalendar(); [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
Support_SimpleDateFormat.java | 26 import java.util.GregorianCalendar; 50 Calendar cal = new GregorianCalendar(tz); 134 Calendar cal = new GregorianCalendar(tz);
|
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/util/ |
TimeZone.java | 12 import java.util.GregorianCalendar; 91 * @see GregorianCalendar [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/ |
TimeZoneOffsetLocalTest.java | 18 import android.icu.util.GregorianCalendar; 166 int offset = TESTZONES[i].getOffset(GregorianCalendar.AD, DATES[d][0], DATES[d][1], DATES[d][2],
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
DisplayNameTest.java | 24 import android.icu.util.GregorianCalendar; 57 Calendar cal = new GregorianCalendar(2004, Calendar.JANUARY, 1);
|
/external/icu/icu4c/source/tools/tzcode/ |
icuzdump.cpp | 191 GregorianCalendar* gcal = new GregorianCalendar(timezone, Locale::getEnglish(), status);
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/ |
TimeZoneOffsetLocalTest.java | 17 import com.ibm.icu.util.GregorianCalendar; 162 int offset = TESTZONES[i].getOffset(GregorianCalendar.AD, DATES[d][0], DATES[d][1], DATES[d][2],
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
DisplayNameTest.java | 23 import com.ibm.icu.util.GregorianCalendar; 53 Calendar cal = new GregorianCalendar(2004, Calendar.JANUARY, 1);
|