DateComparsion

public enum DateComparsion

An enumeration representing the result of comparing two Date objects.

  • Indicates that the compared date is in the future relative to the reference date.

    Declaration

    Swift

    case future
  • Indicates that the compared date is in the past relative to the reference date.

    Declaration

    Swift

    case past
  • Indicates that the compared date is the same as the reference date.

    Declaration

    Swift

    case same