EssentialsTime.FromSwatchInternetTime method
Namespace | Skybrud.Essentials.Time |
---|---|
Assembly | Skybrud.Essentials.dll |
FromSwatchInternetTime(int, int, int, double)
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)
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)
Converts the specified date
and Swatch Internet Time beats
into an instance of EssentialsTime.
public static EssentialsTime FromSwatchInternetTime(EssentialsDate date, double beats)
Parameters
date
EssentialsDate
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)
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
date
EssentialsDate
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.