1: <?php
2: declare(strict_types=1);
3:
4: namespace om\RRule;
5:
6: /**
7: * SKIP rule part (RFC 7529, section 4.1): handling of instances on an invalid date,
8: * e.g. February 30 or February 29 in a common year.
9: */
10: enum Skip: string {
11: /** The instance is dropped (the RFC 5545 behaviour). */
12: case Omit = 'OMIT';
13: /** The instance moves to the previous valid day, the last day of the month. */
14: case Backward = 'BACKWARD';
15: /** The instance moves to the next valid day, the first day of the next month. */
16: case Forward = 'FORWARD';
17: }
18: