public final class BoxDateFormat extends Object
Modifier and Type | Method and Description |
---|---|
static String |
format(Date date)
Formats a date as a string that can be sent to the Box API.
|
static Date |
parse(String dateString)
Parses a date string returned by the Box API into a
Date object. |
public static Date parse(String dateString) throws ParseException
Date
object.dateString
- a string containing the date.ParseException
- if the string cannot be parsed into a valid date.