DateTimeOffsetExtensions Class
| Namespace | Skybrud.Essentials.Time.Extensions |
|---|---|
| Assembly | Skybrud.Essentials.dll |
| Visibility | Public |
| Keywords | Static |
| Inheritance | Object |
Static class with various extension methods for DateTimeOffset .
public static class DateTimeOffsetExtensions { }
Methods
|
Gets the abbreviated English name of the day. |
|
Gets the abbreviated name of the day according to the current culture. |
|
Gets the name of the day according to |
|
Gets the abbreviated name of the month according to the current culture. |
|
Gets the abbreviated name of the month according to |
|
Gets the abbreviated English name of the month. |
|
GetAge(DateTimeOffset)
(static)
Gets the current age, from the specified date of birth. |
|
Gets the current age, from the specified date of birth. The age is calculated based on |
|
GetDayName(DateTimeOffset)
(static)
Gets the English name of the day. |
|
Gets the day of the month along with the English ordinal suffix based on the specified |
|
GetDaySuffix(DateTimeOffset)
(static)
Gets the English ordinal suffix of the day based on the specified |
|
GetElapsedSeconds(DateTimeOffset)
(static)
Gets the amount elapsed seconds since the specified |
|
GetFirstDayOfMonth(DateTimeOffset)
(static)
Gets the first day of the month of the specified |
|
GetFirstDayOfWeek(DateTimeOffset)
(static)
Gets the first day of the week of the specified |
|
Gets the first day of the week of the specified |
|
GetIso8601WeekNumber(DateTimeOffset)
(static)
Gets the week number of the specified |
|
GetLastDayOfMonth(DateTimeOffset)
(static)
Gets the last day of the month of the specified |
|
GetLastDayOfWeek(DateTimeOffset)
(static)
Gets the last day of the week of the specified |
|
Gets the last day of the week of the specified |
|
GetLocalDayName(DateTimeOffset)
(static)
Gets the name of the day according to the current culture. |
|
Gets the name of the day according to |
|
GetLocalMonthName(DateTimeOffset)
(static)
Gets the name of the month according to the current culture. |
|
Gets the name of the month according to |
|
GetMonthName(DateTimeOffset)
(static)
Gets the English name of the month. |
|
Gets whether |
|
IsLeapYear(DateTimeOffset)
(static)
Gets whether the specified |
|
IsLeapYear(int)
(static)
Gets whether the specified year is a leap year. |
|
IsWeekday(DateTimeOffset)
(static)
Gets whether the specified |
|
IsWeekend(DateTimeOffset)
(static)
Gets whether the specified |