net.fortuna.ical4j.model.property

Class TzOffsetFrom


public class TzOffsetFrom
extends Property

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

Constructor Summary

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

Method Summary

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

Constructor Details

TzOffsetFrom

public TzOffsetFrom()
Default constructor.

TzOffsetFrom

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

TzOffsetFrom

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

TzOffsetFrom

public TzOffsetFrom(String aValue)
Parameters:
aValue - a value string for this component

TzOffsetFrom

public TzOffsetFrom(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