Module: Icss::Meta::TimeSchema

Includes:
PrimitiveSchema
Included in:
Time
Defined in:
lib/icss/type/simple_types.rb

Instance Method Summary collapse

Methods included from PrimitiveSchema

#doc, #doc=, #to_schema

Instance Method Details

#fullnameObject



25
# File 'lib/icss/type/simple_types.rb', line 25

def fullname() :time    ; end

#receive(val = nil) ⇒ Object



25
# File 'lib/icss/type/simple_types.rb', line 25

def receive(val=nil) val.blank? ? nil : self.parse(val.to_s).utc rescue nil ; end