Translates the PartialTimestamp into a DRMAA specified time string and appends the string to the given StringBuffer. Since the PartialTimestampFormat class doesn't use fields, the fieldPosition parameter is ignored. This method is equivalent to
stringBuffer.append (format (obj))
.
In order to represent a PartialTimestamp object as a string, the PartialTimestamp object cannot have an unset field that is less significant than the most significant set field. TThat is to say that if CENTURY
is set, YEAR
, MONTH
, and DAY_OF_MONTH
must also be set. SECONDS
and ZONE_OFFSET
are always optional.
@param obj the object to format
@param stringBuffer the StringBuffer to which to append the results
@param fieldPosition ignored
@return the stringBuffer parameter