Class: TwitterCldr::DataReaders::TimeDataReader

Inherits:
CalendarDataReader show all
Defined in:
lib/twitter_cldr/data_readers/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

#locale

Instance Method Summary collapse

Methods inherited from CalendarDataReader

#additional_format_selector, #calendar, #initialize, #pattern, types

Methods inherited from DataReader

#initialize, #pattern_at_path

Constructor Details

This class inherits a constructor from TwitterCldr::DataReaders::CalendarDataReader

Instance Method Details

#formatterObject



14
15
16
# File 'lib/twitter_cldr/data_readers/time_data_reader.rb', line 14

def formatter
  @formatter ||= TwitterCldr::Formatters::DateTimeFormatter.new(self)
end

#tokenizerObject



10
11
12
# File 'lib/twitter_cldr/data_readers/time_data_reader.rb', line 10

def tokenizer
  @tokenizer ||= TwitterCldr::Tokenizers::TimeTokenizer.new(self)
end