class Time
Public Class Methods
cet( str )
click to toggle source
# File lib/textutils/core_ext/time.rb, line 6 def self.cet( str ) # central european time (cet) + central european summer time (cest) ActiveSupport::TimeZone['Vienna'].parse( str ) end
cst( str )
click to toggle source
# File lib/textutils/core_ext/time.rb, line 14 def self.cst( str ) # central standard time (cst) - 6 hours ActiveSupport::TimeZone['Mexico City'].parse( str ) end
eet( str )
click to toggle source
# File lib/textutils/core_ext/time.rb, line 10 def self.eet( str ) # eastern european time (eet) + 2 hours ActiveSupport::TimeZone['Bucharest'].parse( str ) end