xotcl.wu-wien.ac.at
Begin main content
Methods: Source: Variables:
[All Methods | Documented Methods | Hide Methods] [Display Source | Hide Source] [Show Variables | Hide Variables]

::xotcl::Object[i] ::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

  • proc dates_valid_p (public)

    ::xo::ical[i] 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)
  • proc ical_to_text (public)

    ::xo::ical[i] ical_to_text text
    Transform the escaped ical text format to plain text

    Parameters:
    text
  • proc text_to_ical (public)

    ::xo::ical[i] 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

Methods: Source: Variables:
[All Methods | Documented Methods | Hide Methods] [Display Source | Hide Source] [Show Variables | Hide Variables]