biweekly.property
Class UtcOffsetProperty
java.lang.Object
biweekly.property.ICalProperty
biweekly.property.UtcOffsetProperty
- Direct Known Subclasses:
- TimezoneOffsetFrom, TimezoneOffsetTo
public class UtcOffsetProperty
- extends ICalProperty
Represents a property whose value is a timezone offset.
- Author:
- Michael Angstadt
Methods inherited from class biweekly.property.ICalProperty |
addParameter, getAltRepresentation, getCommonName, getDirectoryEntry, getFormatType, getLanguage, getParameter, getParameters, getParameters, getSentBy, getTimezoneId, removeParameter, setAltRepresentation, setCommonName, setDirectoryEntry, setFormatType, setLanguage, setParameter, setParameter, setParameters, setSentBy, setTimezone, setTimezoneId, validate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
hourOffset
protected Integer hourOffset
minuteOffset
protected Integer minuteOffset
UtcOffsetProperty
public UtcOffsetProperty(Integer hourOffset,
Integer minuteOffset)
getHourOffset
public Integer getHourOffset()
getMinuteOffset
public Integer getMinuteOffset()
setOffset
public void setOffset(Integer hourOffset,
Integer minuteOffset)
validate
protected void validate(List<ICalComponent> components,
List<String> warnings)
- Description copied from class:
ICalProperty
- Checks the property for data consistency problems or deviations from the
spec. Meant to be overridden by child classes.
- Overrides:
validate
in class ICalProperty
- Parameters:
components
- the hierarchy of components that the property belongs
towarnings
- the list to add the warnings to
Copyright © 2013 Michael Angstadt. All Rights Reserved.