Iso8601Utils Class
| Namespace | Skybrud.Essentials.Time.Iso8601 |
|---|---|
| Assembly | Skybrud.Essentials.dll |
| Visibility | Public |
| Inheritance | Object |
Static class with various utility methods for working with the ISO 8601 standard.
public class Iso8601Utils { }
Methods
|
FromWeekNumber(int, int)
(static)
Returns an instance of DateTimeOffset representing the start of the specified ISO 8601 |
|
Returns an instance of DateTimeOffset representing the start of the specified ISO 8601 |
|
FromWeekNumber(int, int, TimeSpan)
(static)
Returns an instance of DateTimeOffset representing the start of the specified ISO 8601 |
|
GetWeekNumber(DateTime)
(static)
Gets the week number of |
|
GetWeekNumber(DateTimeOffset)
(static)
Gets the week number of |
|
GetWeeksInYear(int)
(static)
Returns the amount of weeks in the specified ISO 8601 |
|
GetYear(DateTime)
(static)
Returns the ISO 8601 week-numbering year of the specified |
|
GetYear(DateTimeOffset)
(static)
Returns the ISO 8601 week-numbering year of the specified |
|
Parse(string)
(static)
Converts the specified |
|
ToString(DateTime)
(static)
Converts the specified |
|
ToString(DateTimeOffset)
(static)
Converts the specified |
|
TryParse(string, out DateTime)
(static)
Converts the specified |
|
TryParse(string, out DateTimeOffset)
(static)
Converts the specified |