Skip to content

Period.HasDateComponent Property

Definition

Namespace: Corvus.Text.Json
Assembly: Corvus.Text.Json.dll
Source: Period.cs

HasDateComponent()

Gets a value indicating whether or not this period contains any non-zero date-based properties (days or higher).

public bool HasDateComponent { get; }

Returns

bool

Property Value

bool

true if this period contains any non-zero date-based properties (days or higher); false otherwise.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

Collaborate with us on GitHub

The source for this content can be found on GitHub, where you can also create and review issues and pull requests.

Open an issue