Front page | perl.datetime |
Postings from January 2003
Re: Picking up the ball
Thread Previous
|
Thread Next
From:
fglock
Date:
January 10, 2003 04:42
Subject:
Re: Picking up the ball
Message ID:
3E1EC000.69C1@pucrs.br
Just some notes about Date::Set:
- The base object is defined with a 'plug-in'.
Date::Set is a wrapper for Set::Infinite, in which
the default base object is Date::ICal, because we
wanted Reefknot compatibility.
- The 'native' base date object (Set::Infinite::Date) supports
date, datetime, time, and epoch modes (with fractional
seconds).
- Calendar arithmetic is stored in hashes
(we call them 'quantizers'), so that all operations can
be overriden and it is possible to create new ones.
There are 'quantizers' for years, months, weeks, etc.
If your calendar had lunar years you could create a
'lunar-years' unit, or redefine 'years'.
- Current development version handles timezones and dst.
It will probably use Jesse's work on Olsen database.
- Durations, datetime spans and span sets are supported
- Can handle a single date or entire calendars as an object
(daylight saving time definition is a Date::Set itself)
- Handles both finite and infinite sets. Allows set to be
created as explicit set of objects, or via recurring
specifier. Supports unbounded recurrences.
- Functions as an iterator
- Provide complex recurring specifier parsing (rfc2445).
- Needs help with documentation!
Some notes on Date::Tie:
- Small module, with a nice API (IMHO)
- supports almost everything in ISO8601, including fractional seconds.
Thread Previous
|
Thread Next