Fauna csharp driver  4.2.0
Public Member Functions | Static Public Member Functions | Protected Member Functions | Properties | List of all members
FaunaDB.Types.TimeV Class Reference

Represents a Timestamp value in the FaunaDB query language. More...

Inheritance diagram for FaunaDB.Types.TimeV:
FaunaDB.Types.ScalarValue< DateTime >

Public Member Functions

override bool Equals (Expr v)
 
override string ToString ()
 
- Public Member Functions inherited from FaunaDB.Types.ScalarValue< DateTime >
override bool Equals (Expr v)
 
override string ToString ()
 

Static Public Member Functions

static TimeV Of (string isoTime)
 
static TimeV Of (DateTime dateTime)
 
static operator TimeV (DateTime value)
 Convert from a DateTime by rendering as iso8601. More...
 
static implicit operator DateTime (TimeV ft)
 Convert to DateTime. Since DateTime has millisecond precision, this is lossy. More...
 

Protected Member Functions

override int HashCode ()
 
- Protected Member Functions inherited from FaunaDB.Types.ScalarValue< DateTime >
 ScalarValue (TWrapped value)
 
override int HashCode ()
 

Properties

DateTimeOffset DateTimeOffset [get]
 
- Properties inherited from FaunaDB.Types.ScalarValue< DateTime >
TWrapped Value [get]
 

Detailed Description

Represents a Timestamp value in the FaunaDB query language.

See the FaunaDB Special Types

.

Definition at line 148 of file ScalarValue.cs.

Member Function Documentation

◆ Equals()

override bool FaunaDB.Types.TimeV.Equals ( Expr  v)

Definition at line 196 of file ScalarValue.cs.

◆ HashCode()

override int FaunaDB.Types.TimeV.HashCode ( )
protected

◆ Of() [1/2]

static TimeV FaunaDB.Types.TimeV.Of ( DateTime  dateTime)
static

◆ Of() [2/2]

static TimeV FaunaDB.Types.TimeV.Of ( string  isoTime)
static

◆ operator DateTime()

static implicit FaunaDB.Types.TimeV.operator DateTime ( TimeV  ft)
static

Convert to DateTime. Since DateTime has millisecond precision, this is lossy.

◆ operator TimeV()

static FaunaDB.Types.TimeV.operator TimeV ( DateTime  value)
explicitstatic

Convert from a DateTime by rendering as iso8601.

◆ ToString()

override string FaunaDB.Types.TimeV.ToString ( )

Property Documentation

◆ DateTimeOffset

DateTimeOffset FaunaDB.Types.TimeV.DateTimeOffset
get

Definition at line 167 of file ScalarValue.cs.


The documentation for this class was generated from the following file: