PenaltyRule

public PenaltyRule PenaltyRule(PenaltyType penalty, LocalDateTime startDateTime, LocalDateTime endDateTime)

Parameters

penalty
startDateTime

The time when this penalty window starts

endDateTime

The time when this penalty window ends