method

_rfc3339

v1_9_2_180 - Show latest stable - Class: Date
_rfc3339(str)
public

No documentation available.

# File lib/date/format.rb, line 1121
  def self._rfc3339(str) # :nodoc:
    if /\A\s*-?\d{4}-\d{2}-\d{2} # allow minus, anyway
        (t|\s)
        \d{2}:\d{2}:\d{2}(\.\d+)?
        (z|[-+]\d{2}:\d{2})\s*\z/x =~ str
      _parse(str)
    end
  end