com.atlassian.jira.util
Class JiraDateUtils

java.lang.Object
  extended by com.atlassian.jira.util.JiraDateUtils

public class JiraDateUtils
extends Object


Field Summary
static long MINUTE_IN_MILLIS
           
static String SECONDS
           
static long SECONDS_IN_MILLIS
           
 
Constructor Summary
JiraDateUtils()
           
 
Method Summary
static Date copyDateNullsafe(Date date)
           
static Date copyOrCreateDateNullsafe(Date date)
           
static Timestamp copyOrCreateTimestampNullsafe(Date date)
           
static String formatTime(long time)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SECONDS_IN_MILLIS

public static final long SECONDS_IN_MILLIS
See Also:
Constant Field Values

MINUTE_IN_MILLIS

public static final long MINUTE_IN_MILLIS
See Also:
Constant Field Values

SECONDS

public static final String SECONDS
See Also:
Constant Field Values
Constructor Detail

JiraDateUtils

public JiraDateUtils()
Method Detail

formatTime

public static String formatTime(long time)

copyDateNullsafe

public static Date copyDateNullsafe(Date date)

copyOrCreateDateNullsafe

public static Date copyOrCreateDateNullsafe(Date date)

copyOrCreateTimestampNullsafe

public static Timestamp copyOrCreateTimestampNullsafe(Date date)


Copyright © 2002-2008 Atlassian. All Rights Reserved.