Class: TwitterCldr::Formatters::DateTimeFormatter

Inherits:
Formatter
  • Object
show all
Defined in:
lib/twitter_cldr/formatters/calendars/date_time_formatter.rb

Constant Summary collapse

WEEKDAY_KEYS =
[:sun, :mon, :tue, :wed, :thu, :fri, :sat]
METHODS =

ignoring u, l, g, j, A

{ # ignoring u, l, g, j, A
  'G' => :era,
  'y' => :year,
  'Y' => :year_of_week_of_year,
  'Q' => :quarter,
  'q' => :quarter_stand_alone,
  'M' => :month,
  'L' => :month_stand_alone,
  'w' => :week_of_year,
  'W' => :week_of_month,
  'd' => :day,
  'D' => :day_of_month,
  'F' => :day_of_week_in_month,
  'E' => :weekday,
  'e' => :weekday_local,
  'c' => :weekday_local_stand_alone,
  'a' => :period,
  'h' => :hour,
  'H' => :hour,
  'K' => :hour,
  'k' => :hour,
  'm' => :minute,
  's' => :second,
  'S' => :second_fraction,
  'z' => :timezone,
  'Z' => :timezone,
  'v' => :timezone_generic_non_location,
  'V' => :timezone_metazone
}

Instance Attribute Summary

Attributes inherited from Formatter

#data_reader

Method Summary

Methods inherited from Formatter

#format, #initialize

Constructor Details

This class inherits a constructor from TwitterCldr::Formatters::Formatter