RSDFrequencyType

public enum RSDFrequencyType : String, CaseIterable

The frequency type can be used to indicate the frequency with which to do something within the app.

  • Is the given date range within the duration window for the given frequency?

    Declaration

    Swift

    public func withinDuration(between date1: Date, and date2: Date) -> Bool

    Return Value

    true if date1 + frequency > date2