README.md in fugit-1.4.4 vs README.md in fugit-1.4.5

- old
+ new

@@ -201,10 +201,24 @@ # today (as of this coding...) p EtOrbi.parse('2019-04-11').wday # => 4 p EtOrbi.parse('2019-04-11').rweek # => 15 p EtOrbi.parse('2019-04-11').rweek % 2 # => 1 + +c = Fugit.parse('* * * * tue%2') +c.match?('2019-01-01') # => false, since rweek % 2 == 1 +c.match?('2019-01-08') # => true, since rweek % 2 == 0 + +c = Fugit.parse('* * * * tue%2+1') +c.match?('2019-01-01') # => true, since (rweek + 1) % 2 == 0 +c.match?('2019-01-08') # => false, since (rweek + 1) % 2 == 1 + +# ... ``` + +`sun%2` matches if Sunday and `current_date.rweek % 2 == 0` +`tue%3+2` matches if Tuesday and `current_date.rweek + 2 % 3 == 0` +`tue%x+y` matches if Tuesday and `current_date.rweek + y % x == 0` ## `Fugit::Duration` A class `Fugit::Duration` to parse duration strings (vanilla [rufus-scheduler](https://github.com/jmettraux/rufus-scheduler) ones and [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) ones).