I need to read in some iCalendar files.  I would like to read in the
data and dates encoded according to the arbitrary time zone
information in the iCalendar files and then be able to reinterpret the
dates according to the regular DateTime::TimeZone modules.

I can either do this the quick and dirty way (which is probably where
I'll start anyway) and just read the dates in and do a quick
conversion to UTC using the time zone information in the iCalendar
file. Once read in, I can then convert the time zones via
DateTime::TimeZone modules as needed.

The main reason for my mail is to see if there would be any interest
in a module that implements the DateTime::TimeZone information via the
arbitrary/incomplete time zone information, like that which is stored
in an iCalendar format (or any general source, it wouldn't need to be
specific to iCalendar). This module would be similar
DateTime::TimeZone::OffsetOnly, but would contain an arbitrary set of
DateTime spans, which would then have offsets associated with
them---also somewhat similar to the way the individual
DateTime::TimeZone::* classes are built internally, but configurable
per-instance.

Does such a thing already exist and I'm not finding it? Is there
interest in such a thing? I'd write it, but I'm not quite sure what to
call it? DateTime::TimeZone::Arbitrary?
DateTime::TimeZone::OffsetSpans? Suggestions?

Cheers,
Sterling

Reply via email to