Represents a year, month, and day with no time information.
Constructors
new(date : Tuple(Int32, Int32, Int32))
Creates a date from the return of Time#date.
SourceInstance methods
at_beginning_of_sunday_week
See Time#at_beginning_of_sunday_week.
Sourceshift(years : Int = 0, months : Int = 0, weeks : Int = 0, days : Int = 0) : self
Sourceto_ical
Formats this date as an iCal DATE value.
Sourceto_time
Converts this date to a Time at midnight in UTC.
Source