BrightSide Workbench Full Report + Source Code
org.turro.financials.report.PeriodComparator Class Reference
Inheritance diagram for org.turro.financials.report.PeriodComparator:
Collaboration diagram for org.turro.financials.report.PeriodComparator:

Public Member Functions

int compare (AccountReportPeriod o1, AccountReportPeriod o2)
 

Detailed Description

Author
Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g

Definition at line 27 of file PeriodComparator.java.

Member Function Documentation

◆ compare()

int org.turro.financials.report.PeriodComparator.compare ( AccountReportPeriod  o1,
AccountReportPeriod  o2 
)

Definition at line 30 of file PeriodComparator.java.

30  {
31  int result = CompareUtil.compare(o1.getYear(), o2.getYear());
32  if(result == 0) {
33  result = CompareUtil.compare(o1.getMonth(), o2.getMonth());
34  }
35  return result;
36  }
Here is the call graph for this function:

The documentation for this class was generated from the following file: