Uses of Class
com.storedobject.core.DatePeriod
Packages that use DatePeriod
Package
Description
-
Uses of DatePeriod in com.storedobject.core
Methods in com.storedobject.core that return DatePeriodModifier and TypeMethodDescriptionstatic DatePeriodDatePeriod.create()Create a period for today (from and to will be today).static DatePeriodCreate a period for a single date (from and to will be the same).static DatePeriodCreate a period from two dates.TaxType.getApplicablePeriod()Retrieves the applicable period defined by the start and end dates.JSON.getDatePeriod()Helper method to retrieve aDatePeriodvalue from the JSON request assuming that "dateFrom" and "dateTo" are the names of the attributes.protected DatePeriodLedger.getPeriod()The date-period selected.SubscriptionItem.getPeriod()static DatePeriodDatePeriod.monthTillToday()Create a period from the start of the current month till today.static DatePeriodDatePeriod.monthTillYesterday()Create a period from the start of the current month till yesterday.static DatePeriodDatePeriod.thisMonth()Create a period for the current month.static DatePeriodDatePeriod.thisYear()Create a period for the current year.static DatePeriodDatePeriod.tillToday(int fromDays) Create a period ending today and starting a specific number of days ago.static DatePeriodDatePeriod.tillYesterday(int fromDays) Create a period ending yesterday and starting a specific number of days ago.static DatePeriodDatePeriod.yearTillToday()Create a period from the start of the current year till today.static DatePeriodDatePeriod.yearTillYesterday()Create a period from the start of the current year till yesterday.Methods in com.storedobject.core with parameters of type DatePeriodModifier and TypeMethodDescriptionAccount.getLedger(DatePeriod period) protected LedgerJSONLedger.getLedger(Account account, DatePeriod period) -
Uses of DatePeriod in com.storedobject.report
Methods in com.storedobject.report with parameters of type DatePeriodModifier and TypeMethodDescriptionstatic voidAccountStatement.generateStatement(PDFReport report, Account account, DatePeriod datePeriod) voidJournalReport.setDatePeriod(DatePeriod datePeriod) Constructors in com.storedobject.report with parameters of type DatePeriodModifierConstructorDescriptionAccountStatement(Device device, Account account, DatePeriod datePeriod) JournalReport(Device device, DatePeriod datePeriod) JournalReport(Device device, SystemEntity systemEntity, DatePeriod datePeriod) StockMovementReport(Device device, InventoryLocation location, DatePeriod period) StockMovementReport(Device device, InventoryStore store, DatePeriod period) -
Uses of DatePeriod in com.storedobject.ui
Methods in com.storedobject.ui that return DatePeriodModifier and TypeMethodDescriptionprotected DatePeriodprotected DatePeriodMonthEndField.getPeriod()MonthField.getPeriod()Constructors in com.storedobject.ui with parameters of type DatePeriodModifierConstructorDescriptionDatePeriodField(String label, DatePeriod initialValue) MonthPeriodField(String label, DatePeriod initialValue) -
Uses of DatePeriod in com.storedobject.ui.accounts
Constructors in com.storedobject.ui.accounts with parameters of type DatePeriod