DateDataFormat.DateDataFormat

Overview | Methods | This Package | All Packages

DateDataFormat.DateDataFormat

Creates a DateDataFormat object.

Syntax

public DateDataFormat()

public DateDataFormat( int format )

public DateDataFormat( String customFormat )

public DateDataFormat( int format, String customFormat )

Parameters

format

The type of format. Specify one of the constants defined by the DateFormat class.

customFormat

The custom format string to be used when the format type is set to DateFormat.CUSTOM. For information about possible format strings, see setCustomFormat.

Remarks

If no value is passed for format, the format type is set to DateFormat.SHORT.