Class TimeZone (2.2.0)

 public sealed class TimeZone : Protobuf.IMessage<TimeZone>, Protobuf.IBufferMessage 

Represents a time zone from the IANA Time Zone Database .

Inheritance

Object > TimeZone

Namespace

Google.Type

Assembly

Google.Api.CommonProtos.dll

Constructors

TimeZone()

 public TimeZone() 

TimeZone(TimeZone)

 public TimeZone(TimeZone other) 
Parameter
Name
Description
other

Fields

IdFieldNumber

  public 
  
 const 
  
 int 
  
 IdFieldNumber 
  
 = 
  
 1 
 

Field number for the "id" field.

Field Value
Type
Description

VersionFieldNumber

  public 
  
 const 
  
 int 
  
 VersionFieldNumber 
  
 = 
  
 2 
 

Field number for the "version" field.

Field Value
Type
Description

Properties

Descriptor

 public static Protobuf.Reflection.MessageDescriptor Descriptor { get; } 
Property Value
Type
Description

Id

 public string Id { get; set; } 

IANA Time Zone Database time zone, e.g. "America/New_York".

Property Value
Type
Description

Parser

 public static Protobuf.MessageParser<TimeZone> Parser { get; } 
Property Value
Type
Description

Version

 public string Version { get; set; } 

Optional. IANA Time Zone Database version number, e.g. "2019a".

Property Value
Type
Description

Methods

CalculateSize()

 public int CalculateSize() 
Returns
Type
Description

Clone()

 public TimeZone Clone() 
Returns
Type
Description

Equals(TimeZone)

 public bool Equals(TimeZone other) 
Parameter
Name
Description
other
Returns
Type
Description

Equals(Object)

 public override bool Equals(object other) 
Parameter
Name
Description
other
Returns
Type
Description

GetHashCode()

 public override int GetHashCode() 
Returns
Type
Description

MergeFrom(Protobuf.CodedInputStream)

 public void MergeFrom(Protobuf.CodedInputStream input) 
Parameter
Name
Description

MergeFrom(TimeZone)

 public void MergeFrom(TimeZone other) 
Parameter
Name
Description
other

ToString()

 public override string ToString() 
Returns
Type
Description

WriteTo(Protobuf.CodedOutputStream)

 public void WriteTo(Protobuf.CodedOutputStream output) 
Parameter
Name
Description
Design a Mobile Site
View Site in Mobile | Classic
Share by: