Quintiq file version 2.0
#parent: #root
Method GetPeriodType () as String id:Method_LibCal_dlgEvent_GetPeriodType
{
  #keys: '[146730.0.1659844380]'
  Body:
  [*
    periodType := LibCal_RecurrencePeriod::TYPE_WITHOUTEND();
    
    if( ckbEndAfter.Checked() )
    {
      periodType := LibCal_RecurrencePeriod::TYPE_NROFOCCURRENCES();
    }
    
    else if( ckbEndBy.Checked() )
    {
      periodType := LibCal_RecurrencePeriod::TYPE_WITHENDDATE();
    }
    
    return periodType;
  *]
}
