Interface TimeBasedConditionHandler

All Superinterfaces:
ConditionHandler, ModuleHandler

@NonNullByDefault public interface TimeBasedConditionHandler extends ConditionHandler
ConditionHandler that evaluates, if the current time satisfies a specified condition.
Author:
Sönke Küper - Initial contribution
  • Method Details

    • isSatisfiedAt

      boolean isSatisfiedAt(ZonedDateTime time)
      Checks if this condition is satisfied for the given time.
      Parameters:
      time - The time to check.
      Returns:
      true if and only if the given time satisfies this condition.