ESTDateRule
Deprecated
Deprecated since 4.31.0.
@interface ESTDateRule : ESTRule
The ESTDateRule class defines single rule related to time during the day.
-
Initialization method creating rule when targeted hour is later then.
Declaration
Objective-C
+ (nonnull instancetype)hourLaterThan:(int)hour;Swift
class func hourLaterThan(_ hour: Int32) -> SelfParameters
hourhour after which rule should be fulfilled
Return Value
create rule object
-
Initialization method creating rule when targeted hour is earlier then.
Declaration
Objective-C
+ (nonnull instancetype)hourEarlierThan:(int)hour;Swift
class func hourEarlierThan(_ hour: Int32) -> SelfParameters
hourhour before which rule should be fulfilled
Return Value
create rule object
-
Initialization method creating rule when targeted hour is between hours.
Declaration
Objective-C
+ (nonnull instancetype)hourBetween:(int)firstHour and:(int)secondHour;Swift
class func hourBetween(_ firstHour: Int32, and secondHour: Int32) -> SelfParameters
firstHourhour after which rule should be fulfilled
secondHourhour before which rule should be fulfilled
Return Value
create rule object
View on GitHub
ESTDateRule Class Reference