java.lang.Object
org.kohsuke.github.GHRepositoryStatistics.PunchCardItem
- Enclosing class:
- GHRepositoryStatistics
The type PunchCardItem.
-
Method Summary
Modifier and TypeMethodDescriptionint
Gets day of week.long
Gets hour of day.long
Gets number of commits.toString()
To string.
-
Method Details
-
getDayOfWeek
public int getDayOfWeek()Gets day of week.- Returns:
- The day of the week. 0 = Sunday, 1 = Monday, etc.
-
getHourOfDay
public long getHourOfDay()Gets hour of day.- Returns:
- The hour of the day from 0 to 23.
-
getNumberOfCommits
public long getNumberOfCommits()Gets number of commits.- Returns:
- The number of commits for the day and hour.
-
toString
To string.
-