Inicio del contenido principal
::xotcl::Object
::xo::ical
The Object ::calendar::ical provides the methods for
importing and exporting single or multiple calendar items
in the ical format (see rfc 2445). Currently only the part
of ical is implemented, which is used by the mozilla
calendar (Sunbird, or Lightning for Thunderbird).
- Author:
- Gustaf Neumann
Defined in packages/xotcl-core/tcl/ical-procs.tcl
Methods
::xo::ical
dates_valid_p -start_date start_date -end_date end_date
A sanity check that the start time is before the end time.
This is a rewrite of calendar::item::dates_valid_p, but
about 100 times faster.
- Switches:
- -start_date (required)
- -end_date (required)
::xo::ical
ical_to_text text
Transform the escaped ical text format to plain text
- Parameters:
-
text
::xo::ical
text_to_ical [ -remove_tags remove_tags ] text
Transform arbitrary text to the escaped ical text format
(see rfc 2445)
- Switches:
- -remove_tags (defaults to
"false"
) (optional)
- Parameters:
-
text