Quintiq file version 2.0
#parent: #root
Method SetDateTime () id:Method_DialogCreateEditRouting_SetDateTime
{
  #keys: '[124808.0.1305643080]'
  Body:
  [*
    // Set date time
    
    if( CheckBoxHasStart.Checked() and not GUIDateTimeSelectorStart.DateTime().Date().IsFinite() )
    {
      GUIDateTimeSelectorStart.DateTime( MacroPlan.Start() );
    }
    if( CheckBoxHasEnd.Checked() and not GUIDateTimeSelectorEnd.DateTime().Date().IsFinite() )
    {
      GUIDateTimeSelectorEnd.DateTime( MacroPlan.End() );
    }
  *]
}
