Home
last modified time | relevance | path

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

/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/
DHolidayTest.java294 Calendar gcal = new GregorianCalendar(); in TestIsOn() local
295 gcal.clear(); in TestIsOn()
296 gcal.set(Calendar.YEAR, 2000); in TestIsOn()
297 gcal.set(Calendar.MONTH, Calendar.AUGUST); in TestIsOn()
298 gcal.set(Calendar.DAY_OF_MONTH, 15); in TestIsOn()
300 Date d0 = gcal.getTime(); in TestIsOn()
301 gcal.add(Calendar.SECOND, 1); in TestIsOn()
302 Date d1 = gcal.getTime(); in TestIsOn()
303 gcal.add(Calendar.SECOND, -2); in TestIsOn()
304 Date d2 = gcal.getTime(); in TestIsOn()
[all …]
DIBMCalendarTest.java939 GregorianCalendar gcal = new GregorianCalendar(ULocale.getDefault()); in TestCoverage() local
940 if(gcal==null){ in TestCoverage()
943 logln("Calendar display name: " + gcal.getDisplayName(ULocale.getDefault())); in TestCoverage()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DHolidayTest.java293 Calendar gcal = new GregorianCalendar(); in TestIsOn() local
294 gcal.clear(); in TestIsOn()
295 gcal.set(Calendar.YEAR, 2000); in TestIsOn()
296 gcal.set(Calendar.MONTH, Calendar.AUGUST); in TestIsOn()
297 gcal.set(Calendar.DAY_OF_MONTH, 15); in TestIsOn()
299 Date d0 = gcal.getTime(); in TestIsOn()
300 gcal.add(Calendar.SECOND, 1); in TestIsOn()
301 Date d1 = gcal.getTime(); in TestIsOn()
302 gcal.add(Calendar.SECOND, -2); in TestIsOn()
303 Date d2 = gcal.getTime(); in TestIsOn()
[all …]
DIBMCalendarTest.java938 GregorianCalendar gcal = new GregorianCalendar(ULocale.getDefault()); in TestCoverage() local
939 if(gcal==null){ in TestCoverage()
942 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.cpp194 GregorianCalendar* gcal = new GregorianCalendar(timezone, Locale::getEnglish(), status); in getCutOverTimes() local
195 gcal->clear(); in getCutOverTimes()
196 gcal->set(loyear, 0, 1, 0, 0, 0); in getCutOverTimes()
197 lo = gcal->getTime(status); in getCutOverTimes()
198 gcal->set(hiyear, 0, 1, 0, 0, 0); in getCutOverTimes()
199 hi = gcal->getTime(status); in getCutOverTimes()
/external/bison/
DABOUT-NLS227 gcal | [] |
411 gcal | [] |
595 gcal | [] |
779 gcal | |
963 gcal | |
1147 gcal | [] [] | 5
/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/android_icu4j/src/main/tests/android/icu/dev/test/format/
DDateFormatTest.java3836 GregorianCalendar gcal = new GregorianCalendar(tz); in Test6880() local
3838 gcal.clear(); in Test6880()
3839 gcal.set(1900, Calendar.JANUARY, 1, 12, 00); // offset 8:05:43 in Test6880()
3840 d1 = gcal.getTime(); in Test6880()
3842 gcal.clear(); in Test6880()
3843 gcal.set(1950, Calendar.JANUARY, 1, 12, 00); // offset 8:00 in Test6880()
3844 d2 = gcal.getTime(); in Test6880()
3846 gcal.clear(); in Test6880()
3847 gcal.set(1970, Calendar.JANUARY, 1, 12, 00); in Test6880()
3848 dexp2 = gcal.getTime(); in Test6880()
DGlobalizationPreferencesTest.java1562 GregorianCalendar gcal = new GregorianCalendar(); in TestJB5380() local
1565 gcal.set(Calendar.YEAR, 1950); in TestJB5380()
1568 gp.setCalendar(gcal); in TestJB5380()
DDateFormatRegressionTest.java1232 GregorianCalendar gcal = new GregorianCalendar(); in TestDangiFormat() local
1233 gcal.set(2013, Calendar.MARCH, 1, 0, 0, 0); in TestDangiFormat()
1234 Date d = gcal.getTime(); in TestDangiFormat()
/external/icu/icu4c/source/test/intltest/
Ddtfmttst.cpp3768 GregorianCalendar gcal(*tz, status); in Test6880() local
3771 gcal.clear(); in Test6880()
3772 gcal.set(1900, UCAL_JULY, 1, 12, 00); // offset 8:05:43 in Test6880()
3773 d1 = gcal.getTime(status); in Test6880()
3775 gcal.clear(); in Test6880()
3776 gcal.set(1950, UCAL_JULY, 1, 12, 00); // offset 8:00 in Test6880()
3777 d2 = gcal.getTime(status); in Test6880()
3779 gcal.clear(); in Test6880()
3780 gcal.set(1970, UCAL_JANUARY, 1, 12, 00); in Test6880()
3781 dexp2 = gcal.getTime(status); in Test6880()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDateFormatTest.java3835 GregorianCalendar gcal = new GregorianCalendar(tz); in Test6880() local
3837 gcal.clear(); in Test6880()
3838 gcal.set(1900, Calendar.JANUARY, 1, 12, 00); // offset 8:05:43 in Test6880()
3839 d1 = gcal.getTime(); in Test6880()
3841 gcal.clear(); in Test6880()
3842 gcal.set(1950, Calendar.JANUARY, 1, 12, 00); // offset 8:00 in Test6880()
3843 d2 = gcal.getTime(); in Test6880()
3845 gcal.clear(); in Test6880()
3846 gcal.set(1970, Calendar.JANUARY, 1, 12, 00); in Test6880()
3847 dexp2 = gcal.getTime(); in Test6880()
DDateFormatRegressionTest.java1231 GregorianCalendar gcal = new GregorianCalendar(); in TestDangiFormat() local
1232 gcal.set(2013, Calendar.MARCH, 1, 0, 0, 0); in TestDangiFormat()
1233 Date d = gcal.getTime(); in TestDangiFormat()
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/format/
DGlobalizationPreferencesTest.java1561 GregorianCalendar gcal = new GregorianCalendar(); in TestJB5380() local
1564 gcal.set(Calendar.YEAR, 1950); in TestJB5380()
1567 gp.setCalendar(gcal); in TestJB5380()