Module RiCal::PropertyValue::DateTime::TimeMachine
In: lib/ri_cal/property_value/date_time/time_machine.rb
  • ©2009 Rick DeNatale, All rights reserved. Refer to the file README.txt for the license
 Methods for DateTime which support getting values at different point in time.

Methods

Public Instance methods

Return a DATE_TIME value representing the same time on the last day of the ISO year with weeks starting on wkst containing the receiver

Return a DATE_TIME value representing the same time on the first day of the ISO year with weeks starting on wkst containing the receiver

Return a DATE_TIME value representing the same time on the first day of the ISO year with weeks starting on wkst after the ISO year containing the receiver

Return a DATE-TIME property representing the receiver on a different day (if necessary) so that the result is the first day of the ISO week starting on the wkst day containing the receiver.

Return a DATE_TIME value representing the last second of the day containing the receiver

Return a DATE_TIME value representing the last second of the hour containing the receiver

Return a DATE_TIME value representing the last second of the last day of the ISO year with weeks starting on wkst containing the receiver

Return a DATE_TIME value representing the last second of the minute containing the receiver

Return a DATE_TIME value representing the last second of the month containing the receiver

Return a DATE_TIME value representing the last second of the ISO week starting with wkst containing the receiver

Return a DATE_TIME value representing the last second of the month containing the receiver

Return a DATE-TIME representing the same time, on the same day of the month in month. If the month of the receiver has more days than the target month the last day of the target month will be used.

Return a DATE-TIME property representing the receiver on a different day (if necessary) so that the result is within the 7 days starting with date

Return a DATE_TIME value representing the first second of the day containing the receiver

Return a DATE_TIME value representing the first second of the hour containing the receiver

Return a DATE_TIME value representing the first second of the minute containing the receiver

Return a DATE_TIME value representing the first second of the month containing the receiver

Return a Ruby Date representing the first day of the ISO week starting with wkst containing the receiver

Return a DATE_TIME value representing the first second of the month containing the receiver

[Validate]