DateAndOrTimeHasDay Property

Gets a value indicating whether the encapsulated data contains information about the day.

Definition

Namespace: FolkerKinzel.VCards.Models
Assembly: FolkerKinzel.VCards (in FolkerKinzel.VCards.dll) Version: 8.0.1+a91cc3f0fd39aeb548e16006a60ca9dd10a304a2
C#
public abstract bool HasDay { get; }

Property Value

Boolean
true if the instance contains information about the day, otherwise false.

Remarks

The vCard 4.0 specification allows to omit the day in a date but the .NET data types don't. This property gets the information whether the day component of an encapsulated DateOnly or DateTimeOffset value should be treated as irrelevant or not.

See Also