SKDatePrecision

public enum SKDatePrecision : String, Codable

An enumeration representing the different levels of precision for a given date, such as an album’s release date.

  • The given date is used to represent a specific year.

    Declaration

    Swift

    case year
  • The given date is used to represent a specific month and year.

    Declaration

    Swift

    case month
  • day

    The given date is used to represent a specific day, month, and year.

    Declaration

    Swift

    case day