C# Class Deveel.Data.Sql.Types.DateType

Inheritance: DataType
Mostrar archivo Open project: deveel/deveeldb Class Usage Examples

Public Properties

Property Type Description
DateFormatSql string[]
TimeFormatSql string[]
TsFormatSql string[]

Public Methods

Method Description
Add ( ISqlObject a, ISqlObject b ) : ISqlObject
CanCastTo ( SqlType destType ) : bool
CastTo ( ISqlObject value, SqlType destType ) : ISqlObject
ConvertTo ( ISqlObject obj, Type destType ) : object
DateType ( SqlTypeCode typeCode ) : System
DeserializeObject ( System.Stream stream ) : ISqlObject
Equals ( object obj ) : bool
GetHashCode ( ) : int
GetObjectType ( ) : Type
GetRuntimeType ( ) : Type
IsCacheable ( ISqlObject value ) : bool
IsComparable ( SqlType type ) : bool
SerializeObject ( System.Stream stream, ISqlObject obj ) : void
Subtract ( ISqlObject a, ISqlObject b ) : ISqlObject

Private Methods

Method Description
AssertDateType ( SqlTypeCode sqlType ) : void
ColumnSizeOf ( ISqlObject obj ) : int
DateType ( SerializationInfo info, StreamingContext context ) : System
IsDateType ( SqlTypeCode sqlType ) : bool
ToDate ( SqlDateTime dateTime ) : SqlDateTime
ToString ( SqlDateTime dateTime ) : SqlString
ToTime ( SqlDateTime dateTime ) : SqlDateTime

Method Details

Add() public method

public Add ( ISqlObject a, ISqlObject b ) : ISqlObject
a ISqlObject
b ISqlObject
return ISqlObject

CanCastTo() public method

public CanCastTo ( SqlType destType ) : bool
destType SqlType
return bool

CastTo() public method

public CastTo ( ISqlObject value, SqlType destType ) : ISqlObject
value ISqlObject
destType SqlType
return ISqlObject

ConvertTo() public method

public ConvertTo ( ISqlObject obj, Type destType ) : object
obj ISqlObject
destType System.Type
return object

DateType() public method

public DateType ( SqlTypeCode typeCode ) : System
typeCode SqlTypeCode
return System

DeserializeObject() public method

public DeserializeObject ( System.Stream stream ) : ISqlObject
stream System.Stream
return ISqlObject

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

GetObjectType() public method

public GetObjectType ( ) : Type
return System.Type

GetRuntimeType() public method

public GetRuntimeType ( ) : Type
return System.Type

IsCacheable() public method

public IsCacheable ( ISqlObject value ) : bool
value ISqlObject
return bool

IsComparable() public method

public IsComparable ( SqlType type ) : bool
type SqlType
return bool

SerializeObject() public method

public SerializeObject ( System.Stream stream, ISqlObject obj ) : void
stream System.Stream
obj ISqlObject
return void

Subtract() public method

public Subtract ( ISqlObject a, ISqlObject b ) : ISqlObject
a ISqlObject
b ISqlObject
return ISqlObject

Property Details

DateFormatSql public_oe static_oe property

public static string[] DateFormatSql
return string[]

TimeFormatSql public_oe static_oe property

public static string[] TimeFormatSql
return string[]

TsFormatSql public_oe static_oe property

public static string[] TsFormatSql
return string[]