ParserUtility.dateTimeUtcToString(Date date) Method

定义

Helper to convert the provided Date UTC into String. Expected result: "2016-06-01T21:22:43.799Z"

public static String dateTimeUtcToString(Date date)

参数

date
Date

is theDate 

</code> with the date and time </p>

返回

String

theString 

</code> with the date and time using the UTC format. </p>

异常

IllegalArgumentException

if the provided date isnull 

</code> . </p>

适用于