Skip to content

OptimizationDateTimeParameter

Summary

A DateTime cBot parameter, optimized over a date-time range or held fixed.

Signature

1
public class OptimizationDateTimeParameter : OptimizationParameter`1

Namespace

cAlgo.API

See Also

Methods

ToString

Signature

1
public string ToString()

Return Value

string

PrintMembers

Signature

1
protected bool PrintMembers(StringBuilder builder)

Parameters

Name Type Description
builder StringBuilder

Return Value

bool

GetHashCode

Signature

1
public int GetHashCode()

Return Value

int

Equals (3)

Equals (1 of 3)

Signature

1
public bool Equals(object obj)

Parameters

Name Type Description
obj object

Return Value

bool

Equals (2 of 3)

Signature

1
public bool Equals(OptimizationParameter<DateTime> other)

Parameters

Name Type Description
other OptimizationParameter

Return Value

bool

Equals (3 of 3)

Signature

1
public bool Equals(OptimizationDateTimeParameter other)

Parameters

Name Type Description
other OptimizationDateTimeParameter

Return Value

bool

$

Signature

1
public OptimizationDateTimeParameter <Clone>$()

Return Value

OptimizationDateTimeParameter

Properties

Min

Summary

Gets the inclusive minimum of the range.

Signature

1
public DateTime Min {get;}

Return Value

DateTime

Max

Summary

Gets the inclusive maximum of the range.

Signature

1
public DateTime Max {get;}

Return Value

DateTime

Step

Summary

Gets the step of the range, as a time span.

Signature

1
public TimeSpan Step {get;}

Return Value

TimeSpan