public class DateFormatter extends Object
Constructor and Description |
---|
DateFormatter() |
Modifier and Type | Method and Description |
---|---|
Date |
getISODate(String text)
Deprecated.
As of netCDF-JAVA 4.3.10. Use
CalendarDateFormatter.isoStringToDate(String)
instead |
String |
getStandardDateOnlyString(Date date)
Deprecated.
use toDateOnlyString
|
String |
getStandardDateString(Date date)
Deprecated.
use toDateTimeStringISO
|
String |
getStandardDateString2(Date date)
Deprecated.
use toDateTimeString
|
String |
toDateOnlyString(Date date)
date only format= yyyy-MM-dd
|
String |
toDateString(Date date)
Deprecated.
use toDateOnlyString
|
String |
toDateTimeString(Date date)
"standard date format" = yyyy-MM-dd HH:mm:ssZ
|
String |
toDateTimeStringISO(Date date)
"ISO date format" = yyyy-MM-dd'T'HH:mm:ssZ
|
@Deprecated public Date getISODate(String text)
CalendarDateFormatter.isoStringToDate(String)
insteadtext
- parse this textpublic String getStandardDateOnlyString(Date date)
public String toDateString(Date date)
public String toDateOnlyString(Date date)
date
- format this datepublic String getStandardDateString2(Date date)
public String toDateTimeString(Date date)
date
- format this datepublic String getStandardDateString(Date date)