lib/timing/time_in_zone.rb in timing-0.1.3 vs lib/timing/time_in_zone.rb in timing-0.2.0
- old
+ new
@@ -4,10 +4,10 @@
extend Forwardable
REGEXP = /[+-]\d\d:?\d\d$/
def_delegators :time, :to_i, :to_f, :to_date, :to_datetime, :between?, :==, :<, :<=, :>, :>=, :<=>, :hash
- def_delegators :time_with_offset, :year, :month, :day, :hour, :min, :sec, :wday, :yday
+ def_delegators :time_with_offset, :year, :month, :day, :hour, :min, :sec, :wday, :yday, :sunday?, :monday?, :tuesday?, :wednesday?, :thursday?, :friday?, :saturday?
attr_reader :zone_offset
def initialize(time, zone_offset=nil)
@time = time
\ No newline at end of file