Home
last modified time | relevance | path

Searched refs:currentYear (Results 1 – 4 of 4) sorted by relevance

/external/icu/icu4c/source/tools/toolutil/
Dtoolutil.cpp82 static int32_t currentYear = -1; variable
89 if(currentYear == -1) { in getCurrentYear()
92 currentYear = ucal_get(cal, UCAL_YEAR, &status); in getCurrentYear()
98 return currentYear; in getCurrentYear()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/
DTimeZoneAliasTest.java162 static private final int currentYear = new GregorianCalendar().get(Calendar.YEAR); field in TimeZoneAliasTest.Zone
163 static private final long endDate = getDate((currentYear+1),0,1).getTime();
164 static private final long endDate2 = getDate((currentYear+1),6,1).getTime();
165 static private final long recentLimit = getDate((currentYear-1),6,1).getTime();
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/
DTimeZoneAliasTest.java158 static private final int currentYear = new GregorianCalendar().get(Calendar.YEAR); field in TimeZoneAliasTest.Zone
159 static private final long endDate = getDate((currentYear+1),0,1).getTime();
160 static private final long endDate2 = getDate((currentYear+1),6,1).getTime();
161 static private final long recentLimit = getDate((currentYear-1),6,1).getTime();
/external/icu/icu4c/source/test/cintltst/
Dcdattst.c1040 static int currentYear = 0; in getCurrentYear() local
1041 if (currentYear == 0) { in getCurrentYear()
1046 currentYear = ucal_get(cal, UCAL_YEAR, &status); in getCurrentYear()
1051 return currentYear; in getCurrentYear()