Home
last modified time | relevance | path

Searched refs:abbr (Results 1 – 5 of 5) sorted by relevance

/libcore/ojluni/src/main/java/sun/util/calendar/
DEra.java61 private final String abbr; field in Era
77 public Era(String name, String abbr, long since, boolean localTime) { in Era() argument
79 this.abbr = abbr; in Era()
97 return abbr; in getAbbreviation()
101 return abbr; in getDiaplayAbbreviation()
126 && abbr.equals(that.abbr) in equals()
135 hash = name.hashCode() ^ abbr.hashCode() ^ (int)since ^ (int)(since >> 32) in hashCode()
DLocalGregorianCalendar.java107 String abbr = era.getAbbreviation(); in toString() local
108 if (abbr != null) { in toString()
109 sb.append(abbr); in toString()
140 String abbr = null; in getLocalGregorianCalendar() local
161 abbr = value; in getLocalGregorianCalendar()
166 Era era = new Era(eraName, abbr, since, localTime); in getLocalGregorianCalendar()
/libcore/ojluni/src/main/resources/
Dcalendars.properties35 name=Meiji,abbr=M,since=-3218832000000; \
36 name=Taisho,abbr=T,since=-1812153600000; \
37 name=Showa,abbr=S,since=-1357603200000; \
38 name=Heisei,abbr=H,since=600220800000; \
39 name=Reiwa,abbr=R,since=1556668800000
53 name=BuddhistEra,abbr=B.E.,since=-79302585600000
/libcore/ojluni/annotations/hiddenapi/sun/util/calendar/
DEra.java32 public Era(java.lang.String name, java.lang.String abbr, long since, boolean localTime) { in Era() argument
79 private final java.lang.String abbr; field in Era
82 abbr = null;
/libcore/ojluni/src/main/java/java/time/format/
DDateTimeFormatter.java2015 String abbr; in createError() local
2017 abbr = text.subSequence(0, 64).toString() + "..."; in createError()
2019 abbr = text.toString(); in createError()
2021 …return new DateTimeParseException("Text '" + abbr + "' could not be parsed: " + ex.getMessage(), t… in createError()
2042 String abbr; in parseResolved0() local
2044 abbr = text.subSequence(0, 64).toString() + "..."; in parseResolved0()
2046 abbr = text.toString(); in parseResolved0()
2049 … throw new DateTimeParseException("Text '" + abbr + "' could not be parsed at index " + in parseResolved0()
2052 …throw new DateTimeParseException("Text '" + abbr + "' could not be parsed, unparsed text found at … in parseResolved0()