|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gitective.core.stat.YearCommitActivity
public class YearCommitActivity
Commit activity in a given year
| Field Summary | |
|---|---|
static int |
DAYS
Maximum number of days in a month |
static int |
HOURS
Number of hours in a day |
static int |
MONTHS
Number of months in a year |
| Constructor Summary | |
|---|---|
YearCommitActivity(int year)
Create activity for given year |
|
| Method Summary | |
|---|---|
YearCommitActivity |
add(Calendar calendar)
Add time of calendar to this year |
int |
getCount()
Get total number of commits in this year |
int |
getDayCount(int dayOfMonth)
Get number commits in given day |
int[] |
getDays()
Get commit activity in each day of the month |
int[] |
getDays(int[] days)
Get commit activity in each day of the month |
int |
getHourCount(int hour)
Get number of commits in given hour of the day |
int[] |
getHours()
Get commit activity in each hour of the day |
int[] |
getHours(int[] hours)
Get commit activity in each hour of the day |
int |
getMonthCount(int month)
Get number of commits in given month |
int |
getMonthCount(Month month)
Get number of commits in given month |
int[] |
getMonths()
Get commit activity in each month |
int[] |
getMonths(int[] months)
Get commit activity in each month |
int |
getYear()
Get year |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int MONTHS
public static final int HOURS
public static final int DAYS
| Constructor Detail |
|---|
public YearCommitActivity(int year)
year - | Method Detail |
|---|
public YearCommitActivity add(Calendar calendar)
calendar -
public int[] getMonths()
public int[] getMonths(int[] months)
months -
public int[] getDays()
public int[] getDays(int[] days)
days -
public int[] getHours()
public int[] getHours(int[] hours)
hours -
public int getMonthCount(Month month)
month -
public int getMonthCount(int month)
month -
public int getHourCount(int hour)
hour -
public int getDayCount(int dayOfMonth)
dayOfMonth -
public int getYear()
public int getCount()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||