EssentialsWeek Class
Version 1.1.28
.NET Framework 4.8
Namespace | Skybrud.Essentials.Time |
---|---|
Assembly | Skybrud.Essentials.dll |
Visibility | Public |
Interfaces |
IEnumerable<T >, IEnumerable
|
Inheritance | Object |
Class representing a week as defined by the ISO 8601 specification.
public class EssentialsWeek : IEnumerable<T>, IEnumerable { }
Properties
Type | Name | Summary |
---|---|---|
int | Year |
Gets the year of the week. |
int | Week |
Alias of EssentialsWeek.WeekNumber. |
int | WeekNumber |
Gets the number of the week. |
int | YearAndWeek |
Returns a numeric value representing both the year and week number. |
EssentialsTime | Start |
Gets a reference to the timestamp representing the start of the week. |
EssentialsTime | End |
Gets a reference to the timestamp representing the end of the week. |
EssentialsWeek | Current |
Gets an instance representing the current ISO 8601 week according to the local time zone. |
EssentialsWeek | CurrentUtc |
Gets an instance representing the current ISO 8601 week according to Coordinated Universal Time (UTC). |
Methods
GetEnumerator()
(virtual)
Returns an enumerator that iterates through the days of the week. |
Gets a new instance of EssentialsWeek representing the next week. |
Gets a new instance of EssentialsWeek representing the previous week. |