public final class DateUtils extends Object
Modifier and Type | Method and Description |
---|---|
static Date |
getDate(String zuluTime) |
static String |
getGeneralizedTime()
Gets the generalized time right now.
|
static String |
getGeneralizedTime(Date date) |
static String |
getGeneralizedTime(long time) |
public static String getGeneralizedTime()
GeneralizedTime
public static String getGeneralizedTime(Date date)
date
- the date to be converted to generalized time stringgetGeneralizedTime()
public static String getGeneralizedTime(long time)
time
- the time value to be converted to generalized time stringgetGeneralizedTime()
Copyright © 2003–2014 The Apache Software Foundation. All rights reserved.