org.gcube.couchbase.helpers
Class DateHelper

java.lang.Object
  extended by org.gcube.couchbase.helpers.DateHelper

public class DateHelper
extends Object

Author:
Alex Antoniadis

Constructor Summary
DateHelper()
           
 
Method Summary
static String calendarToDateString(Calendar cal)
           
static String toCalendarDateString(long datetime)
           
static Long toCalendarDateTime(GregorianCalendar gc)
           
static String toDateString(long datetime)
           
static Long toDateTime(Date date)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DateHelper

public DateHelper()
Method Detail

toDateString

public static String toDateString(long datetime)

toDateTime

public static Long toDateTime(Date date)

toCalendarDateString

public static String toCalendarDateString(long datetime)

calendarToDateString

public static String calendarToDateString(Calendar cal)

toCalendarDateTime

public static Long toCalendarDateTime(GregorianCalendar gc)


Copyright © 2014. All Rights Reserved.