Class HomeStats.AddedInWindow

java.lang.Object
ubic.gemma.core.analysis.report.HomeStats.AddedInWindow
Enclosing class:
HomeStats

public static class HomeStats.AddedInWindow extends Object
Count of public experiments created within one trailing window.
  • Constructor Details

    • AddedInWindow

      public AddedInWindow(int days, Date since, long count)
    • AddedInWindow

      public AddedInWindow()
  • Method Details

    • getDays

      public int getDays()
      Width of the window in days (7, 30, 90, 365).
    • getSince

      public Date getSince()
      Resolved start of the window — generatedAt - days. Carried so a caller can label the figure ("1,195 added since 2025-08-21") without recomputing the date against a snapshot that may be up to a day old.
    • getCount

      public long getCount()
      Public experiments whose creation event falls on or after since.
    • setDays

      public void setDays(int days)
      Width of the window in days (7, 30, 90, 365).
    • setSince

      public void setSince(Date since)
      Resolved start of the window — generatedAt - days. Carried so a caller can label the figure ("1,195 added since 2025-08-21") without recomputing the date against a snapshot that may be up to a day old.
    • setCount

      public void setCount(long count)
      Public experiments whose creation event falls on or after since.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object