Casts a time span value to a time of day value.
Namespace:
DlhSoft.Windows.DataAssembly: DlhSoft.ProjectData.GanttChart.LightWPF.Controls (in DlhSoft.ProjectData.GanttChart.LightWPF.Controls.dll)
Syntax
C# |
---|
public static implicit operator TimeOfDay ( TimeSpan timeOfDay ) |
Visual Basic (Declaration) |
---|
Public Shared Widening Operator CType ( _ timeOfDay As TimeSpan _ ) As TimeOfDay |
Parameters
- timeOfDay
- Type: System..::.TimeSpan
Time span value to cast.