jsky.util
Class DateUtil

java.lang.Object
  extended by jsky.util.DateUtil

public class DateUtil
extends java.lang.Object

Time/Date related static utility methods


Constructor Summary
DateUtil()
           
 
Method Summary
static java.lang.String formatUTC(long time)
          Return a string with the UTC time in the format /mm/dd/yy hh:mm:ss, given the current UTC time in ms.
static java.lang.String formatUTCyyyymmdd(long time)
          Return a string with the given UTC time in the format YYYYMMDD.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DateUtil

public DateUtil()
Method Detail

formatUTC

public static java.lang.String formatUTC(long time)
Return a string with the UTC time in the format /mm/dd/yy hh:mm:ss, given the current UTC time in ms.


formatUTCyyyymmdd

public static java.lang.String formatUTCyyyymmdd(long time)
Return a string with the given UTC time in the format YYYYMMDD.