Module org.kohsuke.github.api
Package org.kohsuke.github
Class GHRepositoryStatistics.CommitActivity
java.lang.Object
org.kohsuke.github.GHObject
org.kohsuke.github.GHRepositoryStatistics.CommitActivity
- Enclosing class:
- GHRepositoryStatistics
The type CommitActivity.
-
Field Summary
Fields inherited from class org.kohsuke.github.GHObject
responseHeaderFields
-
Constructor Summary
-
Method Summary
Methods inherited from class org.kohsuke.github.GHObject
getCreatedAt, getId, getNodeId, getResponseHeaderFields, getUpdatedAt, getUrl, setResponseHeaderFields, toString
-
Constructor Details
-
CommitActivity
public CommitActivity()Create default CommitActivity instance
-
-
Method Details
-
getDays
Gets days.- Returns:
- The number of commits for each day of the week. 0 = Sunday, 1 = Monday, etc.
-
getTotal
public int getTotal()Gets total.- Returns:
- The total number of commits for the week.
-
getWeek
public long getWeek()Gets week.- Returns:
- The start of the week as a UNIX timestamp.
-