Class: DateTime
- Inherits:
-
Object
- Object
- DateTime
- Defined in:
- lib/twitter_cldr/core_ext/calendars/datetime.rb
Overview
Copyright 2012 Twitter, Inc www.apache.org/licenses/LICENSE-2.0
Instance Method Summary collapse
Instance Method Details
#localize(locale = TwitterCldr.get_locale, options = {}) ⇒ Object
7 8 9 |
# File 'lib/twitter_cldr/core_ext/calendars/datetime.rb', line 7 def localize(locale = TwitterCldr.get_locale, = {}) TwitterCldr::LocalizedDateTime.new(self, locale, ) end |