DateTimeExtensions Class
Defines extension functions related to Date/Time manipulation.
Namespace: Gemstone.DateTimeExtensionsAssembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.147 -- Release Build+759c9d29b79c81f10905de8f58b653be932045f0
public static class DateTimeExtensions
<ExtensionAttribute>
Public NotInheritable Class DateTimeExtensions
[ExtensionAttribute]
public ref class DateTimeExtensions abstract sealed
Gemstone.DateTimeExtensions.DateTimeExtensions = function();
Type.createClass(
'Gemstone.DateTimeExtensions.DateTimeExtensions');
- Inheritance
- Object DateTimeExtensions
| AbbreviatedMonthName | Gets the abbreviated month name for month of the timestamp. |
| AbbreviatedWeekdayName | Gets the abbreviated weekday name for weekday of the timestamp. |
| BaselinedTimestamp | Creates a baselined timestamp which begins at the specified time interval. |
| DistanceBeyondSecond | Gets the distance, in Ticks, beyond the top of the timestamp second. |
| LocalTimeIsValid | Determines if the specified local time is valid, by comparing it to the system clock. |
| LocalTimeTo(DateTime, String) | Converts given local time to time in specified time zone. |
| LocalTimeTo(DateTime, TimeZoneInfo) | Converts given local time to time in specified time zone. |
| LocalTimeToCentralTime | Converts given local time to Central time. |
| LocalTimeToEasternTime | Converts given local time to Eastern time. |
| LocalTimeToMountainTime | Converts given local time to Mountain time. |
| LocalTimeToPacificTime | Converts given local time to Pacific time. |
| LocalTimeToUniversalTime | Converts given local time to Universally Coordinated Time (a.k.a., Greenwich Meridian Time). |
| MonthName | Gets the full month name for month of the timestamp. |
| ShortWeekdayName | Gets the shortest weekday name for weekday of the timestamp. |
| TimeIsValid | Determines if time is valid, by comparing it to the specified current time. |
| TimeZoneToTimeZone(DateTime, String, String) | Converts given timestamp from one time zone to another using standard names for time zones. |
| TimeZoneToTimeZone(DateTime, TimeZoneInfo, TimeZoneInfo) | Converts given timestamp from one time zone to another. |
| UniversalTimeTo(DateTime, String) |
Converts the specified Universally Coordinated Time timestamp to timestamp in specified time zone.
|
| UniversalTimeTo(DateTime, TimeZoneInfo) |
Converts the specified Universally Coordinated Time timestamp to timestamp in specified time zone.
|
| UniversalTimeToCentralTime |
Converts the specified Universally Coordinated Time timestamp to Central time timestamp.
|
| UniversalTimeToEasternTime |
Converts the specified Universally Coordinated Time timestamp to Eastern time timestamp.
|
| UniversalTimeToMountainTime |
Converts the specified Universally Coordinated Time timestamp to Mountain time timestamp.
|
| UniversalTimeToPacificTime |
Converts the specified Universally Coordinated Time timestamp to Pacific time timestamp.
|
| UtcTimeIsValid | Determines if the specified UTC time is valid, by comparing it to the system clock. |
| WeekdayName | Gets the full weekday name for weekday of the timestamp. |