- object
- the source object to format, must be a Date or a Number. If object is a number then a date is constructed using the longValue() of the number.
- buffer
- the target string buffer to append the formatted date/time to.
- field
- on input: an optional alignment field; on output: the offsets of the alignment field in the formatted text.
Documentation for this section has not yet been entered.
Type Reason Java.Lang.IllegalArgumentException if object is neither a Date nor a Number instance.
Formats the specified object as a string using the pattern of this date format and appends the string to the specified string buffer.
If the field member of field contains a value specifying a format field, then its beginIndex and endIndex members will be updated with the position of the first occurrence of this field in the formatted text.