This method of the DateDataFormat class retrieves the format type.
public int getFormat();
Returns one of the constants defined by the DateFormat class.
See Also setFormat