ParserUtility.getDateTimeUtc(String dataTime) 方法
定义
Helper to convert the provided string in a UTC Date. Expected format: "2016-06-01T21:22:43.7996883Z"
public static Date getDateTimeUtc(String dataTime)
参数
- dataTime
- String
is the string with the date and time
返回
Date
Date parsed from the string
例外
IllegalArgumentException
if the date and time in the string is not in the correct format.