The DateDataFormat class has the following methods:
getCustomFormat retrieves the custom format string. getFormat retrieves the format type. setCustomFormat sets the custom format string. setFormat sets the format type.