Module org.kohsuke.github.api
Package org.kohsuke.github
Class GHRepositoryStatistics.ContributorStats.Week
java.lang.Object
org.kohsuke.github.GHRepositoryStatistics.ContributorStats.Week
- Enclosing class:
- GHRepositoryStatistics.ContributorStats
The type Week.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
Gets number of additions.int
Gets number of commits.int
Gets number of deletions.long
Gets week timestamp.toString()
To string.
-
Constructor Details
-
Week
public Week()Create default Week instance
-
-
Method Details
-
getWeekTimestamp
public long getWeekTimestamp()Gets week timestamp.- Returns:
- Start of the week, as a UNIX timestamp.
-
getNumberOfAdditions
public int getNumberOfAdditions()Gets number of additions.- Returns:
- The number of additions for the week.
-
getNumberOfDeletions
public int getNumberOfDeletions()Gets number of deletions.- Returns:
- The number of deletions for the week.
-
getNumberOfCommits
public int getNumberOfCommits()Gets number of commits.- Returns:
- The number of commits for the week.
-
toString
To string.
-