Table of Contents

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

offset int

The time zone offset in hours from UTC.

timeZoneId string

The time zone identifier.

Properties

Offset

Gets the time zone offset in hours from UTC.

public double Offset { get; }

Property Value

double

TimeZoneId

Gets the time zone identifier.

public string TimeZoneId { get; }

Property Value

string