Show / Hide Table of Contents

Class LocalDate

Class to represent the localized DateTime of a particular time zone.

Inheritance
System.Object
LocalDate
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Celerik.NetCore.Util
Assembly: cs.temp.dll.dll
Syntax
public class LocalDate

Constructors

LocalDate(Double)

Initializes a new instance of the class.

Declaration
public LocalDate(double utcOffset)
Parameters
Type Name Description
System.Double utcOffset

The difference between this time zone and UTC. The int part represent hours, and the decimal part represents minutes.

Properties

Now

Gets the current date and time of this zone.

Declaration
public DateTime Now { get; }
Property Value
Type Description
System.DateTime

Methods

FromSystemTime(DateTime)

Converts the passed-in system DateTime to this time zone.

Declaration
public DateTime FromSystemTime(DateTime systemTime)
Parameters
Type Name Description
System.DateTime systemTime

The system DateTime to be converted.

Returns
Type Description
System.DateTime

System DateTime converted to this time zone.

In This Article
Back to top Generated by DocFX