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
Field | Description |
---|---|
Custom | DateTime values are formatted using format string which is set to the project’s Prj.CUSTOM_DATE_FORMAT property. |
DateDd | The example: 30 |
DateDdMmYyyy | The example: 19/07/2016 |
DateDddDd | The example: Tue 30 |
DateDddHhMmAM | The example: Tue 13:00 PM |
DateDddMmDd | The example: Tue 9/30 |
DateDddMmDdYy | The example: Tue 9/30/02 |
DateDddMmDdYyHhMmAM | The example: Tue 9/30/02 13:00 PM |
DateDddMmmDd | The example: Tue Sep 30 |
DateDddMmmDdYyy | The example: Tue Sep 30, ‘02 |
DateHhMmAm | The example: 13:00 PM |
DateMmDd | The example: 9/30 |
DateMmDdYy | The example: 9/30/02 |
DateMmDdYyHhMmAM | The example: 09/30/02 13:00 PM |
DateMmDdYyyy | The example: 9/30/2002 |
DateMmmDd | The example: Sep 30 |
DateMmmDdHhMmAM | The example: Sep 30 13:00 PM |
DateMmmDdYyy | The example: Sep 30, ‘02 |
DateMmmmDd | The example: September 30 |
DateMmmmDdYyyy | The example: September 30, 2002 |
DateMmmmDdYyyyHhMmAM | The example: September 30, 2002 13:00 PM |
DateWwwDd | The example: W41/2 |
DateWwwDdYyHhMmAm | The example: W41/2/02 13:00 PM |
Default | The 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.