public class UtcOffsetProperty extends ValuedProperty<UtcOffset>
valueparameters| Constructor and Description |
|---|
UtcOffsetProperty(int hourOffset,
int minuteOffset) |
UtcOffsetProperty(UtcOffset offset) |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getHourOffset() |
Integer |
getMinuteOffset() |
void |
setValue(int hourOffset,
int minuteOffset) |
protected void |
validate(List<ICalComponent> components,
List<Warning> warnings)
Checks the property for data consistency problems or deviations from the
spec.
|
getValue, setValueaddParameter, getParameter, getParameters, getParameters, removeParameter, setParameter, setParameter, setParameters, validatepublic UtcOffsetProperty(int hourOffset, int minuteOffset)
public UtcOffsetProperty(UtcOffset offset)
public Integer getHourOffset()
public Integer getMinuteOffset()
public void setValue(int hourOffset, int minuteOffset)
protected void validate(List<ICalComponent> components, List<Warning> warnings)
ICalPropertyvalidate in class ValuedProperty<UtcOffset>components - the hierarchy of components that the property belongs
towarnings - the list to add the warnings toCopyright © 2013-2014 Michael Angstadt. All Rights Reserved.