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.java66 private final String abbr; field in Era
82 public Era(String name, String abbr, long since, boolean localTime) { in Era() argument
84 this.abbr = abbr; in Era()
102 return abbr; in getAbbreviation()
106 return abbr; in getDiaplayAbbreviation()
131 && abbr.equals(that.abbr) in equals()
140 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.java1914 String abbr; in createError() local
1916 abbr = text.subSequence(0, 64).toString() + "..."; in createError()
1918 abbr = text.toString(); in createError()
1920 …return new DateTimeParseException("Text '" + abbr + "' could not be parsed: " + ex.getMessage(), t… in createError()
1941 String abbr; in parseResolved0() local
1943 abbr = text.subSequence(0, 64).toString() + "..."; in parseResolved0()
1945 abbr = text.toString(); in parseResolved0()
1948 … throw new DateTimeParseException("Text '" + abbr + "' could not be parsed at index " + in parseResolved0()
1951 …throw new DateTimeParseException("Text '" + abbr + "' could not be parsed, unparsed text found at … in parseResolved0()