C# Class RT.Comb.SqlDateTimeStrategy

Represents a mechanism for converting DateTime values back and forth to byte arrays. Strategies can differ depending on how many bytes of the GUID you wish to overwrite, what time resolution you want, etc.
Inheritance: ICombDateTimeStrategy
Afficher le fichier Open project: richardtallent/RT.Comb

Méthodes publiques

Méthode Description
BytesToDateTime ( byte value ) : System.DateTime
DateTimeToBytes ( System.DateTime timestamp ) : byte[]

Method Details

BytesToDateTime() public méthode

public BytesToDateTime ( byte value ) : System.DateTime
value byte
Résultat System.DateTime

DateTimeToBytes() public méthode

public DateTimeToBytes ( System.DateTime timestamp ) : byte[]
timestamp System.DateTime
Résultat byte[]