public class DateUtils extends Object
Modifier and Type | Field and Description |
---|---|
static BigDecimal |
MAX_INT_BD |
static int |
NANOS_PER_SEC |
static BigDecimal |
NANOS_PER_SEC_BD |
Constructor and Description |
---|
DateUtils() |
Modifier and Type | Method and Description |
---|---|
static SimpleDateFormat |
getDateFormat() |
static int |
parseNumericValueWithRange(String fieldName,
String strVal,
int minValue,
int maxValue) |
public static final int NANOS_PER_SEC
public static final BigDecimal MAX_INT_BD
public static final BigDecimal NANOS_PER_SEC_BD
public static SimpleDateFormat getDateFormat()
public static int parseNumericValueWithRange(String fieldName, String strVal, int minValue, int maxValue) throws IllegalArgumentException
IllegalArgumentException
Copyright © 2017 The Apache Software Foundation. All rights reserved.