Skip to content

Period.FromNanoseconds Method

Definition

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

FromNanoseconds(long)

Creates a period representing the specified number of nanoseconds.

public static Period FromNanoseconds(long nanoseconds)

Parameters

Name Type Description
nanoseconds long The number of nanoseconds in the new period.

Returns

Period

A period consisting of the given number of nanoseconds.

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