Class GHRepositoryStatistics.PunchCardItem

java.lang.Object
org.kohsuke.github.GHRepositoryStatistics.PunchCardItem
Enclosing class:
GHRepositoryStatistics

public static class GHRepositoryStatistics.PunchCardItem extends Object
The type PunchCardItem.
  • 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

      public String toString()
      To string.
      Overrides:
      toString in class Object
      Returns:
      the string