public class UtcOffsetProperty extends ValuedProperty<UtcOffset>
value
parameters
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,
ICalVersion version,
List<Warning> warnings)
Checks the property for data consistency problems or deviations from the
spec.
|
getValue, getValue, setValue
addParameter, getParameter, getParameters, getParameters, removeParameter, setParameter, setParameter, setParameters, validate
public 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, ICalVersion version, List<Warning> warnings)
ICalProperty
Checks the property for data consistency problems or deviations from the spec.
This method should be overridden by child classes that wish to provide validation logic. The default implementation of this method does nothing.
validate
in class ValuedProperty<UtcOffset>
components
- the hierarchy of components that the property belongs
toversion
- the version to validate againstwarnings
- the list to add the warnings toCopyright © 2013-2015 Michael Angstadt. All Rights Reserved.