OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:gotYear
(Results
1 - 3
of
3
) sorted by null
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/
JapaneseTest.java
167
int
gotYear
= cal.get(Calendar.YEAR);
173
if((
gotYear
!= expectYear) || (gotEra != expectEra)) {
174
errln("Expected year " + expectYear + ", era " + expectEra +", but got year " +
gotYear
+ " and era " + gotEra + ", == " + inEn);
176
logln("Got year " +
gotYear
+ " and era " + gotEra + ", == " + inEn);
200
gotYear
= cal2.get(Calendar.YEAR);
204
if((
gotYear
!= 1) || (gotEra != expectEra)) {
206
" and era " + expectEra + ", but got year " +
gotYear
+ " and era " + gotEra + " (Gregorian:" + str +")");
208
logln(" year: " +
gotYear
+ ", era: " + gotEra);
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
JapaneseTest.java
164
int
gotYear
= cal.get(Calendar.YEAR);
170
if((
gotYear
!= expectYear) || (gotEra != expectEra)) {
171
errln("Expected year " + expectYear + ", era " + expectEra +", but got year " +
gotYear
+ " and era " + gotEra + ", == " + inEn);
173
logln("Got year " +
gotYear
+ " and era " + gotEra + ", == " + inEn);
197
gotYear
= cal2.get(Calendar.YEAR);
201
if((
gotYear
!= 1) || (gotEra != expectEra)) {
203
" and era " + expectEra + ", but got year " +
gotYear
+ " and era " + gotEra + " (Gregorian:" + str +")");
205
logln(" year: " +
gotYear
+ ", era: " + gotEra);
/external/icu/icu4c/source/test/intltest/
incaltst.cpp
652
int32_t
gotYear
= cal2->get(UCAL_YEAR, s2);
656
if((
gotYear
!=1) || (gotEra != expectEra)) {
658
UnicodeString(" and era ") + expectEra +", but got year " +
gotYear
+ " and era " + gotEra + " (Gregorian:" + str +")");
660
logln(UnicodeString() + " year: " +
gotYear
+ ", era: " + gotEra);
692
int32_t
gotYear
= cal2->get(UCAL_YEAR, s2);
696
if((
gotYear
!=1) || (gotEra != expectEra)) {
698
UnicodeString(" and era ") + expectEra +", but got year " +
gotYear
+ " and era " + gotEra + " (Gregorian:" + str +")");
700
logln(UnicodeString() + " year: " +
gotYear
+ ", era: " + gotEra);
[
all
...]
Completed in 568 milliseconds