com.atlassian.jira.crowd.embedded.ofbiz.db
Class OfBizHelper

java.lang.Object
  extended by com.atlassian.jira.crowd.embedded.ofbiz.db.OfBizHelper

public class OfBizHelper
extends Object

Left over from the OFBiz Crowd SPI implementation.


Constructor Summary
OfBizHelper()
           
 
Method Summary
static Timestamp convertToSqlTimestamp(Date date)
          Converts a java.util.Date to a java.sql.Timestamp.
static Date convertToUtilDate(Timestamp timestamp)
          Converts a java.sql.Timestamp to a java.util.Date.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OfBizHelper

public OfBizHelper()
Method Detail

convertToUtilDate

public static Date convertToUtilDate(Timestamp timestamp)
Converts a java.sql.Timestamp to a java.util.Date.

Parameters:
timestamp - The java.sql.Timestamp
Returns:
the java.util.Date.

convertToSqlTimestamp

public static Timestamp convertToSqlTimestamp(Date date)
Converts a java.util.Date to a java.sql.Timestamp.

Parameters:
date - The java.util.Date
Returns:
the java.sql.Timestamp.


Copyright © 2002-2014 Atlassian. All Rights Reserved.