EssentialsTime.FromSwatchInternetTime method

Version 1.1.28
.NET Framework 4.8
Namespace Skybrud.Essentials.Time
Assembly Skybrud.Essentials.dll

FromSwatchInternetTime(int, int, int, double)

Static

Converts the specified year, month, day and Swatch Internet Time beats into an instance of EssentialsTime.

public static EssentialsTime FromSwatchInternetTime(int year, int month, int day, double beats)

Parameters

year int

The year of the date.

month int

The month of the date.

day int

The day of the date.

beats Double

The amount of beats, according to Swatch Internet Time.

Returns

An instance of EssentialsTime representing the converted time and date.

FromSwatchInternetTime(int, int, int, double, TimeZoneInfo)

Static

Converts the specified year, month, day and Swatch Internet Time beats into an instance of EssentialsTime.

public static EssentialsTime FromSwatchInternetTime(int year, int month, int day, double beats, TimeZoneInfo timeZone)

Parameters

year int

The year of the date.

month int

The month of the date.

day int

The day of the date.

beats Double

The amount of beats, according to Swatch Internet Time.

timeZone TimeZoneInfo

The time zone.

Returns

An instance of EssentialsTime representing the converted time and date.

FromSwatchInternetTime(EssentialsDate, double)

Static

Converts the specified date and Swatch Internet Time beats into an instance of EssentialsTime.

public static EssentialsTime FromSwatchInternetTime(EssentialsDate date, double beats)

Parameters

The date.

beats Double

The amount of beats, according to Swatch Internet Time.

Returns

An instance of EssentialsTime representing the converted time and date.

FromSwatchInternetTime(EssentialsDate, double, TimeZoneInfo)

Static

Converts the specified date and Swatch Internet Time beats into an instance of EssentialsTime.

public static EssentialsTime FromSwatchInternetTime(EssentialsDate date, double beats, TimeZoneInfo timeZone)

Parameters

The date.

beats Double

The amount of beats, according to Swatch Internet Time.

timeZone TimeZoneInfo

The time zone.

Returns

An instance of EssentialsTime representing the converted time and date.