| Path: | lib/time.rb |
| Last Update: | Tue Mar 13 02:07:05 -0500 2007 |
This library extends the Time class:
This library provides methods dedicated to special purposes:
This library doesn‘t use strftime. Especially rfc2822 doesn‘t depend on strftime because:
Since they are locale sensitive, they may be replaced to invalid weekday/month name in some locales. Since ruby-1.6 doesn‘t invoke setlocale by default, the problem doesn‘t arise until some external library invokes setlocale. Ruby/GTK is the example of such library.
%z is required to generate zone in date-time of RFC 2822 but it is not portable.
$Id$
ruby-doc.org is a community service provided by James Britt and Rising Tide Software, a Phoenix, Arizona, Ruby application development company.
Documentation content on ruby-doc.org is provided by remarkable members of the Ruby community.
For more information on the Ruby programming language, visit ruby-lang.org.
Want to help improve Ruby's API docs? See Ruby Documentation Guidelines.