Home
last modified time | relevance | path

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

/libcore/luni/src/main/java/libcore/icu/
DDateIntervalFormat.java55 Calendar startCalendar = DateUtilsBridge.createIcuCalendar(icuTimeZone, icuLocale, startMs); in formatDateRange() local
58 endCalendar = startCalendar; in formatDateRange()
75 boolean endsDayAfterStart = DateUtilsBridge.dayDistance(startCalendar, endCalendar) == 1; in formatDateRange()
78 && !DateUtilsBridge.isDisplayMidnightUsingSkeleton(startCalendar))) { in formatDateRange()
83 String skeleton = DateUtilsBridge.toSkeleton(startCalendar, endCalendar, flags); in formatDateRange()
87 return formatter.format(startCalendar, endCalendar, new StringBuffer(), in formatDateRange()
DDateUtilsBridge.java70 /* package */ static String toSkeleton(Calendar startCalendar, Calendar endCalendar, int flags) { in toSkeleton() argument
102 if (!(onTheHour(startCalendar) && onTheHour(endCalendar))) { in toSkeleton()
107 if (fallOnDifferentDates(startCalendar, endCalendar)) { in toSkeleton()
111 if (fallInSameMonth(startCalendar, endCalendar) && (flags & FORMAT_NO_MONTH_DAY) != 0) { in toSkeleton()
126 } else if (!fallInSameYear(startCalendar, endCalendar) || !isThisYear(startCalendar)) { in toSkeleton()