@NotThreadSafe public final class

TimePeriodUtils

extends Object
java.lang.Object
   ↳ com.atlassian.jira.charts.jfreechart.TimePeriodUtils

Class Overview

Utility class for JFreeChart time periods.

This class is not thread safe.

Summary

Public Constructors
TimePeriodUtils(TimeZoneManager timeZoneManager)
Creates a new TimePeriodUtils.
Public Methods
boolean equals(Object o)
int hashCode()
String prettyPrint(TimePeriod timePeriod)
Prints the time period parameter as a String suitable for presenting in a graph's data table, in the currently logged in user's time zone.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public TimePeriodUtils (TimeZoneManager timeZoneManager)

Creates a new TimePeriodUtils.

Parameters
timeZoneManager a TimeZoneManager

Public Methods

public boolean equals (Object o)

public int hashCode ()

public String prettyPrint (TimePeriod timePeriod)

Prints the time period parameter as a String suitable for presenting in a graph's data table, in the currently logged in user's time zone.

Parameters
timePeriod a TimePeriod
Returns
  • a String