Class TimeZoneAttribute
- Namespace
- XENBIT.ResQueServe.Abstractions.Attributes
- Assembly
- RQS.Abstractions.dll
Custom attribute for defining time zone information.
[AttributeUsage(AttributeTargets.Field)]
public sealed class TimeZoneAttribute : Attribute
- Inheritance
-
TimeZoneAttribute
- Inherited Members
Constructors
TimeZoneAttribute(int, string)
Initializes a new instance of the TimeZoneAttribute class.
public TimeZoneAttribute(int offset, string timeZoneId)
Parameters
Properties
Offset
Gets the time zone offset in hours from UTC.
public double Offset { get; }
Property Value
TimeZoneId
Gets the time zone identifier.
public string TimeZoneId { get; }