KNDateTimeFormat
public enum KNDateTimeFormat : String, Codable
Enum helper, returns a String that represents a time format such as “HH:mm”, “yyyy-MM-dd”.
Version
1.1.0-
Date format represented as “HH:mm”. E.g. “10:30”
Declaration
Swift
case hourAndMinutes = "HH:mm"
-
Date format represented as “d MMM”. E.g. “1 Jan”
Declaration
Swift
case dayAndMonth = "d MMM"
-
Date format represented as “yyyy-MM-dd”. E.g. “2019-01-01”
Declaration
Swift
case fullDate = "yyyy-MM-dd"
-
Date format represented as “yyyy-MM-dd HH:mm”. E.g. “2019-01-01 10:30”
Declaration
Swift
case timeStamp = "yyyy-MM-dd HH:mm"
-
Date format represented as “d MMMM”. E.g. “1 January”
Declaration
Swift
case dayAndFullMonth = "d MMMM"
-
Date format represented as “MMMM”. E.g. “January”
Declaration
Swift
case fullMonth = "MMMM"