Daylight Property Class
This class is used to represent the daylight saving time rule (DAYLIGHT) property of a vCalendar object.
This defines the rule used by the "home" calendaring system to represent daylight saving time.
Definition
Namespace: EWSoftware.PDI.Properties
Assembly: EWSoftware.PDI.Data (in EWSoftware.PDI.Data.dll) Version: 2025.1.9.0
Assembly: EWSoftware.PDI.Data (in EWSoftware.PDI.Data.dll) Version: 2025.1.9.0
C#
public class DaylightProperty : BasePropertyVB
Public Class DaylightProperty
Inherits BasePropertyC++
public ref class DaylightProperty : public BasePropertyF#
type DaylightProperty =
class
inherit BaseProperty
end- Inheritance
- Object PDIObject BaseProperty DaylightProperty
Remarks
This property is only valid for use with the vCalendar 1.0 specification. This property class
parses the Value property and allows access to the component parts. The value consists
of the daylight saving time flag, followed by the daylight saving time offset, followed by the date and
time that the daylight saving time begins, followed by the date and time that the daylight saving time
ends, followed by the standard time designation, followed by the daylight saving time designation. The
time offset and date/time values are specified in ISO 8601 format.
Constructors
| DaylightProperty | Constructor |
Properties
| CharacterSet |
This is used to set or get the character set used for the value
(Inherited from BaseProperty) |
| CustomParameters |
This property is used to set or get a string containing custom parameters that are not part of the
specification. These are usually prefixed with "X-" to indicate an extension.
(Inherited from BaseProperty) |
| DaylightDesignation | This is used to get or set the daylight saving time designation (i.e. PDT, EDT) |
| DefaultValueLocation |
This read-only property defines the default value location as INLINE
(Overrides BasePropertyDefaultValueLocation) |
| EncodedValue |
This property is overridden to handle parsing the components and concatenating them when requested
(Overrides BasePropertyEncodedValue) |
| EncodingMethod |
Set or get the encoding method for this property's value as a value in the EncodingType
enumeration.
(Inherited from BaseProperty) |
| EncodingString |
Set or get the encoding method for this property's value as a string
(Inherited from BaseProperty) |
| EndDateTime | This is used to get or set the ending date/time of daylight saving time |
| Group |
The group to which this property belongs
(Inherited from BaseProperty) |
| Language |
This is used to set or get the language used for the value
(Inherited from BaseProperty) |
| Offset | This is used to get or set the time offset as a TimeSpan object |
| PropertyId |
This is used to get or set the property ID for the value
(Inherited from BaseProperty) |
| StandardDesignation | This is used to get or set the standard time designation (i.e. PST, EST) |
| StartDateTime | This is used to get or set the starting date/time of daylight saving time |
| Tag |
This read-only property defines the tag (DAYLIGHT)
(Overrides BasePropertyTag) |
| UsesDaylightSavingTime | This property is used to set or get the daylight saving time flag |
| Value |
This property is overridden to handle parsing the components and concatenating them when requested
(Overrides BasePropertyValue) |
| ValueLocation |
The value (data) type or location of this property's value
(Inherited from BaseProperty) |
| Version |
This is overridden to enforce the correct encoding type when the version changes
(Inherited from BaseProperty) |
| VersionsSupported |
This is used to establish the specification versions supported by the PDI object
(Overrides PDIObjectVersionsSupported) |
Methods
| Clone |
This is overridden to allow cloning of a PDI object
(Overrides PDIObjectClone) |
| Clone(PDIObject) |
This is overridden to allow copying values from the specified PDI object into the instance
(Inherited from BaseProperty) |
| Decode |
This method is used to decode a value read in from a PDI data stream
(Inherited from BaseProperty) |
| DeserializeParameters |
This is used to deserialize parameter values from a string collection
(Inherited from BaseProperty) |
| Encode |
This method is used to encode a value for output to a PDI data stream
(Inherited from BaseProperty) |
| Equals |
This is overridden to allow proper comparison of property objects
(Inherited from BaseProperty) |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
| GetHashCode |
Get a hash code for the property object
(Inherited from BaseProperty) |
| GetType | Gets the Type of the current instance. (Inherited from Object) |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) |
| SerializeCharacterSet |
This is called to serialize the CHARSET parameter if necessary
(Inherited from BaseProperty) |
| SerializeCustomParameters |
This is called to serialize any custom parameters if necessary
(Inherited from BaseProperty) |
| SerializeEncoding |
This is called to serialize the ENCODING parameter if necessary
(Inherited from BaseProperty) |
| SerializeLanguage |
This is called to serialize the LANGUAGE parameter if necessary
(Inherited from BaseProperty) |
| SerializeParameters |
This method can be overridden to customize how the parameters are appended to the property when being
serialized to a PDI data stream.
(Inherited from BaseProperty) |
| SerializePropertyId |
This is called to serialize the PID parameter if necessary
(Inherited from BaseProperty) |
| SerializeValueLocation |
This is called to serialize the value location parameter if necessary
(Inherited from BaseProperty) |
| ToString |
This is overridden to convert the instance to a string
(Inherited from BaseProperty) |
| ToString(StringBuilder) |
This is used to convert the property instance to a format suitable for writing to a PDI data stream
(Inherited from BaseProperty) |