Barotrauma Client Doc
Barotrauma.SerializableTimeZone Struct Reference

Public Member Functions

 SerializableTimeZone (TimeSpan value)
 
override string ToString ()
 
override int GetHashCode ()
 

Static Public Member Functions

static SerializableTimeZone FromDateTime (DateTime dateTime)
 
static Option< SerializableTimeZoneParse (string str)
 

Public Attributes

readonly TimeSpan Value
 Diff from UTC More...
 

Properties

static SerializableTimeZone LocalTimeZone [get]
 

Detailed Description

Definition at line 8 of file SerializableDateTime.cs.

Constructor & Destructor Documentation

◆ SerializableTimeZone()

Barotrauma.SerializableTimeZone.SerializableTimeZone ( TimeSpan  value)

Definition at line 19 of file SerializableDateTime.cs.

Member Function Documentation

◆ FromDateTime()

static SerializableTimeZone Barotrauma.SerializableTimeZone.FromDateTime ( DateTime  dateTime)
static

Definition at line 43 of file SerializableDateTime.cs.

◆ GetHashCode()

override int Barotrauma.SerializableTimeZone.GetHashCode ( )

◆ Parse()

static Option<SerializableTimeZone> Barotrauma.SerializableTimeZone.Parse ( string  str)
static

Definition at line 58 of file SerializableDateTime.cs.

◆ ToString()

override string Barotrauma.SerializableTimeZone.ToString ( )

Member Data Documentation

◆ Value

readonly TimeSpan Barotrauma.SerializableTimeZone.Value

Diff from UTC

Definition at line 13 of file SerializableDateTime.cs.

Property Documentation

◆ LocalTimeZone

SerializableTimeZone Barotrauma.SerializableTimeZone.LocalTimeZone
staticget

Definition at line 55 of file SerializableDateTime.cs.