C# Class Revenj.DatabasePersistence.Postgres.Converters.TimestampConverter

Afficher le fichier Open project: ngs-doo/revenj

Méthodes publiques

Méthode Description
FromDatabase ( string value ) : System.DateTime
Parse ( BufferedTextReader reader, int context ) : System.DateTime
ParseCollection ( BufferedTextReader reader, int context ) : List
ParseCollectionUtc ( BufferedTextReader reader, int context ) : List
ParseNullable ( BufferedTextReader reader, int context ) : DateTime?
ParseNullableCollection ( BufferedTextReader reader, int context ) : List
ParseNullableCollectionUtc ( BufferedTextReader reader, int context ) : List
ParseNullableUtc ( BufferedTextReader reader, int context ) : DateTime?
ParseUtc ( BufferedTextReader reader, int context ) : System.DateTime
Serialize ( System.DateTime value, char buffer, int pos, int hours ) : int
Serialize ( DateTimeOffset value, char buffer, int pos, int hours ) : int
ToDatabase ( System.DateTime value ) : string
ToDatabase ( DateTimeOffset value ) : string
ToTuple ( System.DateTime value ) : IPostgresTuple
ToTupleUtc ( System.DateTime value ) : IPostgresTuple

Private Methods

Méthode Description
ParseTimestampUtc ( BufferedTextReader reader, int context ) : System.DateTime

Method Details

FromDatabase() public static méthode

public static FromDatabase ( string value ) : System.DateTime
value string
Résultat System.DateTime

Parse() public static méthode

public static Parse ( BufferedTextReader reader, int context ) : System.DateTime
reader BufferedTextReader
context int
Résultat System.DateTime

ParseCollection() public static méthode

public static ParseCollection ( BufferedTextReader reader, int context ) : List
reader BufferedTextReader
context int
Résultat List

ParseCollectionUtc() public static méthode

public static ParseCollectionUtc ( BufferedTextReader reader, int context ) : List
reader BufferedTextReader
context int
Résultat List

ParseNullable() public static méthode

public static ParseNullable ( BufferedTextReader reader, int context ) : DateTime?
reader BufferedTextReader
context int
Résultat DateTime?

ParseNullableCollection() public static méthode

public static ParseNullableCollection ( BufferedTextReader reader, int context ) : List
reader BufferedTextReader
context int
Résultat List

ParseNullableCollectionUtc() public static méthode

public static ParseNullableCollectionUtc ( BufferedTextReader reader, int context ) : List
reader BufferedTextReader
context int
Résultat List

ParseNullableUtc() public static méthode

public static ParseNullableUtc ( BufferedTextReader reader, int context ) : DateTime?
reader BufferedTextReader
context int
Résultat DateTime?

ParseUtc() public static méthode

public static ParseUtc ( BufferedTextReader reader, int context ) : System.DateTime
reader BufferedTextReader
context int
Résultat System.DateTime

Serialize() public static méthode

public static Serialize ( System.DateTime value, char buffer, int pos, int hours ) : int
value System.DateTime
buffer char
pos int
hours int
Résultat int

Serialize() public static méthode

public static Serialize ( DateTimeOffset value, char buffer, int pos, int hours ) : int
value DateTimeOffset
buffer char
pos int
hours int
Résultat int

ToDatabase() public static méthode

public static ToDatabase ( System.DateTime value ) : string
value System.DateTime
Résultat string

ToDatabase() public static méthode

public static ToDatabase ( DateTimeOffset value ) : string
value DateTimeOffset
Résultat string

ToTuple() public static méthode

public static ToTuple ( System.DateTime value ) : IPostgresTuple
value System.DateTime
Résultat IPostgresTuple

ToTupleUtc() public static méthode

public static ToTupleUtc ( System.DateTime value ) : IPostgresTuple
value System.DateTime
Résultat IPostgresTuple