ICustomTimeZoneDefinition Interface
An interface which can be used to create custom time zone definitions.
public interface ICustomTimeZoneDefinitionProperties
Section titled “Properties”ICustomTimeZoneDefinition.Name Property
Section titled “ICustomTimeZoneDefinition.Name Property”Gets the name of the time zone definition.
string Name { get; }Property Value
Section titled “Property Value”Methods
Section titled “Methods”ICustomTimeZoneDefinition.CreateInstance(string, ITimeZoneFactory) Method
Section titled “ICustomTimeZoneDefinition.CreateInstance(string, ITimeZoneFactory) Method”Creates an instance of ICustomTimeZoneDefinition with the given id.
HAKOM.TSM.Net.Api.Time.TimeZones.ITimeZone CreateInstance(string id, HAKOM.TSM.Net.Api.Time.TimeZones.ITimeZoneFactory timeZoneFactory);Parameters
Section titled “Parameters”The System.String id representing the time zone definition.
timeZoneFactory ITimeZoneFactory
used to look up base time zones.
Returns
Section titled “Returns”ITimeZone
A new ICustomTimeZoneDefinition.
ICustomTimeZoneDefinition.ImplementsId(string) Method
Section titled “ICustomTimeZoneDefinition.ImplementsId(string) Method”true if id is supported.
bool ImplementsId(string id);Parameters
Section titled “Parameters”the id of the timeZone
Returns
Section titled “Returns”System.Boolean
true if the CreateInstance(string, ITimeZoneFactory) method supports the given id
Was this page helpful?Thanks for your feedback!