SwatchUtils.ToTimeSpan method

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

ToTimeSpan(int)

Static

Parses the specified Swatch Internet Timebeats into a corresponding instance of TimeSpan .

public static TimeSpan ToTimeSpan(int beats)

Parameters

beats int

The amount of beats, according to Swatch Internet Time.

Returns

An instance of TimeSpan .

ToTimeSpan(double)

Static

Parses the specified Swatch Internet Timebeats into a corresponding instance of TimeSpan .

public static TimeSpan ToTimeSpan(double beats)

Parameters

beats Double

The amount of beats, according to Swatch Internet Time.

Returns

An instance of TimeSpan .