Hmmm Hmmm wrote:

> I need to develop new date class in ruby rather then built in date class
> program needs to do these things below
>
> 1.  Read a series of dates from an ASCII text file. You can assume that
> all dates in the file are in an acceptable format, with the elements in
> the order day, month and year, with the separator being any non-numeric
> character.  A suitable input file is provided on the course web site.
> 2.  If a date is in error, use exceptions to handle the error and
> discard any erroneous dates. Any error messages should be displayed to
> the console.
> 3.  Sort the valid dates read from the text file into ascending order.
> 4.  Dates should be able to be displayed in two formats  either
> 17/07/2008 or 17th July 2008.
> 5.  Implement an increment method that increments the date by a day

This looks an awful lot like homework.