ParserUtility.getDateStringFromDate(Date date) 方法

public static String getDateStringFromDate(Date date)

Convert from a date object back into a string representation Expected format of returned string: "2016-01-21T11:05:21"

参数

date
Date

the date to convert into a string

返回

String

the date represented as a string

例外

IllegalArgumentException

if the provided date is null

适用于