HomeSort by relevance Sort by last modified time
    Searched refs:GregorianCalendar (Results 1 - 25 of 109) sorted by null

1 2 3 4 5

  /libcore/luni/src/test/java/libcore/java/util/
OldGregorianCalendarTest.java 22 import java.util.GregorianCalendar;
30 // Test for method java.util.GregorianCalendar(java.util.TimeZone, java.util.Locale)
33 GregorianCalendar gc1 = new GregorianCalendar(TimeZone.getTimeZone("GMT+1"), Locale.FRANCE);
35 GregorianCalendar gc2 = new GregorianCalendar(TimeZone.getTimeZone("GMT+2"), Locale.US);
42 GregorianCalendar g1 = new GregorianCalendar(TimeZone.getTimeZone("Europe/Moscow"));
55 GregorianCalendar g = new GregorianCalendar(
    [all...]
CalendarTest.java 20 import java.util.GregorianCalendar;
52 Calendar calendar = new GregorianCalendar(AMERICA_SAO_PAULO);
68 Calendar calendar = new GregorianCalendar(AMERICA_SAO_PAULO);
77 Calendar calendar = new GregorianCalendar(AMERICA_SAO_PAULO);
86 Calendar calendar = new GregorianCalendar(AMERICA_SAO_PAULO);
95 Calendar calendar = new GregorianCalendar(AMERICA_SAO_PAULO);
104 Calendar calendar = new GregorianCalendar(AMERICA_SAO_PAULO);
113 Calendar calendar = new GregorianCalendar(AUSTRALIA_LORD_HOWE);
124 Calendar calendar = new GregorianCalendar(AUSTRALIA_LORD_HOWE);
148 Calendar calendar = new GregorianCalendar(timeZone)
    [all...]
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
GregorianCalendarTest.java 23 import java.util.GregorianCalendar;
32 * @tests java.util.GregorianCalendar#GregorianCalendar()
35 // Test for method java.util.GregorianCalendar()
36 assertTrue("Constructed incorrect calendar", (new GregorianCalendar()
41 * @tests java.util.GregorianCalendar#GregorianCalendar(int, int, int)
44 // Test for method java.util.GregorianCalendar(int, int, int)
45 GregorianCalendar gc = new GregorianCalendar(1972, Calendar.OCTOBER, 13)
    [all...]
DateTest.java 22 import java.util.GregorianCalendar;
48 GregorianCalendar gc = new GregorianCalendar(1998, Calendar.OCTOBER,
69 Calendar cal = new GregorianCalendar(1999, Calendar.JUNE, 22);
206 Date d = new GregorianCalendar(1998, Calendar.OCTOBER, 13, 19, 9)
216 Date d = new GregorianCalendar(1998, Calendar.OCTOBER, 13, 19, 9)
226 Date d = new GregorianCalendar(1998, Calendar.OCTOBER, 13, 19, 9)
236 Date d = new GregorianCalendar(1998, Calendar.OCTOBER, 13, 19, 9)
246 Date d = new GregorianCalendar(1998, Calendar.OCTOBER, 13, 19, 9)
256 Date d = new GregorianCalendar(1998, Calendar.OCTOBER, 13, 19, 9
    [all...]
SimpleTimeZoneTest.java 22 import java.util.GregorianCalendar;
57 .inDaylightTime(new GregorianCalendar(1998, Calendar.NOVEMBER,
60 .inDaylightTime(new GregorianCalendar(1998, Calendar.OCTOBER,
78 .inDaylightTime(new GregorianCalendar(1998, Calendar.NOVEMBER,
81 .inDaylightTime(new GregorianCalendar(1998, Calendar.OCTOBER,
194 GregorianCalendar.AD, 1998, Calendar.NOVEMBER, 11,
199 .getOffset(GregorianCalendar.AD, 1998, Calendar.JUNE, 11,
262 GregorianCalendar gc = new GregorianCalendar(1998, Calendar.JUNE, 11);
265 gc = new GregorianCalendar(1998, Calendar.NOVEMBER, 11)
    [all...]
  /external/icu4c/i18n/unicode/
gregocal.h 72 * <p>Example for using GregorianCalendar:
93 * // create a GregorianCalendar with the Pacific Daylight time zone
95 * Calendar* calendar = new GregorianCalendar( pdt, success );
149 class U_I18N_API GregorianCalendar: public Calendar {
153 * Useful constants for GregorianCalendar and TimeZone.
162 * Constructs a default GregorianCalendar using the current time in the default time
165 * @param success Indicates the status of GregorianCalendar object construction.
169 GregorianCalendar(UErrorCode& success);
172 * Constructs a GregorianCalendar based on the current time in the given time zone
177 * @param success Indicates the status of GregorianCalendar object construction
    [all...]
  /external/icu4c/i18n/
gregocal.cpp 51 // class GregorianCalendar
138 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(GregorianCalendar)
145 //const UDate GregorianCalendar::kPapalCutover = -12219292800000L;
152 GregorianCalendar::GregorianCalendar(UErrorCode& status)
163 GregorianCalendar::GregorianCalendar(TimeZone* zone, UErrorCode& status)
174 GregorianCalendar::GregorianCalendar(const TimeZone& zone, UErrorCode& status)
185 GregorianCalendar::GregorianCalendar(const Locale& aLocale, UErrorCode& status
    [all...]
buddhcal.cpp 34 : GregorianCalendar(aLocale, success)
44 : GregorianCalendar(source)
50 GregorianCalendar::operator=(right);
83 return GregorianCalendar::handleComputeMonthStart(eyear, month, useMonth);
88 GregorianCalendar::handleComputeFields(julianDay, status);
99 return GregorianCalendar::handleGetLimit(field,limitType);
111 if(era == GregorianCalendar::BC) {
114 } else if(era == GregorianCalendar::AD) {
taiwncal.cpp 34 : GregorianCalendar(aLocale, success)
44 : GregorianCalendar(source)
50 GregorianCalendar::operator=(right);
86 GregorianCalendar::handleComputeFields(julianDay, status);
106 return GregorianCalendar::handleGetLimit(field,limitType);
118 if(era == GregorianCalendar::BC) {
121 } else if(era == GregorianCalendar::AD) {
japancal.cpp 294 : GregorianCalendar(aLocale, success)
304 : GregorianCalendar(source)
310 GregorianCalendar::operator=(right);
381 GregorianCalendar::handleComputeFields(julianDay, status);
494 return GregorianCalendar::handleGetLimit(UCAL_YEAR, UCAL_LIMIT_MAXIMUM) - kEraInfo[kCurrentEra].year;
500 return GregorianCalendar::handleGetLimit(field,limitType);
526 return GregorianCalendar::getActualMaximum(field, status);
  /external/apache-harmony/support/src/test/java/tests/support/
Support_TimeZone.java 21 import java.util.GregorianCalendar;
55 GregorianCalendar cal = new GregorianCalendar();
  /libcore/luni/src/main/java/org/apache/harmony/security/asn1/
ASN1Time.java 27 import java.util.GregorianCalendar;
44 GregorianCalendar c = new GregorianCalendar(TimeZone.getTimeZone("GMT"));
  /external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/
SimpleDateFormatTest.java 27 import java.util.GregorianCalendar;
341 Calendar cal = new GregorianCalendar(1999, Calendar.JUNE, 2, 15, 3, 6);
345 test.test(" G", new GregorianCalendar(-1999, Calendar.JUNE, 2), " BC",
350 test.test(" yy", new GregorianCalendar(2001, Calendar.JUNE, 2), " 01",
352 test.test(" yy", new GregorianCalendar(2000, Calendar.JUNE, 2), " 00",
354 test.test(" yyy", new GregorianCalendar(2000, Calendar.JUNE, 2), " 2000",
361 test.test(" M", new GregorianCalendar(1999, Calendar.NOVEMBER, 2),
370 test.test(" d", new GregorianCalendar(1999, Calendar.NOVEMBER, 12),
376 test.test(" h", new GregorianCalendar(1999, Calendar.NOVEMBER, 12),
383 new GregorianCalendar(1999, Calendar.NOVEMBER, 12, 4, 0), " 4"
    [all...]
  /libcore/luni/src/main/java/java/util/
Date.java 34 * @see GregorianCalendar
66 * {@link GregorianCalendar#GregorianCalendar(int, int, int)}
70 GregorianCalendar cal = new GregorianCalendar(false);
91 * {@link GregorianCalendar#GregorianCalendar(int, int, int, int, int)}
95 GregorianCalendar cal = new GregorianCalendar(false);
118 * {@link GregorianCalendar#GregorianCalendar(int, int, int, int, int, int)
    [all...]
  /libcore/luni/src/test/java/tests/api/java/util/
DateTest.java 22 import java.util.GregorianCalendar;
33 GregorianCalendar gc = new GregorianCalendar(1998, Calendar.OCTOBER,
54 Calendar cal = new GregorianCalendar(1999, Calendar.JUNE, 22);
210 Date d = new GregorianCalendar(1998, Calendar.OCTOBER, 13, 19, 9)
220 Date d = new GregorianCalendar(1998, Calendar.OCTOBER, 13, 19, 9)
230 Date d = new GregorianCalendar(1998, Calendar.OCTOBER, 13, 19, 9)
240 Date d = new GregorianCalendar(1998, Calendar.OCTOBER, 13, 19, 9)
250 Date d = new GregorianCalendar(1998, Calendar.OCTOBER, 13, 19, 9)
260 Date d = new GregorianCalendar(1998, Calendar.OCTOBER, 13, 19, 9
    [all...]
SimpleTimeZoneTest.java 22 import java.util.GregorianCalendar;
57 .inDaylightTime(new GregorianCalendar(1998, Calendar.NOVEMBER,
60 .inDaylightTime(new GregorianCalendar(1998, Calendar.OCTOBER,
114 .inDaylightTime(new GregorianCalendar(1998, Calendar.NOVEMBER,
117 .inDaylightTime(new GregorianCalendar(1998, Calendar.OCTOBER,
301 GregorianCalendar.AD, 1998, Calendar.NOVEMBER, 11,
306 .getOffset(GregorianCalendar.AD, 1998, Calendar.JUNE, 11,
405 GregorianCalendar gc = new GregorianCalendar(1998, Calendar.JUNE, 11);
409 gc = new GregorianCalendar(1998, Calendar.NOVEMBER, 11)
    [all...]
  /external/javassist/sample/evolve/
WebPage.java 13 Calendar c = new GregorianCalendar();
  /external/javassist/sample/evolve/sample/evolve/
WebPage.java 14 Calendar c = new GregorianCalendar();
  /frameworks/base/core/tests/coretests/src/android/provider/
SmsProviderTest.java 27 import java.util.GregorianCalendar;
42 Long.toString(new GregorianCalendar(1970, 1, 1, 0, 0, 0).getTimeInMillis()),
43 Long.toString(new GregorianCalendar(1971, 2, 13, 16, 35, 3).getTimeInMillis()),
44 Long.toString(new GregorianCalendar(1978, 10, 22, 0, 1, 0).getTimeInMillis()),
45 Long.toString(new GregorianCalendar(1980, 1, 11, 10, 22, 30).getTimeInMillis()),
  /development/samples/MySampleRss/src/com/example/codelab/rssexample/
RssService.java 38 import java.util.GregorianCalendar;
51 private GregorianCalendar mLastCheckedTime; // Time we last checked our feeds.
79 mLastCheckedTime = new GregorianCalendar();
123 GregorianCalendar nextCheckTime = new GregorianCalendar();
124 nextCheckTime = (GregorianCalendar) mLastCheckedTime.clone();
125 nextCheckTime.add(GregorianCalendar.MINUTE, UPDATE_FREQUENCY_IN_MINUTES);
132 long timeTillNextUpdate = mLastCheckedTime.getTimeInMillis() - GregorianCalendar.getInstance().getTimeInMillis();
176 GregorianCalendar feedPubDate = parseRssDocPubDate(rssFeed);
177 GregorianCalendar lastUpdated = new GregorianCalendar()
    [all...]
  /external/icu4c/samples/datecal/
cal.cpp 20 GregorianCalendar* gc = new GregorianCalendar(status);
22 puts("Couldn't create GregorianCalendar");
  /libcore/luni/src/test/java/libcore/java/text/
OldSimpleDateFormatTest.java 26 import java.util.GregorianCalendar;
223 Calendar cal = new GregorianCalendar(1999, Calendar.JUNE, 2, 15, 3, 6);
227 test.test(" G", new GregorianCalendar(-1999, Calendar.JUNE, 2), " BC",
231 test.test(" M", new GregorianCalendar(1999, Calendar.NOVEMBER, 2),
239 test.test(" d", new GregorianCalendar(1999, Calendar.NOVEMBER, 12),
245 test.test(" h", new GregorianCalendar(1999, Calendar.NOVEMBER, 12),
252 new GregorianCalendar(1999, Calendar.NOVEMBER, 12, 4, 0), " 4",
254 test.test(" H", new GregorianCalendar(1999, Calendar.NOVEMBER, 12, 12,
256 test.test(" H", new GregorianCalendar(1999, Calendar.NOVEMBER, 12),
262 test.test(" m", new GregorianCalendar(1999, Calendar.NOVEMBER, 12, 4
    [all...]
  /packages/apps/Exchange/tests/src/com/android/exchange/adapter/
CalendarSyncAdapterTests.java 41 import java.util.GregorianCalendar;
114 GregorianCalendar startCalendar = new GregorianCalendar(2010, 5, 10, 8, 30);
116 GregorianCalendar endCalendar = new GregorianCalendar(2010, 5, 10, 9, 30);
132 GregorianCalendar startCalendar = new GregorianCalendar(2010, 5, 10, 8, 30);
134 GregorianCalendar endCalendar = new GregorianCalendar(2010, 5, 10, 9, 30);
149 GregorianCalendar startCalendar = new GregorianCalendar(2010, 5, 10, 8, 30)
    [all...]
  /external/icu4c/test/intltest/
calregts.cpp 130 GregorianCalendar *cal = (GregorianCalendar*)Calendar::createInstance(status);
153 GregorianCalendar *cal = new GregorianCalendar(status);
159 failure(status, "new GregorianCalendar");
176 GregorianCalendar *cal1 = new GregorianCalendar(status) ;
182 failure(status, "new GregorianCalendar");
183 GregorianCalendar *cal2 = (GregorianCalendar*) cal1->clone()
    [all...]
  /packages/apps/Exchange/src/com/android/exchange/utility/
CalendarUtilities.java 62 import java.util.GregorianCalendar;
147 static final int sCurrentYear = new GregorianCalendar().get(Calendar.YEAR);
237 GregorianCalendar cal = new GregorianCalendar(TimeZone.getDefault());
296 * Build a GregorianCalendar, based on a time zone and TimeZoneDate.
299 * @return a GregorianCalendar with the given time zone and date
302 GregorianCalendar testCalendar = new GregorianCalendar(timeZone);
303 testCalendar.set(GregorianCalendar.YEAR, sCurrentYear);
304 testCalendar.set(GregorianCalendar.MONTH, tzd.month)
    [all...]

Completed in 1326 milliseconds

1 2 3 4 5