public class PcDateUtils extends Object
| Constructor and Description |
|---|
PcDateUtils() |
| Modifier and Type | Method and Description |
|---|---|
static Date |
getDateFromConciseStr(String str)
20130512 Converts the sdsm string generated above to Date format.
|
static String |
getDateTimeStr(Date d)
Gets the date time str.
|
static String |
getDateTimeStrConcise(Date d)
Gets the date time str concise.
|
static String |
getDateTimeStrConciseNoZone(Date d)
20141027: same as getDateTimeStrConcise but no timezone.
|
static String |
getDateTimeStrStandard(Date d)
Gets the date time str standard.
|
static String |
getNowDateTimeStr()
Gets the now date time str.
|
static String |
getNowDateTimeStrConcise()
Gets the now date time str concise.
|
static String |
getNowDateTimeStrConciseNoZone()
Gets the now date time str concise no zone.
|
static String |
getNowDateTimeStrStandard()
Gets the now date time str standard.
|
public static String getDateTimeStr(Date d)
d - the dpublic static String getDateTimeStrStandard(Date d)
d - the dpublic static String getDateTimeStrConcise(Date d)
d - the dpublic static String getDateTimeStrConciseNoZone(Date d)
d - the dpublic static Date getDateFromConciseStr(String str)
str - the strpublic static String getNowDateTimeStr()
public static String getNowDateTimeStrStandard()
public static String getNowDateTimeStrConcise()
public static String getNowDateTimeStrConciseNoZone()
Copyright © 2015–2017 eBay. All rights reserved.