Class: TwitterCldr::DataReaders::DateTimeDataReader
- Inherits:
-
CalendarDataReader
- Object
- DataReader
- CalendarDataReader
- TwitterCldr::DataReaders::DateTimeDataReader
- Defined in:
- lib/twitter_cldr/data_readers/date_time_data_reader.rb
Constant Summary
Constants inherited from CalendarDataReader
CalendarDataReader::DEFAULT_TYPE, CalendarDataReader::TYPE_PATHS
Instance Attribute Summary
Attributes inherited from CalendarDataReader
#additional_format, #calendar_type, #type
Attributes inherited from DataReader
Instance Method Summary collapse
Methods inherited from CalendarDataReader
#additional_format_selector, #calendar, #initialize, #pattern, types
Methods inherited from DataReader
Constructor Details
This class inherits a constructor from TwitterCldr::DataReaders::CalendarDataReader
Instance Method Details
#date_reader ⇒ Object
10 11 12 |
# File 'lib/twitter_cldr/data_readers/date_time_data_reader.rb', line 10 def date_reader @date_reader ||= DateDataReader.new(locale, ) end |
#formatter ⇒ Object
22 23 24 |
# File 'lib/twitter_cldr/data_readers/date_time_data_reader.rb', line 22 def formatter @formatter ||= TwitterCldr::Formatters::DateTimeFormatter.new(self) end |
#time_reader ⇒ Object
14 15 16 |
# File 'lib/twitter_cldr/data_readers/date_time_data_reader.rb', line 14 def time_reader @time_reader ||= TimeDataReader.new(locale, ) end |
#tokenizer ⇒ Object
18 19 20 |
# File 'lib/twitter_cldr/data_readers/date_time_data_reader.rb', line 18 def tokenizer @tokenizer ||= TwitterCldr::Tokenizers::DateTimeTokenizer.new(self) end |