Class: When::CalendarTypes::UTC
- Inherits:
-
TM::Clock
- Object
- BasicTypes::Object
- TM::Object
- TM::ReferenceSystem
- TM::Clock
- When::CalendarTypes::UTC
- Defined in:
- lib/when_exe/calendartypes.rb
Overview
Universal Time, Coordinated
Constant Summary
Constants included from When::Coordinates
When::Coordinates::Bahai, When::Coordinates::Chinese, When::Coordinates::Common, When::Coordinates::DefaultDateIndices, When::Coordinates::DefaultDayIndex, When::Coordinates::DefaultTimeIndices, When::Coordinates::Indian, When::Coordinates::Iranian, When::Coordinates::Javanese, When::Coordinates::LocationTable, When::Coordinates::MATCH, When::Coordinates::Mayan, When::Coordinates::PERIOD, When::Coordinates::PERIOD_NAME, When::Coordinates::PRECISION, When::Coordinates::PRECISION_NAME, When::Coordinates::Russian, When::Coordinates::Tibetan, When::Coordinates::VALUE, When::Coordinates::Yi
Constants included from Namespace
Namespace::DC, Namespace::DCQ, Namespace::DCT, Namespace::FOAF, Namespace::OWL, Namespace::RDF, Namespace::RDFC, Namespace::RDFS, Namespace::RSS, Namespace::XSD
Instance Attribute Summary
Attributes inherited from TM::Clock
#date_basis, #reference_event, #reference_time, #second, #time_standard, #tz_prop, #utc_reference
Attributes included from Parts::Timezone::Base
#daylight, #standard, #tz_difference
Attributes inherited from TM::ReferenceSystem
#domain_of_validity, #position
Attributes inherited from BasicTypes::Object
Attributes included from Parts::Resource
#child, #keys, #locale, #namespace
Instance Method Summary collapse
-
#clk_trans(clk_time) ⇒ When::TM::ClockTime
(also: #clkTrans)
UTC時刻をこの時法の時刻に変換する.
-
#utc_trans(u_time) ⇒ When::TM::ClockTime
(also: #utcTrans)
この時法の時刻をUTC時刻に変換する.
-
#zone ⇒ String
Zone 名.
Methods inherited from TM::Clock
#_coordinates_to_number, _local_time, #_number_to_coordinates, _setup_, _setup_info, #daylight, is_local_time_set?, local_time, local_time=, #location, #rate_of_clock, #standard, #to_basic, #to_clk_time, #to_universal_time, #tz_difference, #tzname, #universal_time
Methods included from Parts::Resource::Pool
Methods included from Parts::Timezone::Base
Methods included from When::Coordinates
Methods inherited from TM::ReferenceSystem
Methods included from Parts::Resource
#[], #^, _instance, _setup_, _setup_info, base_uri, #each, #enum_for, #hierarchy, #include?, #included?, #iri, #leaf?, #m17n, #map, #parent, #registered?, root_dir
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class When::Parts::Resource
Instance Method Details
#clk_trans(clk_time) ⇒ When::TM::ClockTime Also known as: clkTrans
UTC時刻をこの時法の時刻に変換する
Description of an operation for converting a UTC time to a time on this clock
41 42 43 |
# File 'lib/when_exe/calendartypes.rb', line 41 def clk_trans(clk_time) return clk_time end |
#utc_trans(u_time) ⇒ When::TM::ClockTime Also known as: utcTrans
この時法の時刻をUTC時刻に変換する
Description of an operation for converting a time on this clock to a UTC time
28 29 30 |
# File 'lib/when_exe/calendartypes.rb', line 28 def utc_trans(u_time) return u_time end |
#zone ⇒ String
Zone 名
51 52 53 |
# File 'lib/when_exe/calendartypes.rb', line 51 def zone @label.to_s end |