public class

JiraDateUtils

extends Object
java.lang.Object
   ↳ com.atlassian.jira.util.JiraDateUtils

Summary

Constants
long MINUTE_IN_MILLIS
String SECONDS
long SECONDS_IN_MILLIS
Public Constructors
JiraDateUtils()
Public Methods
static Date copyDateNullsafe(Date date)
static Date copyOrCreateDateNullsafe(Date date)
static Timestamp copyOrCreateTimestampNullsafe(Date date)
static String formatTime(long time)
static boolean hasTimeComponent(Date date, TimeZone timeZone)
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final long MINUTE_IN_MILLIS

Constant Value: 60000 (0x000000000000ea60)

public static final String SECONDS

Constant Value: " seconds"

public static final long SECONDS_IN_MILLIS

Constant Value: 1000 (0x00000000000003e8)

Public Constructors

public JiraDateUtils ()

Public Methods

public static Date copyDateNullsafe (Date date)

public static Date copyOrCreateDateNullsafe (Date date)

public static Timestamp copyOrCreateTimestampNullsafe (Date date)

public static String formatTime (long time)

public static boolean hasTimeComponent (Date date, TimeZone timeZone)