Home
last modified time | relevance | path

Searched refs:fieldValue (Results 1 – 3 of 3) sorted by relevance

/libcore/ojluni/src/main/java/java/util/
DCalendar.java2160 int fieldValue = get(field); in getDisplayName() local
2166 field, fieldValue, in getDisplayName()
2172 field, fieldValue, in getDisplayName()
2177 field, fieldValue, in getDisplayName()
2188 if (fieldValue < strings.length) { in getDisplayName()
2189 return strings[fieldValue]; in getDisplayName()
3269 int fieldValue = getGreatestMinimum(field); in getActualMinimum() local
3273 if (fieldValue == endValue) { in getActualMinimum()
3274 return fieldValue; in getActualMinimum()
3285 int result = fieldValue; in getActualMinimum()
[all …]
DJapaneseImperialCalendar.java996 int fieldValue = get(field); in getDisplayName() local
1000 && (getBaseStyle(style) != LONG || fieldValue != 1 || get(ERA) == 0)) { in getDisplayName()
1005 fieldValue, style, locale); in getDisplayName()
1010 fieldValue < eras.length) { in getDisplayName()
1011 Era era = eras[fieldValue]; in getDisplayName()
/libcore/ojluni/src/main/java/java/time/format/
DDateTimeTextProvider.java176 int fieldValue; in getText() local
181 fieldValue = 0; in getText()
183 fieldValue = (int) value + 2; in getText()
186 fieldValue = (int) value; in getText()
190 fieldValue = (int) value - 1; in getText()
193 fieldValue = (int) value + 1; in getText()
194 if (fieldValue > 7) { in getText()
195 fieldValue = Calendar.SUNDAY; in getText()
199 fieldValue = (int) value; in getText()
204 chrono.getCalendarType(), fieldIndex, fieldValue, style.toCalendarStyle(), locale); in getText()