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) -> Self
Parameters
hour
hour 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) -> Self
Parameters
hour
hour 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) -> Self
Parameters
firstHour
hour after which rule should be fulfilled
secondHour
hour before which rule should be fulfilled
Return Value
create rule object