public class WriteContext extends Object
Constructor and Description |
---|
WriteContext(ICalVersion version,
TimezoneInfo timezoneOptions) |
Modifier and Type | Method and Description |
---|---|
void |
addDate(ICalDate date,
boolean floating,
TimeZone tz)
Records the timezoned date-time values that are being written.
|
List<Date> |
getDates()
Gets the timezoned date-time property values that are in the iCalendar
object.
|
ICalComponent |
getParent()
Gets the parent component of the property that is being written.
|
TimezoneInfo |
getTimezoneInfo()
Gets the timezone options for this iCalendar object.
|
ICalVersion |
getVersion()
Gets the version of the iCalendar object that is being written.
|
void |
setParent(ICalComponent parent)
Sets the parent component of the property that is being written.
|
public WriteContext(ICalVersion version, TimezoneInfo timezoneOptions)
public ICalVersion getVersion()
public TimezoneInfo getTimezoneInfo()
public ICalComponent getParent()
public void setParent(ICalComponent parent)
parent
- the parent componentpublic List<Date> getDates()
public void addDate(ICalDate date, boolean floating, TimeZone tz)
floating
- true if the date is floating, false if nottz
- the timezone to format the date in or null for UTCdate
- the date valueCopyright © 2013-2015 Michael Angstadt. All Rights Reserved.