Module: Embulk::Input::GoogleSpreadsheets::Typecast::TimestampFormatUtil
- Defined in:
- lib/embulk/input/google_spreadsheets/typecast/timestamp_format_util.rb
Class Method Summary collapse
Class Method Details
.timezone_format?(format) ⇒ Boolean
7 8 9 10 11 |
# File 'lib/embulk/input/google_spreadsheets/typecast/timestamp_format_util.rb', line 7 def self.timezone_format?(format) @cache ||= {} return @cache[format.dup] if @cache.has_key?(format) @cache[format] = tz_regexp === format end |