Runt: Matching the year

I downloaded runt to do some temporal expression work, and was
wondering if there’s any way to match against a year. From what I can
tell I can match against month, day, hour, min, sec, but not the year.
Basically I’d like to have a timex that matches all dates with the
year 2005. If I create a date that has the year 2006, then include?
should return false for that particular date. Am I missing something
in the docs? I’d appreciate any help.


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs