Home
last modified time | relevance | path

Searched refs:gcal (Results 1 – 14 of 14) sorted by relevance

/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DHolidayTest.java296 Calendar gcal = new GregorianCalendar(); in TestIsOn() local
297 gcal.clear(); in TestIsOn()
298 gcal.set(Calendar.YEAR, 2000); in TestIsOn()
299 gcal.set(Calendar.MONTH, Calendar.AUGUST); in TestIsOn()
300 gcal.set(Calendar.DAY_OF_MONTH, 15); in TestIsOn()
302 Date d0 = gcal.getTime(); in TestIsOn()
303 gcal.add(Calendar.SECOND, 1); in TestIsOn()
304 Date d1 = gcal.getTime(); in TestIsOn()
305 gcal.add(Calendar.SECOND, -2); in TestIsOn()
306 Date d2 = gcal.getTime(); in TestIsOn()
[all …]
DIBMCalendarTest.java944 GregorianCalendar gcal = new GregorianCalendar(ULocale.getDefault()); in TestCoverage() local
945 if(gcal==null){ in TestCoverage()
948 logln("Calendar display name: " + gcal.getDisplayName(ULocale.getDefault())); in TestCoverage()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/
DHolidayTest.java299 Calendar gcal = new GregorianCalendar(); in TestIsOn() local
300 gcal.clear(); in TestIsOn()
301 gcal.set(Calendar.YEAR, 2000); in TestIsOn()
302 gcal.set(Calendar.MONTH, Calendar.AUGUST); in TestIsOn()
303 gcal.set(Calendar.DAY_OF_MONTH, 15); in TestIsOn()
305 Date d0 = gcal.getTime(); in TestIsOn()
306 gcal.add(Calendar.SECOND, 1); in TestIsOn()
307 Date d1 = gcal.getTime(); in TestIsOn()
308 gcal.add(Calendar.SECOND, -2); in TestIsOn()
309 Date d2 = gcal.getTime(); in TestIsOn()
[all …]
DIBMCalendarTest.java947 GregorianCalendar gcal = new GregorianCalendar(ULocale.getDefault()); in TestCoverage() local
948 if(gcal==null){ in TestCoverage()
951 logln("Calendar display name: " + gcal.getDisplayName(ULocale.getDefault())); in TestCoverage()
/external/icu/icu4c/source/tools/tzcode/
Dicuzdump.cpp195 GregorianCalendar* gcal = new GregorianCalendar(timezone, Locale::getEnglish(), status); in getCutOverTimes() local
196 gcal->clear(); in getCutOverTimes()
197 gcal->set(loyear, 0, 1, 0, 0, 0); in getCutOverTimes()
198 lo = gcal->getTime(status); in getCutOverTimes()
199 gcal->set(hiyear, 0, 1, 0, 0, 0); in getCutOverTimes()
200 hi = gcal->getTime(status); in getCutOverTimes()
/external/libexif/
DABOUT-NLS218 gcal | [] |
355 gcal | [] |
492 gcal | |
629 gcal | [] [] | 4
/external/e2fsprogs/
DABOUT-NLS201 gcal | [] [] |
275 gcal | |
349 gcal | [] [] | 4
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DDateFormatTest.java3930 GregorianCalendar gcal = new GregorianCalendar(tz); in Test6880() local
3932 gcal.clear(); in Test6880()
3933 gcal.set(1900, Calendar.JANUARY, 1, 12, 00); // offset 8:05:43 in Test6880()
3934 d1 = gcal.getTime(); in Test6880()
3936 gcal.clear(); in Test6880()
3937 gcal.set(1950, Calendar.JANUARY, 1, 12, 00); // offset 8:00 in Test6880()
3938 d2 = gcal.getTime(); in Test6880()
3940 gcal.clear(); in Test6880()
3941 gcal.set(1970, Calendar.JANUARY, 1, 12, 00); in Test6880()
3942 dexp2 = gcal.getTime(); in Test6880()
DGlobalizationPreferencesTest.java1575 GregorianCalendar gcal = new GregorianCalendar(); in TestJB5380() local
1578 gcal.set(Calendar.YEAR, 1950); in TestJB5380()
1581 gp.setCalendar(gcal); in TestJB5380()
DDateFormatRegressionTest.java1236 GregorianCalendar gcal = new GregorianCalendar(); in TestDangiFormat() local
1237 gcal.set(2013, Calendar.MARCH, 1, 0, 0, 0); in TestDangiFormat()
1238 Date d = gcal.getTime(); in TestDangiFormat()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDateFormatTest.java3927 GregorianCalendar gcal = new GregorianCalendar(tz); in Test6880() local
3929 gcal.clear(); in Test6880()
3930 gcal.set(1900, Calendar.JANUARY, 1, 12, 00); // offset 8:05:43 in Test6880()
3931 d1 = gcal.getTime(); in Test6880()
3933 gcal.clear(); in Test6880()
3934 gcal.set(1950, Calendar.JANUARY, 1, 12, 00); // offset 8:00 in Test6880()
3935 d2 = gcal.getTime(); in Test6880()
3937 gcal.clear(); in Test6880()
3938 gcal.set(1970, Calendar.JANUARY, 1, 12, 00); in Test6880()
3939 dexp2 = gcal.getTime(); in Test6880()
DDateFormatRegressionTest.java1233 GregorianCalendar gcal = new GregorianCalendar(); in TestDangiFormat() local
1234 gcal.set(2013, Calendar.MARCH, 1, 0, 0, 0); in TestDangiFormat()
1235 Date d = gcal.getTime(); in TestDangiFormat()
/external/icu/icu4c/source/test/intltest/
Ddtfmttst.cpp3845 GregorianCalendar gcal(*tz, status); in Test6880() local
3848 gcal.clear(); in Test6880()
3849 gcal.set(1900, UCAL_JULY, 1, 12, 00); // offset 8:05:43 in Test6880()
3850 d1 = gcal.getTime(status); in Test6880()
3852 gcal.clear(); in Test6880()
3853 gcal.set(1950, UCAL_JULY, 1, 12, 00); // offset 8:00 in Test6880()
3854 d2 = gcal.getTime(status); in Test6880()
3856 gcal.clear(); in Test6880()
3857 gcal.set(1970, UCAL_JANUARY, 1, 12, 00); in Test6880()
3858 dexp2 = gcal.getTime(status); in Test6880()
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/format/
DGlobalizationPreferencesTest.java1572 GregorianCalendar gcal = new GregorianCalendar(); in TestJB5380() local
1575 gcal.set(Calendar.YEAR, 1950); in TestJB5380()
1578 gp.setCalendar(gcal); in TestJB5380()