public static void testPeriodOpen(Properties ctx,Timestamp dateAcct,String docBaseType) throws PeriodClosedException {
  if (!MPeriod.isOpen(ctx,dateAcct,docBaseType)) {
    throw new PeriodClosedException(dateAcct,docBaseType);
  }
}

public static void testPeriodOpen ( Properties ctx , Timestamp dateAcct , String docBaseType ) throws PeriodClosedException { if ( ! MPeriod . isOpen ( ctx , dateAcct , docBaseType ) ) { throw new PeriodClosedException ( dateAcct , docBaseType ) ; } }
convenient method for testing if a period is open
