com.atlassian.jira.charts.jfreechart
Class TimePeriodUtils

java.lang.Object
  extended by com.atlassian.jira.charts.jfreechart.TimePeriodUtils

@NotThreadSafe
public final class TimePeriodUtils
extends Object

Utility class for JFreeChart time periods.

This class is not thread safe.

Since:
v4.4

Constructor Summary
TimePeriodUtils(TimeZoneManager timeZoneManager)
          Creates a new TimePeriodUtils.
 
Method Summary
 boolean equals(Object o)
           
 int hashCode()
           
 String prettyPrint(org.jfree.data.time.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.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimePeriodUtils

public TimePeriodUtils(TimeZoneManager timeZoneManager)
Creates a new TimePeriodUtils.

Parameters:
timeZoneManager - a TimeZoneManager
Method Detail

prettyPrint

public String prettyPrint(org.jfree.data.time.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

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2002-2014 Atlassian. All Rights Reserved.