Provides the most basic useage of a TimeZone. /summary> More...
Public Member Functions | |
int | UtcOffset (DateTime dateTime) |
UTCs the offset. If Daylight Saving Time is in effect at the specified date, the offset value is adjusted with the amount of daylight saving. | |
bool | IsDaylightSavingTime (DateTime dateTime) |
Is the current DateTime in daylight time for this time zone. | |
string | GetId () |
Gets the ID of this time zone. | |
string | GetDisplayName () |
Returns a name of this time zone suitable for presentation to the user in the default locale. This method returns the long name, not including daylight savings. If the display name is not available for the locale, then this method returns a string in the normalized custom ID format. | |
int | GetOffset (long timeFromEpoch) |
Provides the most basic useage of a TimeZone. /summary>
string Zmanim.TimeZone.ITimeZone.GetDisplayName | ( | ) |
Returns a name of this time zone suitable for presentation to the user in the default locale. This method returns the long name, not including daylight savings. If the display name is not available for the locale, then this method returns a string in the normalized custom ID format.
summary> Returns the offset of this time zone from UTC at the specified date. If Daylight Saving Time is in effect at the specified date, the offset value is adjusted with the amount of daylight saving. /summary> param name="timeFromEpoch">the date represented in milliseconds since January 1, 1970 00:00:00 GMT
returns>the amount of time in milliseconds to add to UTC to get local time.
Implemented in Zmanim.TimeZone.OffsetTimeZone, and Zmanim.TimeZone.WindowsTimeZone.
string Zmanim.TimeZone.ITimeZone.GetId | ( | ) |
Gets the ID of this time zone.
Implemented in Zmanim.TimeZone.OffsetTimeZone, and Zmanim.TimeZone.WindowsTimeZone.
bool Zmanim.TimeZone.ITimeZone.IsDaylightSavingTime | ( | DateTime | dateTime | ) |
Is the current DateTime in daylight time for this time zone.
dateTime | The date time. |
Implemented in Zmanim.TimeZone.OffsetTimeZone, and Zmanim.TimeZone.WindowsTimeZone.
int Zmanim.TimeZone.ITimeZone.UtcOffset | ( | DateTime | dateTime | ) |
UTCs the offset. If Daylight Saving Time is in effect at the specified date, the offset value is adjusted with the amount of daylight saving.
dateTime | The date time. |
Implemented in Zmanim.TimeZone.OffsetTimeZone, and Zmanim.TimeZone.WindowsTimeZone.