public class TimezoneId extends TextProperty
VTimezone
component. The identifier
must be unique within the scope of the iCalendar object.value
parameters
Constructor and Description |
---|
TimezoneId(String timezone)
Creates a timezone identifier property.
|
TimezoneId(TimezoneId original)
Copy constructor.
|
Modifier and Type | Method and Description |
---|---|
TimezoneId |
copy()
Creates a copy of this property object.
|
equals, getValue, getValue, hashCode, setValue, toStringValues, validate, valueEquals, valueHashCode
addParameter, getParameter, getParameters, getParameters, removeParameter, setParameter, setParameter, setParameters, toString, validate
public TimezoneId(String timezone)
timezone
- the timezone identifierpublic TimezoneId(TimezoneId original)
original
- the property to make a copy ofpublic TimezoneId copy()
ICalProperty
Creates 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 ICalProperty
Copyright © 2013–2024 Michael Angstadt. All rights reserved.