Top Description Inners Fields Constructors Methods
net.fortuna.ical4j.model.property

public Class TzOffsetTo

extends Property
Class Inheritance
Imports
net.fortuna.ical4j.model.*, net.fortuna.ical4j.validate.ValidationException, .ValidationResult, net.fortuna.ical4j.validate.property.TimeZonePropertyValidators, java.time.ZoneOffset

$Id$

Created: [Apr 6, 2004]

Defines a TZOFFSETTO iCalendar component property.

Author
benf

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Modifier and TypeField and Description
private ZoneOffsetAdapter
private static final long
Inherited from net.fortuna.ical4j.model.Property:
ACKNOWLEDGEDACTIONATTACHATTENDEEBUSYTYPECALENDAR_ADDRESSCALSCALECATEGORIESCLASSCOMMENTCOMPLETEDCONTACTCOUNTRYCREATEDDESCRIPTIONDTENDDTSTAMPDTSTARTDUEDURATIONEXDATEEXPERIMENTAL_PREFIXEXRULEEXTENDED_ADDRESSFREEBUSYGEOLAST_MODIFIEDLOCALITYLOCATIONLOCATION_TYPEMETHODNAMEORGANIZERPARTICIPANT_TYPEPERCENT_COMPLETEPOSTALCODEPRIORITYPRODIDPROXIMITYRDATERECURRENCE_IDREGIONRELATED_TOREPEATREQUEST_STATUSRESOURCE_TYPERESOURCESRRULESEQUENCESTATUSSTREET_ADDRESSSTRUCTURED_DATASTYLED_DESCRIPTIONSUMMARYTELTRANSPTRIGGERTZIDTZID_ALIAS_OFTZNAMETZOFFSETFROMTZOFFSETTOTZUNTILTZURLUIDURLVERSIONXML

Constructor Summary

AccessConstructor and Description
public
TzOffsetTo()

Default constructor.

public
TzOffsetTo(String
an offset value
value
)

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

public
TzOffsetTo(final UtcOffset
a timezone offset in milliseconds
anOffset
)
Deprecated

public
TzOffsetTo(final ZoneOffset
a timezone offset in milliseconds
anOffset
)

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

public
TzOffsetTo(final ParameterList
a list of parameters for this component
aList
,
final ZoneOffset
a timezone offset in milliseconds
anOffset
)

Method Summary

Modifier and TypeMethod and Description
public final ZoneOffset

Returns:

Returns the offset.
getOffset
()

public final String
protected PropertyFactory<TzOffsetTo>
newFactory()

Implements abstract net.fortuna.ical4j.model.Property.newFactory.

Returns a new property factory used to create deep copies.

public final void
setOffset(final ZoneOffset
The offset to set.
offset
)

public final void
setValue(final String
a string representation of the property value
aValue
)

Implements abstract net.fortuna.ical4j.model.Property.setValue.

Sets the current value of the property.

public ValidationResult
validate()

Implements abstract net.fortuna.ical4j.model.Property.validate.

Perform validation on a property.

Inherited from net.fortuna.ical4j.model.Property:
addcompareTocopyequalsgetFluentTargetgetNamegetParametergetParametergetParameterListgetParametersgetPrefixgetRequiredParametergetRequiredParameterhashCoderemoveremoveAllreplacesetParameterssetPrefixtoString

Field Detail

offsetback to summary
private ZoneOffsetAdapter offset
serialVersionUIDback to summary
private static final long serialVersionUID

Hides net.fortuna.ical4j.model.Property.serialVersionUID.

Constructor Detail

TzOffsetToback to summary
public TzOffsetTo()

Default constructor.

TzOffsetToback to summary
public TzOffsetTo(String value)
Parameters
value:String

an offset value

TzOffsetToback to summary
public TzOffsetTo(final ParameterList aList, final String aValue)
Parameters
aList:ParameterList

a list of parameters for this component

aValue:String

a value string for this component

TzOffsetToback to summary
public TzOffsetTo(final UtcOffset anOffset)

Deprecated

Parameters
anOffset:UtcOffset

a timezone offset in milliseconds

Annotations
@Deprecated
TzOffsetToback to summary
public TzOffsetTo(final ZoneOffset anOffset)
Parameters
anOffset:ZoneOffset

a timezone offset in milliseconds

TzOffsetToback to summary
public TzOffsetTo(final ParameterList aList, final UtcOffset anOffset)

Deprecated

Parameters
aList:ParameterList

a list of parameters for this component

anOffset:UtcOffset

a timezone offset in milliseconds

Annotations
@Deprecated
TzOffsetToback to summary
public TzOffsetTo(final ParameterList aList, final ZoneOffset anOffset)
Parameters
aList:ParameterList

a list of parameters for this component

anOffset:ZoneOffset

a timezone offset in milliseconds

Method Detail

getOffsetback to summary
public final ZoneOffset getOffset()
Returns:ZoneOffset

Returns the offset.

getValueback to summary
public final String getValue()

Implements abstract net.fortuna.ical4j.model.Content.getValue.

Returns:String

Doc from net.fortuna.ical4j.model.Content.getValue.

the content value

Annotations
@Override
newFactoryback to summary
protected PropertyFactory<TzOffsetTo> newFactory()

Implements abstract net.fortuna.ical4j.model.Property.newFactory.

Doc from net.fortuna.ical4j.model.Property.newFactory.

Returns a new property factory used to create deep copies.

Returns:PropertyFactory<TzOffsetTo>

a property factory instance

Annotations
@Override
setOffsetback to summary
public final void setOffset(final ZoneOffset offset)
Parameters
offset:ZoneOffset

The offset to set.

setValueback to summary
public final void setValue(final String aValue)

Implements abstract net.fortuna.ical4j.model.Property.setValue.

Doc from net.fortuna.ical4j.model.Property.setValue.

Sets the current value of the property.

Parameters
aValue:String

a string representation of the property value

Annotations
@Override
validateback to summary
public ValidationResult validate() throws ValidationException

Implements abstract net.fortuna.ical4j.model.Property.validate.

Doc from net.fortuna.ical4j.model.Property.validate.

Perform validation on a property.

Annotations
@Override
Exceptions
ValidationException:
where the property is not in a valid state
net.fortuna.ical4j.model.property back to summary

public Class TzOffsetTo.Factory

extends Factory
implements PropertyFactory<TzOffsetTo>
Class Inheritance
All Implemented Interfaces
net.fortuna.ical4j.model.PropertyFactory, java.io.Serializable

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public TzOffsetTo
createProperty(final ParameterList
a list of property parameters
parameters
,
final String
a property value
value
)

Implements net.fortuna.ical4j.model.PropertyFactory.createProperty.

public TzOffsetTo
Inherited from net.fortuna.ical4j.model.Content.Factory:
supports

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Constructor Detail

Factoryback to summary
public Factory()

Method Detail

createPropertyback to summary
public TzOffsetTo createProperty(final ParameterList parameters, final String value)

Implements net.fortuna.ical4j.model.PropertyFactory.createProperty.

Parameters
parameters:ParameterList

Doc from net.fortuna.ical4j.model.PropertyFactory.createProperty.

a list of property parameters

value:String

Doc from net.fortuna.ical4j.model.PropertyFactory.createProperty.

a property value

Returns:TzOffsetTo

Doc from net.fortuna.ical4j.model.PropertyFactory.createProperty.

a new instance of the specified property

Annotations
@Override
createPropertyback to summary
public TzOffsetTo createProperty()

Implements net.fortuna.ical4j.model.PropertyFactory.createProperty.

Returns:TzOffsetTo

Doc from net.fortuna.ical4j.model.PropertyFactory.createProperty.

a new instance of the specified property

Annotations
@Override