Class CalendarFormatter
- java.lang.Object
-
- com.sun.xml.rpc.encoding.simpletype.CalendarFormatter
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringdoFormat(String format, Object cal)static Stringformat(String format, Calendar cal)protected 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 voidformatTwoDigits(int n, StringBuffer buf)formats Integer into two-character-wide string.protected voidformatYear(Object cal, StringBuffer buf)protected CalendartoCalendar(Object cal)
-
-
-
Method Detail
-
formatYear
protected void formatYear(Object cal, StringBuffer buf)
-
formatMonth
protected void formatMonth(Object cal, StringBuffer buf)
-
formatDays
protected void formatDays(Object cal, StringBuffer buf)
-
formatHours
protected void formatHours(Object cal, StringBuffer buf)
-
formatMinutes
protected void formatMinutes(Object cal, StringBuffer buf)
-
formatSeconds
protected void formatSeconds(Object _cal, StringBuffer buf)
-
doFormat
public String doFormat(String format, Object cal) throws IllegalArgumentException
- Throws:
IllegalArgumentException
-
formatTwoDigits
protected final void formatTwoDigits(int n, StringBuffer buf)formats Integer into two-character-wide string.
-
-