Class: When::CalendarTypes::LocalTime
- Inherits:
-
UTC
- Object
- BasicTypes::Object
- TM::Object
- TM::ReferenceSystem
- TM::Clock
- UTC
- When::CalendarTypes::LocalTime
- Defined in:
- lib/when_exe/calendartypes.rb
Overview
Abstract Local Time
Constant Summary
Constants included from When::Coordinates
When::Coordinates::Bahai, When::Coordinates::CommonResidue, When::Coordinates::DefaultDateIndices, When::Coordinates::DefaultDayIndex, When::Coordinates::DefaultTimeIndices, When::Coordinates::IndianCities, When::Coordinates::Javanese, When::Coordinates::MATCH, When::Coordinates::Mayan, When::Coordinates::PERIOD, When::Coordinates::PERIOD_NAME, When::Coordinates::PRECISION, When::Coordinates::PRECISION_NAME, When::Coordinates::Tibetan, When::Coordinates::VALUE, When::Coordinates::Yi
Constants included from Parts::Resource
Parts::Resource::LabelProperty
Instance Attribute Summary
Attributes inherited from TM::Clock
#date_basis, #reference_event, #reference_time, #second, #time_standard, #tz_prop, #utc_reference, #zone
Attributes inherited from TM::ReferenceSystem
#domain_of_validity, #position
Attributes inherited from BasicTypes::Object
Attributes included from Parts::Resource
#_pool, #child, #keys, #locale, #namespace
Instance Method Summary collapse
-
#universal_time(sdn = nil) ⇒ Numeric
128秒単位の実数による参照事象の時刻.
Methods inherited from UTC
Methods inherited from TM::Clock
#^, #_arrange_length, #_coordinates_to_number, #_daylight, _local_time, #_need_validate, #_number_to_coordinates, #_precision, #_round_value, _setup_, #_to_hash_value, #_tz_difference, #clk_trans, get_clock, get_clock_option, is_local_time_set?, local_time, local_time=, #rate_of_clock, #to_basic, #to_clk_time, to_hms, #to_universal_time, #tzname, #utc_trans
Methods included from Parts::Resource::Pool
#[], #[]=, #_pool, #_setup_, #pool_keys
Methods included from Parts::Resource::Synchronize
Methods included from When::Coordinates
Methods inherited from TM::ReferenceSystem
Methods included from Parts::Resource
#[], #^, _decode, _encode, _extract_prefix, _instance, _parse, _path_with_prefix, _replace_tags, _setup_, #each, #enum_for, #hierarchy, #include?, #included?, #iri, #leaf?, #m17n, #map, #next, #parent, #prev, #registered?
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class When::Parts::Resource
Instance Method Details
#universal_time(sdn = nil) ⇒ Numeric
128秒単位の実数による参照事象の時刻
Fraction time of the reference event
86 87 88 89 90 |
# File 'lib/when_exe/calendartypes.rb', line 86 def universal_time(sdn=nil) return super unless sdn time = When::TM::JulianDate._d_to_t(sdn-0.5) @time_standard.to_dynamical_time(time) - When::TimeStandard.to_dynamical_time(time) end |