Home
last modified time | relevance | path

Searched refs:yearValue (Results 1 – 2 of 2) sorted by relevance

/libcore/ojluni/src/main/java/java/time/
DLocalDate.java2143 int yearValue = year; in hashCode() local
2146 return (yearValue & 0xFFFFF800) ^ ((yearValue << 11) + (monthValue << 6) + (dayValue)); in hashCode()
2159 int yearValue = year; in toString() local
2162 int absYear = Math.abs(yearValue); in toString()
2165 if (yearValue < 0) { in toString()
2166 buf.append(yearValue - 10000).deleteCharAt(1); in toString()
2168 buf.append(yearValue + 10000).deleteCharAt(0); in toString()
2171 if (yearValue > 9999) { in toString()
2174 buf.append(yearValue); in toString()
/libcore/ojluni/src/main/java/java/time/chrono/
DHijrahDate.java637 int yearValue = prolepticYear; in hashCode() local
640 return getChronology().getId().hashCode() ^ (yearValue & 0xFFFFF800) in hashCode()
641 ^ ((yearValue << 11) + (monthValue << 6) + (dayValue)); in hashCode()