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

Public Member Functions

 MonthItem (int year, int month)
 
int getYear ()
 
int getMonth ()
 
Movements getMovements ()
 
String getStringId ()
 
int compareTo (MonthItem o)
 

Detailed Description

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

Definition at line 27 of file MonthItem.java.

Constructor & Destructor Documentation

◆ MonthItem()

org.turro.financials.operating.MonthItem.MonthItem ( int  year,
int  month 
)

Definition at line 32 of file MonthItem.java.

32  {
33  this.year = year;
34  this.month = month;
35  }

Member Function Documentation

◆ compareTo()

int org.turro.financials.operating.MonthItem.compareTo ( MonthItem  o)

Definition at line 54 of file MonthItem.java.

54  {
55  int result = CompareUtil.compare(year, o.year);
56  if(result == 0) {
57  result = CompareUtil.compare(month, o.month);
58  }
59  return result;
60  }

◆ getMonth()

int org.turro.financials.operating.MonthItem.getMonth ( )

Definition at line 41 of file MonthItem.java.

41  {
42  return month;
43  }
Here is the caller graph for this function:

◆ getMovements()

Movements org.turro.financials.operating.MonthItem.getMovements ( )

Definition at line 45 of file MonthItem.java.

45  {
46  return movements;
47  }

◆ getStringId()

String org.turro.financials.operating.MonthItem.getStringId ( )

Definition at line 49 of file MonthItem.java.

Here is the call graph for this function:

◆ getYear()

int org.turro.financials.operating.MonthItem.getYear ( )

Definition at line 37 of file MonthItem.java.

37  {
38  return year;
39  }
Here is the caller graph for this function:

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