Class: ISO8601::Days
Overview
The Days atom in a Duration
A “calendar day” is the time interval which starts at a certain time of day at a certain “calendar day” and ends at the same time of day at the next “calendar day”.
Instance Attribute Summary
Attributes inherited from Atom
Instance Method Summary collapse
-
#factor ⇒ Object
The Day factor.
-
#symbol ⇒ Symbol
The atom symbol.
Methods inherited from Atom
#==, #eql?, #hash, #initialize, #to_f, #to_i, #to_s, #to_seconds, #value
Constructor Details
This class inherits a constructor from ISO8601::Atom
Instance Method Details
#factor ⇒ Object
The Day factor
213 214 215 |
# File 'lib/iso8601/atoms.rb', line 213 def factor 86400 end |
#symbol ⇒ Symbol
The atom symbol.
220 221 222 |
# File 'lib/iso8601/atoms.rb', line 220 def symbol :D end |