DateFormat

Inheritance: java.lang.Object, com.aspose.ms.System.ValueType, com.aspose.ms.System.Enum

public final class DateFormat extends System.Enum

Specifies the date format.

Fields

FieldDescription
CustomDateTime values are formatted using format string which is set to the project’s Prj.CUSTOM_DATE_FORMAT property.
DateDdThe example: 30
DateDdMmYyyyThe example: 19/07/2016
DateDddDdThe example: Tue 30
DateDddHhMmAMThe example: Tue 13:00 PM
DateDddMmDdThe example: Tue 9/30
DateDddMmDdYyThe example: Tue 9/30/02
DateDddMmDdYyHhMmAMThe example: Tue 9/30/02 13:00 PM
DateDddMmmDdThe example: Tue Sep 30
DateDddMmmDdYyyThe example: Tue Sep 30, ‘02
DateHhMmAmThe example: 13:00 PM
DateMmDdThe example: 9/30
DateMmDdYyThe example: 9/30/02
DateMmDdYyHhMmAMThe example: 09/30/02 13:00 PM
DateMmDdYyyyThe example: 9/30/2002
DateMmmDdThe example: Sep 30
DateMmmDdHhMmAMThe example: Sep 30 13:00 PM
DateMmmDdYyyThe example: Sep 30, ‘02
DateMmmmDdThe example: September 30
DateMmmmDdYyyyThe example: September 30, 2002
DateMmmmDdYyyyHhMmAMThe example: September 30, 2002 13:00 PM
DateWwwDdThe example: W41/2
DateWwwDdYyHhMmAmThe example: W41/2/02 13:00 PM
DefaultThe example: Default date format.

Custom

public static final int Custom

DateTime values are formatted using format string which is set to the project’s Prj.CUSTOM_DATE_FORMAT property.

DateDd

public static final int DateDd

The example: 30

DateDdMmYyyy

public static final int DateDdMmYyyy

The example: 19/07/2016

DateDddDd

public static final int DateDddDd

The example: Tue 30

DateDddHhMmAM

public static final int DateDddHhMmAM

The example: Tue 13:00 PM

DateDddMmDd

public static final int DateDddMmDd

The example: Tue 9/30

DateDddMmDdYy

public static final int DateDddMmDdYy

The example: Tue 9/30/02

DateDddMmDdYyHhMmAM

public static final int DateDddMmDdYyHhMmAM

The example: Tue 9/30/02 13:00 PM

DateDddMmmDd

public static final int DateDddMmmDd

The example: Tue Sep 30

DateDddMmmDdYyy

public static final int DateDddMmmDdYyy

The example: Tue Sep 30, ‘02

DateHhMmAm

public static final int DateHhMmAm

The example: 13:00 PM

DateMmDd

public static final int DateMmDd

The example: 9/30

DateMmDdYy

public static final int DateMmDdYy

The example: 9/30/02

DateMmDdYyHhMmAM

public static final int DateMmDdYyHhMmAM

The example: 09/30/02 13:00 PM

DateMmDdYyyy

public static final int DateMmDdYyyy

The example: 9/30/2002

DateMmmDd

public static final int DateMmmDd

The example: Sep 30

DateMmmDdHhMmAM

public static final int DateMmmDdHhMmAM

The example: Sep 30 13:00 PM

DateMmmDdYyy

public static final int DateMmmDdYyy

The example: Sep 30, ‘02

DateMmmmDd

public static final int DateMmmmDd

The example: September 30

DateMmmmDdYyyy

public static final int DateMmmmDdYyyy

The example: September 30, 2002

DateMmmmDdYyyyHhMmAM

public static final int DateMmmmDdYyyyHhMmAM

The example: September 30, 2002 13:00 PM

DateWwwDd

public static final int DateWwwDd

The example: W41/2

DateWwwDdYyHhMmAm

public static final int DateWwwDdYyHhMmAm

The example: W41/2/02 13:00 PM

Default

public static final int Default

The example: Default date format.