get Period
Deprecated
Use {@link #getPeriodForPeriodTypeAndDate(PeriodType, Date)} instead.
Replace with
getPeriodForPeriodTypeAndDate(periodType, date)Content copied to clipboard
Get a period object specifying a periodType and a date in the period. If the period does not exist in the database, it is inserted.
Return
Period
Parameters
period Type
Period type
date
Date contained in the period