Class CalendarFormatter
java.lang.Object
com.sun.msv.datatype.xsd.datetime.CalendarFormatter
Formats a
Calendar object to a String.- Author:
- Kohsuke Kawaguchi (kohsuke.kawaguchi@sun.com)
-
Method Summary
Modifier and TypeMethodDescriptionstatic Stringprotected voidformatDays(Object cal, StringBuffer buf) protected voidformatHours(Object cal, StringBuffer buf) protected voidformatMinutes(Object cal, StringBuffer buf) protected voidformatMonth(Object cal, StringBuffer buf) protected voidformatSeconds(Object _cal, StringBuffer buf) protected final voidformatTwoDigits(int n, StringBuffer buf) formats Integer into two-character-wide string.protected voidformatYear(Object cal, StringBuffer buf) protected CalendartoCalendar(Object cal)
-
Method Details
-
format
-
toCalendar
-
formatYear
-
formatMonth
-
formatDays
-
formatHours
-
formatMinutes
-
formatSeconds
-
doFormat
- Throws:
IllegalArgumentException
-
formatTwoDigits
formats Integer into two-character-wide string.
-