Creates a schedule object based on a schedule definition string value.

Namespace:  DlhSoft.Windows.Data
Assembly:  DlhSoft.ProjectData.Core (in DlhSoft.ProjectData.Core.dll)

Syntax

C#
public static Schedule CreateSchedule(
	Object content,
	string scheduleDefinitionString
)
Visual Basic (Declaration)
Public Shared Function CreateSchedule ( _
	content As Object, _
	scheduleDefinitionString As String _
) As Schedule

Parameters

content
Type: System..::.Object
An object to be set as the content of the output schedule object.
scheduleDefinitionString
Type: System..::.String
The schedule definition string value, of this form: Monday-Friday 08:00-12:00 12:30-16:30, Saturday 08:00-12:00, 01/01/2010 -, 01/02/2010-01/05/2010 11:00-14:00.

Return Value

The schedule object created based on the provided definition string.

See Also