VCS (.vcs)

Background

    • MIME types: text/calendar
    • VCS vCalendar format.
    • Used for the storage and exchange of calendar information and in personal information management applications.
    • Superseded by the ICS format.
    • Plain text format.
    • Stores multiple events and tasks in a single file.
    • Developed in 1996.

Import & Export

  • Import["file.vcs"] imports all events from a VCS file.
  • Import["file.vcs"] gives a list of rules for each event stored in the file.
  • Import["file.vcs",elem] imports the specified element from a VCS file.
  • Import["file.vcs",{elem,sub,}] imports a subelement.
  • Import["file.vcs",{{elem1,elem2,}}] imports multiple elements.
  • The import format can be specified with Import["file","VCS"] or Import["file",{"VCS",elem,}].
  • See the reference pages for full general information on Import.
  • ImportString supports the VCS format.

Import Elements

  • General Import elements:
  • "Elements"list of elements and options available in this file
    "Rules"full list of rules for each element and option
    "Options"list of rules for options, properties, and settings
  • Data representation elements:
  • "Events"event data, given as lists of rules
    "Tasks"task data, given as lists of rules
    "TimeZone"time zone information, given as a list of rules
  • Import uses the "Events" element by default.
  • Import["file.vcs"] reads all events and returns them as a list of a list of rules.
  • Meta-information elements:
  • "Creator"application that created this file
    "GeoPosition"location of the system used to create the calendar

Options

  • Import options:
  • "EmptyField"Automatichow missing information is represented

Examples

open all close all

Basic Examples  (3)

Import the first event in a VCS file:

In[1]:=
Click for copyable input
Out[1]=

Import tasks from VCS:

In[1]:=
Click for copyable input
Out[1]=

Get time zone information from a file:

In[1]:=
Click for copyable input
Out[1]=

Scope  (1)

Introduced in 2010
(8.0)