/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/test/ |
AbstractTestLog.java | 11 import java.util.GregorianCalendar; 117 Calendar c = new GregorianCalendar(year, month, day);
|
/libcore/luni/src/test/java/libcore/java/util/ |
SimpleTimeZoneTest.java | 22 import java.util.GregorianCalendar; 210 GregorianCalendar cal = new GregorianCalendar(timeZone, Locale.ENGLISH); 253 Calendar cal = new GregorianCalendar(timeZone, Locale.ENGLISH); 262 GregorianCalendar calendar = new GregorianCalendar(timeZone, Locale.ENGLISH);
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/picker/ |
DatePicker.java | 26 import java.util.GregorianCalendar; 180 GregorianCalendar cal = new GregorianCalendar(year, month, day); 214 final GregorianCalendar calendar = new GregorianCalendar(year, month, 1); 215 int numDays = calendar.getActualMaximum(GregorianCalendar.DAY_OF_MONTH);
|
/external/icu/icu4c/source/test/intltest/ |
calregts.cpp | 135 GregorianCalendar *cal = (GregorianCalendar*)Calendar::createInstance(status); 158 GregorianCalendar *cal = new GregorianCalendar(status); 164 failure(status, "new GregorianCalendar"); 181 GregorianCalendar *cal1 = new GregorianCalendar(status) ; 187 failure(status, "new GregorianCalendar"); 188 GregorianCalendar *cal2 = (GregorianCalendar*) cal1->clone() [all...] |
/cts/tests/tests/widget/src/android/widget/cts/ |
CalendarViewTest.java | 27 import java.util.GregorianCalendar; 47 final long currentDate = new GregorianCalendar().getTime().getTime(); 68 final Calendar newCalendar = new GregorianCalendar(); 89 final Calendar minCalendar = new GregorianCalendar(); 91 final Calendar maxCalendar = new GregorianCalendar();
|
/packages/apps/TV/tests/unit/src/com/android/tv/util/ |
UtilsTest_GetDurationString.java | 23 import java.util.GregorianCalendar; 55 return new GregorianCalendar(getThisYear(), Calendar.JANUARY, date, hour, minutes) 67 return new GregorianCalendar(getThisYear(), Calendar.FEBRUARY, date, hour, minutes) 76 return new GregorianCalendar().get(GregorianCalendar.YEAR);
|
/libcore/ojluni/src/main/java/java/util/ |
GregorianCalendar.java | 54 * <code>GregorianCalendar</code> is a concrete subclass of 58 * <p> <code>GregorianCalendar</code> is a hybrid calendar that 69 * this correctly. Before the Gregorian cutover, <code>GregorianCalendar</code> 76 * <code>GregorianCalendar</code> implements <em>proleptic</em> Gregorian and 79 * <code>GregorianCalendar</code> may be used for all years to generate 81 * <code>GregorianCalendar</code> are historically accurate only from March 1, 4 109 * GregorianCalendar}. <a name="iso8601_compatible_setting">The week 157 * undefined. <code>GregorianCalendar</code> uses the following 161 * summary="GregorianCalendar default field values" 268 * // create a GregorianCalendar with the Pacific Daylight time zon [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/ |
TestCase.java | 15 import android.icu.util.GregorianCalendar; 129 GregorianCalendar greg = new GregorianCalendar(UTC, Locale.getDefault());
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/ |
TestCase.java | 14 import com.ibm.icu.util.GregorianCalendar; 128 GregorianCalendar greg = new GregorianCalendar(UTC, Locale.getDefault());
|
/external/icu/icu4j/samples/src/com/ibm/icu/samples/util/timezone/ |
BasicTimeZoneExample.java | 14 import com.ibm.icu.util.GregorianCalendar; 108 GregorianCalendar cal = new GregorianCalendar(TimeZone.getTimeZone("Etc/GMT"));
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
Support_MessageFormat.java | 25 import java.util.GregorianCalendar; 53 Date date = new GregorianCalendar(2005, 1, 28, 14, 20, 16).getTime(); 82 Date date = new GregorianCalendar(2005, 1, 28, 14, 20, 16).getTime();
|
/libcore/support/src/test/java/tests/support/ |
Support_MessageFormat.java | 25 import java.util.GregorianCalendar; 50 Date date = new GregorianCalendar(2005, 1, 28, 14, 20, 16).getTime(); 77 Date date = new GregorianCalendar(2005, 1, 28, 14, 20, 16).getTime();
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
SimpleDateRule.java | 216 private static GregorianCalendar gCalendar = new GregorianCalendar();
|
SimpleHoliday.java | 148 Calendar start = new GregorianCalendar(startYear, Calendar.JANUARY, 1); 154 Date end = new GregorianCalendar(endYear, Calendar.DECEMBER, 31).getTime();
|
BuddhistCalendar.java | 15 * <code>BuddhistCalendar</code> is a subclass of <code>GregorianCalendar</code> 36 * @see android.icu.util.GregorianCalendar 41 public class BuddhistCalendar extends GregorianCalendar { 213 * Override GregorianCalendar. There is only one Buddhist ERA. We
|
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base.tests/src/com/ibm/icu/tests/ |
DateFormatTest.java | 43 java.util.GregorianCalendar gcal = new java.util.GregorianCalendar(); 45 gcal.set(java.util.GregorianCalendar.YEAR, 1990); 46 gcal.set(java.util.GregorianCalendar.MONTH, java.util.GregorianCalendar.DECEMBER); 47 gcal.set(java.util.GregorianCalendar.DATE, 17); 48 gcal.set(java.util.GregorianCalendar.HOUR, 5); 49 gcal.set(java.util.GregorianCalendar.MINUTE, 17);
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
SimpleDateRule.java | 222 private static GregorianCalendar gCalendar = new GregorianCalendar();
|
SimpleHoliday.java | 153 Calendar start = new GregorianCalendar(startYear, Calendar.JANUARY, 1); 159 Date end = new GregorianCalendar(endYear, Calendar.DECEMBER, 31).getTime();
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
ConsoleTest.java | 31 import java.util.GregorianCalendar; 73 Calendar c = new GregorianCalendar(1983, 2, 21);
|
/libcore/luni/src/test/java/libcore/java/sql/ |
OldResultSetGetterTests.java | 33 import java.util.GregorianCalendar; 411 GregorianCalendar testCal = new GregorianCalendar(1799, Calendar.MAY, 26, 0, 0); 431 GregorianCalendar testCal = new GregorianCalendar(1799, Calendar.MAY, 26, 0, 0); 453 GregorianCalendar testCal = new GregorianCalendar(1799, Calendar.MAY, 26, 0, 0); 473 GregorianCalendar testCal = new GregorianCalendar(1799, Calendar.MAY, 26, 0, 0); 926 Calendar cal = new GregorianCalendar(); [all...] |
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/datetime/ |
DateTime.java | 29 import java.util.GregorianCalendar; 70 Calendar c = new GregorianCalendar(TimeZone.getTimeZone("GMT+0"));
|
/packages/services/Telephony/src/org/apache/james/mime4j/field/datetime/ |
DateTime.java | 29 import java.util.GregorianCalendar; 70 Calendar c = new GregorianCalendar(TimeZone.getTimeZone("GMT+0"));
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/ |
TimeZoneRegression.java | 29 import android.icu.util.GregorianCalendar; 183 GregorianCalendar testCal = (GregorianCalendar)Calendar.getInstance(); 214 boolean checkCalendar314(GregorianCalendar testCal, TimeZone testTZ) { 215 // GregorianCalendar testCal = (GregorianCalendar)aCal.clone(); 563 final int GOOD_ERA=GregorianCalendar.AD, GOOD_YEAR=1998, GOOD_MONTH=Calendar.AUGUST; 568 GOOD, GregorianCalendar.BC, GOOD_YEAR, GOOD_MONTH, GOOD_DAY, GOOD_DOW, GOOD_TIME, 569 GOOD, GregorianCalendar.AD, GOOD_YEAR, GOOD_MONTH, GOOD_DAY, GOOD_DOW, GOOD_TIME, 570 BAD, GregorianCalendar.BC-1, GOOD_YEAR, GOOD_MONTH, GOOD_DAY, GOOD_DOW, GOOD_TIME [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/ |
TimeZoneRegression.java | 28 import com.ibm.icu.util.GregorianCalendar; 179 GregorianCalendar testCal = (GregorianCalendar)Calendar.getInstance(); 210 boolean checkCalendar314(GregorianCalendar testCal, TimeZone testTZ) { 211 // GregorianCalendar testCal = (GregorianCalendar)aCal.clone(); 559 final int GOOD_ERA=GregorianCalendar.AD, GOOD_YEAR=1998, GOOD_MONTH=Calendar.AUGUST; 564 GOOD, GregorianCalendar.BC, GOOD_YEAR, GOOD_MONTH, GOOD_DAY, GOOD_DOW, GOOD_TIME, 565 GOOD, GregorianCalendar.AD, GOOD_YEAR, GOOD_MONTH, GOOD_DAY, GOOD_DOW, GOOD_TIME, 566 BAD, GregorianCalendar.BC-1, GOOD_YEAR, GOOD_MONTH, GOOD_DAY, GOOD_DOW, GOOD_TIME [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/serializable/ |
CalendarTests.java | 20 import android.icu.util.GregorianCalendar; 155 GregorianCalendar calendars[] = new GregorianCalendar[locales.length]; 158 calendars[i] = new GregorianCalendar(pst, locales[i]);
|