public final class ParametersConverter extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
PROTOCOL_DATE_FORMAT |
static String |
PROTOCOL_DATE_TIME_FORMAT |
static String |
PROTOCOL_TIME_FORMAT |
| Modifier and Type | Method and Description |
|---|---|
static Date |
parseDate(String parameter) |
static Date |
parseDateTime(String parameter) |
static float |
parseFloat(String parameter) |
static int |
parseInteger(String parameter) |
static PartialDate |
parsePartialDate(String parameter) |
static Date |
parseTime(String parameter) |
public static final String PROTOCOL_DATE_FORMAT
public static final String PROTOCOL_DATE_TIME_FORMAT
public static final String PROTOCOL_TIME_FORMAT
@NotNull public static Date parseDateTime(@NotNull String parameter) throws ParseException
ParseException@NotNull public static Date parseDate(@NotNull String parameter) throws ParseException
ParseException@NotNull public static Date parseTime(@NotNull String parameter) throws ParseException
ParseException@NotNull public static PartialDate parsePartialDate(@NotNull String parameter) throws ParseException
ParseException@NotNull
public static int parseInteger(@NotNull
String parameter)
throws NumberFormatException
NumberFormatException@NotNull
public static float parseFloat(@NotNull
String parameter)
Copyright © 2016. All rights reserved.