Show / Hide Table of Contents

Class DateTimeProperty

DateTime Property. Used as a feature expansion mechanism.

Inheritance
System.Object
Property
DateTimeProperty
Inherited Members
Property.Name
Property.Type
Property.Start
Property.Discrete
Property.PreProcess(IEnumerable<Object>)
Property.PreProcess(Object)
Property.PostProcess(IEnumerable<Object>)
Property.PostProcess(Object)
Property.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace:numl.Model
Assembly:numl.dll
Syntax
public class DateTimeProperty : Property

Constructors

View Source

DateTimeProperty()

Default constructor.

Declaration
public DateTimeProperty()
View Source

DateTimeProperty(DatePortion)

Constructor.

Declaration
public DateTimeProperty(DatePortion portion)
Parameters
Type Name Description
DatePortion portion

The portion.

View Source

DateTimeProperty(DateTimeFeature)

Constructor.

Declaration
public DateTimeProperty(DateTimeFeature features)
Parameters
Type Name Description
DateTimeFeature features

The features.

Properties

View Source

Features

Gets or sets the features.

Declaration
public DateTimeFeature Features { get; set; }
Property Value
Type Description
DateTimeFeature

The features.

View Source

Length

Length of property.

Declaration
public override int Length { get; }
Property Value
Type Description
System.Int32

The length.

Overrides
Property.Length

Methods

View Source

Convert(Double)

Convert the numeric representation back to the original type.

Declaration
public override object Convert(double val)
Parameters
Type Name Description
System.Double val

.

Returns
Type Description
System.Object

An object.

Overrides
Property.Convert(Double)
View Source

Convert(Object)

Convert an object to a list of numbers.

Declaration
public override IEnumerable<double> Convert(object o)
Parameters
Type Name Description
System.Object o

Object.

Returns
Type Description
System.Collections.Generic.IEnumerable<System.Double>

Lazy list of doubles.

Overrides
Property.Convert(Object)
Exceptions
Type Condition
System.InvalidCastException

Thrown when an object cannot be cast to a required type.

View Source

Equals(Object)

Equality test

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
System.Object obj

object to compare

Returns
Type Description
System.Boolean

equality

Overrides
Property.Equals(Object)
View Source

GetColumns()

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/.

Declaration
public override IEnumerable<string> GetColumns()
Returns
Type Description
System.Collections.Generic.IEnumerable<System.String>

An enumerator that allows foreach to be used to process the columns in this collection.

Overrides
Property.GetColumns()
View Source

GetColumns(DateTimeFeature)

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/.

Declaration
public static IEnumerable<string> GetColumns(DateTimeFeature features)
Parameters
Type Name Description
DateTimeFeature features

Features

Returns
Type Description
System.Collections.Generic.IEnumerable<System.String>
View Source

GetFeatures(String[])

Gets DateTimeFeature enum from enumerated values

Declaration
public static DateTimeFeature GetFeatures(string[] features)
Parameters
Type Name Description
System.String[] features

string collection of enum values

Returns
Type Description
DateTimeFeature

DateTimeFeatures

View Source

GetHashCode()

Return hash

Declaration
public override int GetHashCode()
Returns
Type Description
System.Int32

hash

Overrides
Property.GetHashCode()
  • View Source
©2017 — Seth Juarez
numl v0.9.20-beta
MIT License
docs by docfx