[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Runt: Matching the year

Pat Maddox

12/14/2005 9:17:00 AM

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.

Pat