Sha256: b14b8ccf37182ba358a202e65446518264b7fc7eec0741ba8ba50b2e17ee3c6c
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 TimeDataReader < CalendarDataReader def tokenizer @tokenizer ||= TwitterCldr::Tokenizers::TimeTokenizer.new(self) end def formatter @formatter ||= TwitterCldr::Formatters::DateTimeFormatter.new(self) end protected def path_for(type, calendar_type) [:calendars, calendar_type, :formats, :time] end end end end
Version data entries
65 entries across 65 versions & 3 rubygems