TimeZone based on the Gmt offset (this is very limited) /summary> More...
Public Member Functions | |
object | Clone () |
OffsetTimeZone (int hoursOffsetFromGmt) | |
OffsetTimeZone (TimeSpan offsetFromGmt) | |
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) |
TimeZone based on the Gmt offset (this is very limited) /summary>
Zmanim.TimeZone.OffsetTimeZone.OffsetTimeZone | ( | int | hoursOffsetFromGmt | ) |
summary> /summary> param name="offsetFromGmt">TimeSpan from Gmt
object Zmanim.TimeZone.OffsetTimeZone.Clone | ( | ) |
summary> /summary> param name="hoursOffsetFromGmt">The amount of hours from gmt.
string Zmanim.TimeZone.OffsetTimeZone.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.
Implements Zmanim.TimeZone.ITimeZone.
string Zmanim.TimeZone.OffsetTimeZone.GetId | ( | ) |
Gets the ID of this time zone.
Implements Zmanim.TimeZone.ITimeZone.
bool Zmanim.TimeZone.OffsetTimeZone.IsDaylightSavingTime | ( | DateTime | dateTime | ) |
Is the current DateTime in daylight time for this time zone.
dateTime | The date time. |
Implements Zmanim.TimeZone.ITimeZone.
int Zmanim.TimeZone.OffsetTimeZone.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. |
Implements Zmanim.TimeZone.ITimeZone.