# File lib/ri_cal/property_value/date.rb, line 36 def value=(val) case val when nil @date_time_value = nil when String @date_time_value = FastDateTime.from_date_time(::DateTime.parse(::DateTime.parse(val).strftime("%Y%m%d"))) when ::Time, ::Date, ::DateTime @date_time_value = FastDateTime.from_date_time(::DateTime.parse(val.strftime("%Y%m%d"))) when FastDateTime @date_time_value = val end end