Home
last modified time | relevance | path

Searched refs:gcal (Results 1 – 16 of 16) 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.java941 GregorianCalendar gcal = new GregorianCalendar(ULocale.getDefault()); in TestCoverage() local
942 if(gcal==null){ in TestCoverage()
945 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.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/icu4j/eclipse-build/plugins.template/com.ibm.icu.base.tests/src/com/ibm/icu/tests/
DDateFormatTest.java45 java.util.GregorianCalendar gcal = new java.util.GregorianCalendar(); in setUp() local
46 gcal.clear(); in setUp()
47 gcal.set(java.util.GregorianCalendar.YEAR, 1990); in setUp()
48 gcal.set(java.util.GregorianCalendar.MONTH, java.util.GregorianCalendar.DECEMBER); in setUp()
49 gcal.set(java.util.GregorianCalendar.DATE, 17); in setUp()
50 gcal.set(java.util.GregorianCalendar.HOUR, 5); in setUp()
51 gcal.set(java.util.GregorianCalendar.MINUTE, 17); in setUp()
52 aCal = new Calendar(gcal); in setUp()
55 aDate = gcal.getTime(); in setUp()
/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/elfutils/
DABOUT-NLS224 gcal | [] |
393 gcal | [] [] |
562 gcal | |
731 gcal | [] |
900 gcal | [] | 5
/external/libexif/
DABOUT-NLS218 gcal | [] |
355 gcal | [] |
492 gcal | |
629 gcal | [] [] | 4
/external/e2fsprogs/
DABOUT-NLS201 gcal | [] [] |
275 gcal | |
349 gcal | [] [] | 4
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDateFormatTest.java3839 GregorianCalendar gcal = new GregorianCalendar(tz); in Test6880() local
3841 gcal.clear(); in Test6880()
3842 gcal.set(1900, Calendar.JANUARY, 1, 12, 00); // offset 8:05:43 in Test6880()
3843 d1 = gcal.getTime(); in Test6880()
3845 gcal.clear(); in Test6880()
3846 gcal.set(1950, Calendar.JANUARY, 1, 12, 00); // offset 8:00 in Test6880()
3847 d2 = gcal.getTime(); in Test6880()
3849 gcal.clear(); in Test6880()
3850 gcal.set(1970, Calendar.JANUARY, 1, 12, 00); in Test6880()
3851 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.cpp3773 GregorianCalendar gcal(*tz, status); in Test6880() local
3776 gcal.clear(); in Test6880()
3777 gcal.set(1900, UCAL_JULY, 1, 12, 00); // offset 8:05:43 in Test6880()
3778 d1 = gcal.getTime(status); in Test6880()
3780 gcal.clear(); in Test6880()
3781 gcal.set(1950, UCAL_JULY, 1, 12, 00); // offset 8:00 in Test6880()
3782 d2 = gcal.getTime(status); in Test6880()
3784 gcal.clear(); in Test6880()
3785 gcal.set(1970, UCAL_JANUARY, 1, 12, 00); in Test6880()
3786 dexp2 = gcal.getTime(status); in Test6880()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DDateFormatTest.java3842 GregorianCalendar gcal = new GregorianCalendar(tz); in Test6880() local
3844 gcal.clear(); in Test6880()
3845 gcal.set(1900, Calendar.JANUARY, 1, 12, 00); // offset 8:05:43 in Test6880()
3846 d1 = gcal.getTime(); in Test6880()
3848 gcal.clear(); in Test6880()
3849 gcal.set(1950, Calendar.JANUARY, 1, 12, 00); // offset 8:00 in Test6880()
3850 d2 = gcal.getTime(); in Test6880()
3852 gcal.clear(); in Test6880()
3853 gcal.set(1970, Calendar.JANUARY, 1, 12, 00); in Test6880()
3854 dexp2 = gcal.getTime(); in Test6880()
DGlobalizationPreferencesTest.java1565 GregorianCalendar gcal = new GregorianCalendar(); in TestJB5380() local
1568 gcal.set(Calendar.YEAR, 1950); in TestJB5380()
1571 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/collate/src/com/ibm/icu/dev/test/format/
DGlobalizationPreferencesTest.java1562 GregorianCalendar gcal = new GregorianCalendar(); in TestJB5380() local
1565 gcal.set(Calendar.YEAR, 1950); in TestJB5380()
1568 gp.setCalendar(gcal); in TestJB5380()