Sha256: d4f910d79e8bbaea109c8bdc320d7b9fc3bccad1a04a8ac3af66b5664340d463
Contents?: true
Size: 530 Bytes
Versions: 65
Compression:
Stored size: 530 Bytes
Contents
# encoding: UTF-8 # Copyright 2012 Twitter, Inc # http://www.apache.org/licenses/LICENSE-2.0 module TwitterCldr module DataReaders class DateDataReader < CalendarDataReader def tokenizer @tokenizer ||= TwitterCldr::Tokenizers::DateTokenizer.new(self) end def formatter @formatter ||= TwitterCldr::Formatters::DateTimeFormatter.new(self) end protected def path_for(type, calendar_type) [:calendars, calendar_type, :formats, :date] end end end end
Version data entries
65 entries across 65 versions & 3 rubygems