Implements the extensions to the Time class that are described in the
documentation for the time.rb library.
| Public Methods |
| httpdate |
Returns a string which represents the time as rfc1123-date of HTTP-date
defined by RFC 2616:
|
| httpdate |
Parses date as HTTP-date defined by RFC 2616 and converts it to a
Time object.
|
| iso8601 |
Alias for #xmlschema
|
| parse |
Parses date using Date._parse and converts it to a Time object.
|
| rfc2822 |
Parses date as date-time defined by RFC 2822 and converts it to a
Time object. The format is identical to the date format defined by RFC 822
and updated by RFC 1123.
|
| rfc2822 |
Returns a string which represents the time as date-time defined by RFC
2822:
|
| rfc822 |
Alias for #rfc2822
|
| to_yaml |
|
| w3cdtf |
|
| xmlschema |
Parses date as dateTime defined by XML Schema and converts it to a
Time object. The format is restricted version of the format defined by ISO
8601.
|
| xmlschema |
Returns a string which represents the time as dateTime defined by XML
Schema:
|
| yaml_new |
|
| zone_offset |
|
<code/>and<pre/>for code samples.