public class TimezoneUrl extends TextProperty
Defines a URL that points to an iCalendar object that contains further information on a timezone.
Code sample:
VTimezone timezone = ...
timezone.setTimezoneUrl("http://example.com/tz.ics");
valueparameters| Constructor and Description |
|---|
TimezoneUrl(String url)
Creates a timezone URL property.
|
TimezoneUrl(TimezoneUrl original)
Copy constructor.
|
| Modifier and Type | Method and Description |
|---|---|
TimezoneUrl |
copy()
Creates a copy of this property object.
|
equals, getValue, getValue, hashCode, setValue, toStringValues, validate, valueEquals, valueHashCodeaddParameter, getParameter, getParameters, getParameters, removeParameter, setParameter, setParameter, setParameters, toString, validatepublic TimezoneUrl(String url)
url - the timezone URL (e.g.
"http://example.com/America-New_York.ics")public TimezoneUrl(TimezoneUrl original)
original - the property to make a copy ofpublic TimezoneUrl copy()
ICalPropertyCreates a copy of this property object.
The default implementation of this method uses reflection to look for a copy constructor. Child classes SHOULD override this method to avoid the performance overhead involved in using reflection.
The child class's copy constructor, if present, MUST invoke the
ICalProperty.ICalProperty(ICalProperty) super constructor to ensure that the
parameters are also copied.
This method MUST be overridden by the child class if the child class does
not have a copy constructor. Otherwise, an
UnsupportedOperationException will be thrown when an attempt is
made to copy the property (such as in the
ICalendar class's copy constructor
).
copy in class ICalPropertyCopyright © 2013-2016 Michael Angstadt. All Rights Reserved.