HomeSort by relevance Sort by last modified time
    Searched refs:GregorianCalendar (Results 51 - 75 of 157) sorted by null

1 23 4 5 6 7

  /external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/
Support_MessageFormat.java 25 import java.util.GregorianCalendar;
51 Date date = new GregorianCalendar(2005, 1, 28, 14, 20, 16).getTime();
78 Date date = new GregorianCalendar(2005, 1, 28, 14, 20, 16).getTime();
  /libcore/benchmarks/src/benchmarks/regression/
ExpensiveObjectsBenchmark.java 140 new GregorianCalendar();
145 GregorianCalendar gc = new GregorianCalendar();
  /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/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/
ConsoleTest.java 32 import java.util.GregorianCalendar;
78 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"));
  /external/chromium_org/third_party/icu/source/test/intltest/
calregts.h 75 void printdate(GregorianCalendar *cal, const char *string);
caltest.cpp 450 GregorianCalendar *gc = new GregorianCalendar(*zone, status);
451 if (failure(status, "new GregorianCalendar")) return;
454 gc = new GregorianCalendar(Locale::getEnglish(), status);
455 if (failure(status, "new GregorianCalendar")) return;
458 gc = new GregorianCalendar(Locale::getEnglish(), status);
461 gc = new GregorianCalendar(*zone, Locale::getEnglish(), status);
462 if (failure(status, "new GregorianCalendar")) return;
465 gc = new GregorianCalendar(zone, status);
466 if (failure(status, "new GregorianCalendar")) return
    [all...]
astrotst.cpp 151 GregorianCalendar *cal = new GregorianCalendar(1958, UCAL_AUGUST, 15,status);
270 GregorianCalendar *cal = new GregorianCalendar(tz->clone(), Locale::getUS(), status);
271 GregorianCalendar *cal2 = new GregorianCalendar(tz->clone(), Locale::getUS(), status);
382 GregorianCalendar *cal3 = new GregorianCalendar(TimeZone::getGMT()->clone(), Locale::getUS(), status);
tztest.cpp 165 GregorianCalendar *gc = new GregorianCalendar(*zone, status);
166 if (failure(status, "new GregorianCalendar", TRUE)) return;
173 if (failure(status, "GregorianCalendar::getTime")) return;
183 gc = new GregorianCalendar(*zone, status);
184 if (failure(status, "new GregorianCalendar")) return;
339 GregorianCalendar *gc = new GregorianCalendar(status);
340 if (U_FAILURE(status)) { errln("FAIL: Couldn't create GregorianCalendar"); return; }
342 if (U_FAILURE(status)) { errln("FAIL: GregorianCalendar::setTime failed"); return;
    [all...]
tzregts.cpp 140 GregorianCalendar cal(1997, UCAL_JANUARY, 31, status);
145 failure(status, "new GregorianCalendar");
311 GregorianCalendar *testCal = (GregorianCalendar*)Calendar::createInstance(status);
350 TimeZoneRegressionTest::checkCalendar314(GregorianCalendar *testCal, TimeZone *testTZ)
353 // GregorianCalendar testCal = (GregorianCalendar)aCal.clone();
766 const int32_t GOOD_ERA = GregorianCalendar::AD, GOOD_YEAR = 1998, GOOD_MONTH = UCAL_AUGUST;
772 GOOD, GregorianCalendar::BC, GOOD_YEAR, GOOD_MONTH, GOOD_DAY, GOOD_DOW, GOOD_TIME,
773 GOOD, GregorianCalendar::AD, GOOD_YEAR, GOOD_MONTH, GOOD_DAY, GOOD_DOW, GOOD_TIME
    [all...]
  /external/icu4c/test/intltest/
calregts.h 79 void printdate(GregorianCalendar *cal, const char *string);
astrotst.cpp 151 GregorianCalendar *cal = new GregorianCalendar(1958, UCAL_AUGUST, 15,status);
270 GregorianCalendar *cal = new GregorianCalendar(tz->clone(), Locale::getUS(), status);
271 GregorianCalendar *cal2 = new GregorianCalendar(tz->clone(), Locale::getUS(), status);
382 GregorianCalendar *cal3 = new GregorianCalendar(TimeZone::getGMT()->clone(), Locale::getUS(), status);
caltest.cpp 500 GregorianCalendar *gc = new GregorianCalendar(*zone, status);
501 if (failure(status, "new GregorianCalendar")) return;
504 gc = new GregorianCalendar(Locale::getEnglish(), status);
505 if (failure(status, "new GregorianCalendar")) return;
508 gc = new GregorianCalendar(Locale::getEnglish(), status);
511 gc = new GregorianCalendar(*zone, Locale::getEnglish(), status);
512 if (failure(status, "new GregorianCalendar")) return;
515 gc = new GregorianCalendar(zone, status);
516 if (failure(status, "new GregorianCalendar")) return
    [all...]
tzregts.cpp 140 GregorianCalendar cal(1997, UCAL_JANUARY, 31, status);
145 failure(status, "new GregorianCalendar");
311 GregorianCalendar *testCal = (GregorianCalendar*)Calendar::createInstance(status);
350 TimeZoneRegressionTest::checkCalendar314(GregorianCalendar *testCal, TimeZone *testTZ)
353 // GregorianCalendar testCal = (GregorianCalendar)aCal.clone();
770 const int32_t GOOD_ERA = GregorianCalendar::AD, GOOD_YEAR = 1998, GOOD_MONTH = UCAL_AUGUST;
776 GOOD, GregorianCalendar::BC, GOOD_YEAR, GOOD_MONTH, GOOD_DAY, GOOD_DOW, GOOD_TIME,
777 GOOD, GregorianCalendar::AD, GOOD_YEAR, GOOD_MONTH, GOOD_DAY, GOOD_DOW, GOOD_TIME
    [all...]
  /libcore/luni/src/main/java/java/util/
GregorianCalendar.java 25 * {@code GregorianCalendar} is a concrete subclass of {@link Calendar}
40 * this correctly. Before the Gregorian cutover, {@code GregorianCalendar}
47 * {@code GregorianCalendar} implements <em>proleptic</em> Gregorian
50 * {@code GregorianCalendar} may be used for all years to generate
52 * {@code GregorianCalendar} are historically accurate only from March 1,
124 * // create a GregorianCalendar with the Pacific Daylight time zone
126 * Calendar calendar = new GregorianCalendar(pdt);
184 public class GregorianCalendar extends Calendar {
227 * Constructs a new {@code GregorianCalendar} initialized to the current date and
230 public GregorianCalendar() {
    [all...]
SimpleTimeZone.java 36 * @see GregorianCalendar
343 if (era != GregorianCalendar.BC && era != GregorianCalendar.AD) {
351 if (!useDaylightTime() || era != GregorianCalendar.AD || year < startYear) {
375 daysInMonth = GregorianCalendar.DaysInMonth[startMonth];
418 daysInMonth = GregorianCalendar.DaysInMonth[endMonth];
453 ruleDay += GregorianCalendar.DaysInMonth[ruleMonth];
478 return getOffset(GregorianCalendar.AD, fields[0], fields[1], fields[2],
568 if (day <= 0 || day > GregorianCalendar.DaysInMonth[month]) {
    [all...]
  /libcore/luni/src/test/java/libcore/java/util/
FormatterTest.java 21 import java.util.GregorianCalendar;
168 Calendar c = new GregorianCalendar(utc);
  /developers/build/prebuilts/gradle/BasicAndroidKeyStore/BasicAndroidKeyStoreSample/src/main/java/com/example/android/basicandroidkeystore/
BasicAndroidKeyStoreFragment.java 43 import java.util.GregorianCalendar;
157 Calendar start = new GregorianCalendar();
158 Calendar end = new GregorianCalendar();
  /developers/samples/android/security/keystore/BasicAndroidKeyStore/BasicAndroidKeyStoreSample/src/main/java/com/example/android/basicandroidkeystore/
BasicAndroidKeyStoreFragment.java 43 import java.util.GregorianCalendar;
157 Calendar start = new GregorianCalendar();
158 Calendar end = new GregorianCalendar();
  /development/samples/browseable/BasicAndroidKeyStore/src/com.example.android.basicandroidkeystore/
BasicAndroidKeyStoreFragment.java 43 import java.util.GregorianCalendar;
157 Calendar start = new GregorianCalendar();
158 Calendar end = new GregorianCalendar();
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
TimeZoneTest.java 24 import java.util.GregorianCalendar;
79 long time1 = new GregorianCalendar(1998, Calendar.NOVEMBER, 11)
84 long time2 = new GregorianCalendar(1998, Calendar.JUNE, 11)
  /libcore/luni/src/main/java/javax/xml/datatype/
Duration.java 26 import java.util.GregorianCalendar;
371 Calendar cal = new GregorianCalendar();
535 * a {@link java.util.GregorianCalendar}, then the duration
558 Calendar cal = new GregorianCalendar();
    [all...]
  /packages/apps/ContactsCommon/src/com/android/contacts/common/util/
DateUtils.java 27 import java.util.GregorianCalendar;
247 final GregorianCalendar anniversary = new GregorianCalendar();
  /libcore/luni/src/test/java/libcore/java/text/
SimpleDateFormatTest.java 24 import java.util.GregorianCalendar;
286 Calendar calendar = new GregorianCalendar(AMERICA_LOS_ANGELES);
294 Calendar calendar = new GregorianCalendar(AMERICA_LOS_ANGELES);
303 Calendar calendar = new GregorianCalendar(AUSTRALIA_LORD_HOWE);
311 Calendar calendar = new GregorianCalendar(AUSTRALIA_LORD_HOWE);

Completed in 496 milliseconds

1 23 4 5 6 7