DateAndOrTimeHasMonth Property

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

Definition

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

Property Value

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

Remarks

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

See Also