Skip to content

Period.HasTimeComponent Property

Definition

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

HasTimeComponent()

Gets a value indicating whether or not this period contains any non-zero-valued time-based properties (hours or lower).

public bool HasTimeComponent { get; }

Returns

bool

Property Value

bool

true if the period contains any non-zero-valued time-based properties (hours or lower); 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