net.fortuna.ical4j.model.property

Class DateListProperty


public abstract class DateListProperty
extends Property

$Id: DateListProperty.java,v 1.12 2008/12/30 11:37:17 fortuna Exp $ Created on 11/08/2005 Base class for properties with a list of dates as a value.

Constructor Summary

DateListProperty(String name)
DateListProperty(String name, DateList dates)
DateListProperty(String name, ParameterList parameters)
DateListProperty(String name, ParameterList parameters, DateList dates)

Method Summary

DateList
getDates()
TimeZone
getTimeZone()
String
getValue()
void
setTimeZone(TimeZone timezone)
Sets the timezone associated with this property.
void
setUtc(boolean utc)
Resets the timezone associated with the property.
void
setValue(String aValue)

Constructor Details

DateListProperty

public DateListProperty(String name)
Parameters:
name -

DateListProperty

public DateListProperty(String name,
                        DateList dates)
Parameters:
name -
dates -

DateListProperty

public DateListProperty(String name,
                        ParameterList parameters)
Parameters:
name -
parameters -

DateListProperty

public DateListProperty(String name,
                        ParameterList parameters,
                        DateList dates)
Parameters:
name -
dates -

Method Details

getDates

public final DateList getDates()
Returns:
Returns the dates.

getTimeZone

public final TimeZone getTimeZone()
Returns:
the timezone

getValue

public String getValue()

setTimeZone

public void setTimeZone(TimeZone timezone)
Sets the timezone associated with this property.
Parameters:

setUtc

public final void setUtc(boolean utc)
Resets the timezone associated with the property. If utc is true, any TZID parameters are removed and the Java timezone is updated to UTC time. If utc is false, TZID parameters are removed and the Java timezone is set to the default timezone (i.e. represents a "floating" local time)
Parameters:
utc -

setValue

public void setValue(String aValue)
            throws ParseException