OptimizationDateTimeParameter.Min
property · OptimizationDateTimeParameter · cAlgo.API Since 5.9
DesktopCLICloud
Gets the inclusive minimum of the range.
Environment behaviour
CLI — not supported. Available to plugins only, and plugins cannot run in the CLI.
Cloud — not supported. Available to plugins only, and plugins cannot run in the cloud.
Definition
public DateTime Min {get;}
optimizationDateTimeParameter.Min: DateTime
Returns DateTime
Examples
var parameter = new OptimizationDateTimeParameter("SessionStart", new DateTime(2025, 1, 1, 6, 0, 0), new DateTime(2025, 1, 1, 12, 0, 0), TimeSpan.FromHours(1));
Print("Range starts at {0}", parameter.Min);
from System import DateTime, TimeSpan
parameter = OptimizationDateTimeParameter("SessionStart", DateTime(2025, 1, 1, 6, 0, 0), DateTime(2025, 1, 1, 12, 0, 0), TimeSpan.FromHours(1))
api.Print(f"Range starts at {parameter.Min}")