public final class Tz extends Property
Modifier and Type | Class and Description |
---|---|
static class |
Tz.Factory |
Property.Id
ILLEGAL_PARAMETER_MESSAGE
Constructor and Description |
---|
Tz(java.util.List<Parameter> params,
java.lang.String value)
Factory constructor.
|
Tz(java.lang.String text) |
Tz(net.fortuna.ical4j.model.UtcOffset offset) |
Modifier and Type | Method and Description |
---|---|
net.fortuna.ical4j.model.UtcOffset |
getOffset() |
java.lang.String |
getText() |
java.lang.String |
getValue() |
void |
validate() |
assertOneOrLess, assertParametersEmpty, assertPidParameter, assertPrefParameter, assertTextParameter, assertTypeParameter, equals, getExtendedParameter, getExtendedParameters, getGroup, getId, getParameter, getParameters, getParameters, hashCode, toString
public Tz(net.fortuna.ical4j.model.UtcOffset offset)
offset
- the offset from UTC for the timezonepublic Tz(java.lang.String text)
text
- an unstructured timezone valuepublic Tz(java.util.List<Parameter> params, java.lang.String value)
params
- property parametersvalue
- string representation of a property value