C# Class Simpl.Serialization.Types.Scalar.DateTimeType

Inheritance: ReferenceType
Mostra file Open project: ecologylab/simplCSharp

Public Properties

Property Type Description
DefaultValue System.DateTime
UtcEpoch System.DateTime

Public Methods

Method Description
DateTimeType ( ) : System

Calls the parent constructor for int type

DateTimeType ( Type type ) : System
GetInstance ( string value, string formatStrings, IScalarUnmarshallingContext scalarUnmarshallingContext ) : object

IsDefaultValue ( FieldInfo field, Object context ) : bool

Marshall ( object instance, TranslationContext context = null ) : string
NeedsJsonQuotationWrap ( ) : bool
SimplEquals ( object left, object right ) : bool

Method Details

DateTimeType() public method

Calls the parent constructor for int type
public DateTimeType ( ) : System
return System

DateTimeType() public method

public DateTimeType ( Type type ) : System
type System.Type
return System

GetInstance() public method

public GetInstance ( string value, string formatStrings, IScalarUnmarshallingContext scalarUnmarshallingContext ) : object
value string
formatStrings string
scalarUnmarshallingContext IScalarUnmarshallingContext
return object

IsDefaultValue() public method

public IsDefaultValue ( FieldInfo field, Object context ) : bool
field System.Reflection.FieldInfo
context Object
return bool

Marshall() public method

public Marshall ( object instance, TranslationContext context = null ) : string
instance object
context Simpl.Serialization.Context.TranslationContext
return string

NeedsJsonQuotationWrap() public method

public NeedsJsonQuotationWrap ( ) : bool
return bool

SimplEquals() public method

public SimplEquals ( object left, object right ) : bool
left object
right object
return bool

Property Details

DefaultValue public_oe static_oe property

public static DateTime,System DefaultValue
return System.DateTime

UtcEpoch public_oe static_oe property

public static DateTime,System UtcEpoch
return System.DateTime