public final class DateTimeUtils extends Object
Modifier and Type | Method and Description |
---|---|
static Date |
convertDateStringToDate(String value)
Converts a date string to local date time.
|
static Date |
convertDateTimeStringToDate(String value)
Converts a date time string to local date time.
|
public static Date convertDateTimeStringToDate(String value)
value
- The string value to parse.Date
.IllegalArgumentException
- If string can not be parsed.public static Date convertDateStringToDate(String value)
value
- The string value to parse.Date
.IllegalArgumentException
- If string can not be parsed.Copyright © 2012–2015 Microsoft. All rights reserved.