Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/text/format/
DDateFormat.java460 replacement = zeroPad(inDate.get(Calendar.DATE), count); in format()
474 replacement = zeroPad(hour, count); in format()
487 replacement = zeroPad(hour, count); in format()
496 replacement = zeroPad(inDate.get(Calendar.MINUTE), count); in format()
499 replacement = zeroPad(inDate.get(Calendar.SECOND), count); in format()
547 return zeroPad(month+1, count); in getMonthString()
577 tb.append(zeroPad(hours, 2)); in formatZoneOffset()
578 tb.append(zeroPad(minutes, 2)); in formatZoneOffset()
583 return (count <= 2) ? zeroPad(year % 100, 2) in getYearString()
624 private static String zeroPad(int inValue, int inMinDigits) { in zeroPad() method in DateFormat