[]
Splits the task.
public override bool SplitTask(DateTime start, double duration)
Type | Name | Description |
---|---|---|
DateTime | start | The beginning of suspension. |
double | duration | The duration of suspension. |
Type | Description |
---|---|
bool | True if the splitting is succeeded, false otherwise. |
Splits the task.
public bool SplitTask(double[] durations)
Type | Name | Description |
---|---|---|
double[] | durations | The alternating durations of work and suspension periods. The array must contain the odd number of values. |
Type | Description |
---|---|
bool | True if the splitting is succeeded, false otherwise. |