C# Class numl.Model.DateTimeProperty

Inheritance: Property
Exibir arquivo Open project: sethjuarez/numl Class Usage Examples

Public Methods

Method Description
Convert ( object o ) : IEnumerable

Convert an object to a list of numbers.

Convert ( double val ) : object

Convert the numeric representation back to the original type.

DateTimeProperty ( ) : System

Default constructor.

DateTimeProperty ( DatePortion portion ) : System

Constructor.

DateTimeProperty ( DateTimeFeature features ) : System

Constructor.

Equals ( object obj ) : bool

Equality test

GetColumns ( ) : IEnumerable

Retrieve the list of expanded columns. If there is a one-to-one correspondence between the type and its expansion it will return a single value/.

GetColumns ( DateTimeFeature features ) : IEnumerable

Retrieve the list of expanded columns. If there is a one-to-one correspondence between the type and its expansion it will return a single value/.

GetFeatures ( string features ) : DateTimeFeature

Gets DateTimeFeature enum from enumerated values

GetHashCode ( ) : int

Return hash

Private Methods

Method Description
Initialize ( DatePortion portion ) : void

Initializes this object.

Method Details

Convert() public method

Convert an object to a list of numbers.
Thrown when an object cannot be cast to a required /// type.
public Convert ( object o ) : IEnumerable
o object Object.
return IEnumerable

Convert() public method

Convert the numeric representation back to the original type.
public Convert ( double val ) : object
val double .
return object

DateTimeProperty() public method

Default constructor.
public DateTimeProperty ( ) : System
return System

DateTimeProperty() public method

Constructor.
public DateTimeProperty ( DatePortion portion ) : System
portion DatePortion The portion.
return System

DateTimeProperty() public method

Constructor.
public DateTimeProperty ( DateTimeFeature features ) : System
features DateTimeFeature The features.
return System

Equals() public method

Equality test
public Equals ( object obj ) : bool
obj object object to compare
return bool

GetColumns() public method

Retrieve the list of expanded columns. If there is a one-to-one correspondence between the type and its expansion it will return a single value/.
public GetColumns ( ) : IEnumerable
return IEnumerable

GetColumns() public static method

Retrieve the list of expanded columns. If there is a one-to-one correspondence between the type and its expansion it will return a single value/.
public static GetColumns ( DateTimeFeature features ) : IEnumerable
features DateTimeFeature Features
return IEnumerable

GetFeatures() public static method

Gets DateTimeFeature enum from enumerated values
public static GetFeatures ( string features ) : DateTimeFeature
features string string collection of enum values
return DateTimeFeature

GetHashCode() public method

Return hash
public GetHashCode ( ) : int
return int