net.fortuna.ical4j.model.property

Class TzOffsetTo


public class TzOffsetTo
extends Property

$Id: TzOffsetTo.java,v 1.11 2008/12/16 12:34:51 fortuna Exp $ Created: [Apr 6, 2004] Defines a TZOFFSETTO iCalendar component property.

Constructor Summary

TzOffsetTo()
Default constructor.
TzOffsetTo(ParameterList aList, String aValue)
TzOffsetTo(ParameterList aList, UtcOffset anOffset)
TzOffsetTo(String value)
TzOffsetTo(UtcOffset anOffset)

Method Summary

UtcOffset
getOffset()
String
getValue()
void
setOffset(UtcOffset offset)
void
setValue(String aValue)
void
validate()

Constructor Details

TzOffsetTo

public TzOffsetTo()
Default constructor.

TzOffsetTo

public TzOffsetTo(ParameterList aList,
                  String aValue)
Parameters:
aList - a list of parameters for this component
aValue - a value string for this component

TzOffsetTo

public TzOffsetTo(ParameterList aList,
                  UtcOffset anOffset)
Parameters:
aList - a list of parameters for this component
anOffset - a timezone offset in milliseconds

TzOffsetTo

public TzOffsetTo(String value)
Parameters:
value -

TzOffsetTo

public TzOffsetTo(UtcOffset anOffset)
Parameters:
anOffset - a timezone offset in milliseconds

Method Details

getOffset

public final UtcOffset getOffset()
Returns:
Returns the offset.

getValue

public final String getValue()

setOffset

public final void setOffset(UtcOffset offset)
Parameters:
offset - The offset to set.

setValue

public final void setValue(String aValue)

validate

public final void validate()
            throws ValidationException