Searched refs:GregorianCalendar (Results 1 - 25 of 164) sorted by relevance

1234567

/external/icu/icu4c/source/i18n/unicode/
H A Dgregocal.h72 * <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 { class in inherits: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 objec
[all...]
/external/apache-harmony/support/src/test/java/tests/support/
H A DSupport_TimeZone.java21 import java.util.GregorianCalendar;
54 GregorianCalendar cal = new GregorianCalendar();
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/
H A DXMPDateTimeFactory.java14 import java.util.GregorianCalendar;
100 return new XMPDateTimeImpl(new GregorianCalendar());
131 GregorianCalendar cal = new GregorianCalendar(UTC);
149 GregorianCalendar cal = new GregorianCalendar();
/external/icu/icu4c/source/i18n/
H A Dbuddhcal.cpp34 : 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) {
H A Dgregocal.cpp51 // class GregorianCalendar
138 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(GregorianCalendar)
145 //const UDate GregorianCalendar::kPapalCutover = -12219292800000L;
152 GregorianCalendar::GregorianCalendar(UErrorCode& status) function in class:GregorianCalendar
163 GregorianCalendar::GregorianCalendar(TimeZone* zone, UErrorCode& status) function in class:GregorianCalendar
174 GregorianCalendar::GregorianCalendar(const TimeZone& zone, UErrorCode& status) function in class:GregorianCalendar
185 GregorianCalendar function in class:GregorianCalendar
196 GregorianCalendar::GregorianCalendar(TimeZone* zone, const Locale& aLocale, function in class:GregorianCalendar
208 GregorianCalendar::GregorianCalendar(const TimeZone& zone, const Locale& aLocale, function in class:GregorianCalendar
220 GregorianCalendar::GregorianCalendar(int32_t year, int32_t month, int32_t date, function in class:GregorianCalendar
235 GregorianCalendar::GregorianCalendar(int32_t year, int32_t month, int32_t date, function in class:GregorianCalendar
252 GregorianCalendar::GregorianCalendar(int32_t year, int32_t month, int32_t date, function in class:GregorianCalendar
277 GregorianCalendar::GregorianCalendar(const GregorianCalendar &source) function in class:GregorianCalendar
[all...]
H A Dtaiwncal.cpp34 : 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) {
H A Djapancal.cpp294 : 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/javassist/sample/evolve/
H A DWebPage.java13 Calendar c = new GregorianCalendar();
/external/javassist/sample/evolve/sample/evolve/
H A DWebPage.java14 Calendar c = new GregorianCalendar();
/external/icu/android_icu4j/src/samples/java/android/icu/samples/text/dateintervalformat/
H A DDateIntervalFormatSample.java19 import android.icu.util.GregorianCalendar;
41 new GregorianCalendar(2007,10,10,10,10,10).getTime(),
42 new GregorianCalendar(2008,10,10,10,10,10).getTime(),
43 new GregorianCalendar(2008,11,10,10,10,10).getTime(),
44 new GregorianCalendar(2008,11,10,15,10,10).getTime(),
84 new GregorianCalendar(2007,9,10,10,10,10).getTime(),
85 new GregorianCalendar(2007,10,10,10,10,10).getTime(),
86 new GregorianCalendar(2007,10,10,22,10,10).getTime(),
/external/icu/icu4c/source/samples/datecal/
H A Dcal.cpp20 GregorianCalendar* gc = new GregorianCalendar(status);
22 puts("Couldn't create GregorianCalendar");
/external/icu/icu4j/samples/src/com/ibm/icu/samples/text/dateintervalformat/
H A DDateIntervalFormatSample.java18 import com.ibm.icu.util.GregorianCalendar;
40 new GregorianCalendar(2007,10,10,10,10,10).getTime(),
41 new GregorianCalendar(2008,10,10,10,10,10).getTime(),
42 new GregorianCalendar(2008,11,10,10,10,10).getTime(),
43 new GregorianCalendar(2008,11,10,15,10,10).getTime(),
83 new GregorianCalendar(2007,9,10,10,10,10).getTime(),
84 new GregorianCalendar(2007,10,10,10,10,10).getTime(),
85 new GregorianCalendar(2007,10,10,22,10,10).getTime(),
/external/icu/android_icu4j/src/main/java/android/icu/util/
H A DEasterHoliday.java229 private Date computeInYear(Date date, GregorianCalendar cal)
260 cal.set(Calendar.ERA, GregorianCalendar.AD);
271 private static GregorianCalendar gregorian = new GregorianCalendar(/* new SimpleTimeZone(0, "UTC") */);
272 private static GregorianCalendar orthodox = new GregorianCalendar(/* new SimpleTimeZone(0, "UTC") */);
275 private GregorianCalendar calendar = gregorian;
H A DGregorianCalendar.java15 * <strong>[icu enhancement]</strong> ICU's replacement for {@link java.util.GregorianCalendar}.&nbsp;Methods, fields, and other functionality specific to ICU are labeled '<strong>[icu]</strong>'.
17 * <p><code>GregorianCalendar</code> is a concrete subclass of
30 * this correctly. Before the Gregorian cutover, <code>GregorianCalendar</code>
36 * <p><code>GregorianCalendar</code> implements <em>proleptic</em> Gregorian and
39 * <code>GregorianCalendar</code> may be used for all years to generate
41 * <code>GregorianCalendar</code> are historically accurate only from March 1, 4
107 * // create a GregorianCalendar with the Pacific Daylight time zone
109 * Calendar calendar = new GregorianCalendar(pdt);
162 * GregorianCalendar usually should be instantiated using
170 public class GregorianCalendar extend class in inherits:Calendar
331 public GregorianCalendar() { method in class:GregorianCalendar
341 public GregorianCalendar(TimeZone zone) { method in class:GregorianCalendar
350 public GregorianCalendar(Locale aLocale) { method in class:GregorianCalendar
359 public GregorianCalendar(ULocale locale) { method in class:GregorianCalendar
369 public GregorianCalendar(TimeZone zone, Locale aLocale) { method in class:GregorianCalendar
380 public GregorianCalendar(TimeZone zone, ULocale locale) { method in class:GregorianCalendar
394 public GregorianCalendar(int year, int month, int date) { method in class:GregorianCalendar
415 public GregorianCalendar(int year, int month, int date, int hour, method in class:GregorianCalendar
441 public GregorianCalendar(int year, int month, int date, int hour, method in class:GregorianCalendar
[all...]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
H A DEasterHoliday.java243 private Date computeInYear(Date date, GregorianCalendar cal)
274 cal.set(Calendar.ERA, GregorianCalendar.AD);
285 private static GregorianCalendar gregorian = new GregorianCalendar(/* new SimpleTimeZone(0, "UTC") */);
286 private static GregorianCalendar orthodox = new GregorianCalendar(/* new SimpleTimeZone(0, "UTC") */);
289 private GregorianCalendar calendar = gregorian;
H A DGregorianCalendar.java14 * {@icuenhanced java.util.GregorianCalendar}.{@icu _usage_}
16 * <p><code>GregorianCalendar</code> is a concrete subclass of
29 * this correctly. Before the Gregorian cutover, <code>GregorianCalendar</code>
35 * <p><code>GregorianCalendar</code> implements <em>proleptic</em> Gregorian and
38 * <code>GregorianCalendar</code> may be used for all years to generate
40 * <code>GregorianCalendar</code> are historically accurate only from March 1, 4
106 * // create a GregorianCalendar with the Pacific Daylight time zone
108 * Calendar calendar = new GregorianCalendar(pdt);
161 * GregorianCalendar usually should be instantiated using
170 public class GregorianCalendar extend class in inherits:Calendar
337 public GregorianCalendar() { method in class:GregorianCalendar
348 public GregorianCalendar(TimeZone zone) { method in class:GregorianCalendar
358 public GregorianCalendar(Locale aLocale) { method in class:GregorianCalendar
368 public GregorianCalendar(ULocale locale) { method in class:GregorianCalendar
379 public GregorianCalendar(TimeZone zone, Locale aLocale) { method in class:GregorianCalendar
391 public GregorianCalendar(TimeZone zone, ULocale locale) { method in class:GregorianCalendar
406 public GregorianCalendar(int year, int month, int date) { method in class:GregorianCalendar
428 public GregorianCalendar(int year, int month, int date, int hour, method in class:GregorianCalendar
455 public GregorianCalendar(int year, int month, int date, int hour, method in class:GregorianCalendar
[all...]
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/
H A DXMPDateTimeImpl.java14 import java.util.GregorianCalendar;
74 GregorianCalendar intCalendar =
75 (GregorianCalendar) Calendar.getInstance(Locale.US);
100 GregorianCalendar calendar = new GregorianCalendar(timeZone);
316 GregorianCalendar calendar = (GregorianCalendar) Calendar.getInstance(Locale.US);
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/
H A DCalendarRegression.java26 import android.icu.util.GregorianCalendar;
84 GregorianCalendar cal = new GregorianCalendar(zone);
107 java.util.GregorianCalendar cal2 = new java.util.GregorianCalendar(java.util.TimeZone.getTimeZone(ids[i]));
137 GregorianCalendar c = new GregorianCalendar(98, 8, 7);
138 GregorianCalendar d = new GregorianCalendar(98, 8, 7);
158 Calendar calendar = new GregorianCalendar(pd
[all...]
H A DAstroTest.java21 import android.icu.util.GregorianCalendar;
38 GregorianCalendar gc = new GregorianCalendar(new SimpleTimeZone(0, "UTC"));
91 GregorianCalendar gc = new GregorianCalendar(new SimpleTimeZone(0, "UTC"));
137 GregorianCalendar cal = new GregorianCalendar(1958, Calendar.AUGUST, 15);
243 GregorianCalendar cal = new GregorianCalendar(tz, Locale.US);
244 GregorianCalendar cal
[all...]
H A DCompatibilityTest.java21 import android.icu.util.GregorianCalendar;
44 * Test the behavior of the GregorianCalendar around the changeover.
53 // if(jdkCal instanceof java.util.GregorianCalendar) {
55 // java.util.GregorianCalendar jdkgc = (java.util.GregorianCalendar)
76 GregorianCalendar cal = new GregorianCalendar(gmt);
120 GregorianCalendar cal =
121 new GregorianCalendar(TimeZone.getTimeZone("UTC"));
171 GregorianCalendar ca
[all...]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
H A DCalendarRegression.java25 import com.ibm.icu.util.GregorianCalendar;
80 GregorianCalendar cal = new GregorianCalendar(zone);
103 java.util.GregorianCalendar cal2 = new java.util.GregorianCalendar(java.util.TimeZone.getTimeZone(ids[i]));
133 GregorianCalendar c = new GregorianCalendar(98, 8, 7);
134 GregorianCalendar d = new GregorianCalendar(98, 8, 7);
154 Calendar calendar = new GregorianCalendar(pd
[all...]
H A DAstroTest.java20 import com.ibm.icu.util.GregorianCalendar;
34 GregorianCalendar gc = new GregorianCalendar(new SimpleTimeZone(0, "UTC"));
87 GregorianCalendar gc = new GregorianCalendar(new SimpleTimeZone(0, "UTC"));
133 GregorianCalendar cal = new GregorianCalendar(1958, Calendar.AUGUST, 15);
239 GregorianCalendar cal = new GregorianCalendar(tz, Locale.US);
240 GregorianCalendar cal
[all...]
H A DCompatibilityTest.java20 import com.ibm.icu.util.GregorianCalendar;
40 * Test the behavior of the GregorianCalendar around the changeover.
49 // if(jdkCal instanceof java.util.GregorianCalendar) {
51 // java.util.GregorianCalendar jdkgc = (java.util.GregorianCalendar)
72 GregorianCalendar cal = new GregorianCalendar(gmt);
116 GregorianCalendar cal =
117 new GregorianCalendar(TimeZone.getTimeZone("UTC"));
167 GregorianCalendar ca
[all...]
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/timescale/
H A DEpochOffsets.java16 import com.ibm.icu.util.GregorianCalendar;
79 GregorianCalendar cal = new GregorianCalendar(utc, Locale.ENGLISH);
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue49/
H A DCalendarTest.java20 import java.util.GregorianCalendar;
115 GregorianCalendar calendar = (GregorianCalendar) yaml
116 .load("!!java.util.GregorianCalendar 2001-12-14t21:59:43.10-05:00");

Completed in 3205 milliseconds

1234567