DSDateFormat

enum DSDateFormat : Enum<DSDateFormat>

This class represents the types of date formats

Entries

Link copied to clipboard
MMM_DD_YYYY_2("MMM dd, yyyy")
Link copied to clipboard
YYYY_MM_DD("yyyy-MM-dd")
Link copied to clipboard
MMM_DD_YYYY("MMM-dd-yyyy")
Link copied to clipboard
DD_MM_YYYY("dd-MM-yyyy")
Link copied to clipboard
DD_MM_YY("dd-MM-yy")
Link copied to clipboard
MM_DD_YYYY("MM/dd/yyyy")

MM_DD_YYYY is the default date format.

Properties

Link copied to clipboard
val dateFormat: String
Link copied to clipboard
val name: String
Link copied to clipboard
val ordinal: Int