Class: TwitterCldr::DataReaders::DateDataReader
- Inherits:
-
CalendarDataReader
- Object
- DataReader
- CalendarDataReader
- TwitterCldr::DataReaders::DateDataReader
- Defined in:
- lib/twitter_cldr/data_readers/date_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
#formatter ⇒ Object
14 15 16 |
# File 'lib/twitter_cldr/data_readers/date_data_reader.rb', line 14 def formatter @formatter ||= TwitterCldr::Formatters::DateTimeFormatter.new(self) end |
#tokenizer ⇒ Object
10 11 12 |
# File 'lib/twitter_cldr/data_readers/date_data_reader.rb', line 10 def tokenizer @tokenizer ||= TwitterCldr::Tokenizers::DateTokenizer.new(self) end |