Constructor and Description |
---|
DateConverter() |
Modifier and Type | Method and Description |
---|---|
BigDecimal |
toBigDecimal(Date date) |
BigInteger |
toBigInteger(Date date) |
Byte |
toByte(Date value) |
Calendar |
toCalendar(Date date) |
Double |
toDouble(Date value) |
Float |
toFloat(Date value) |
GregorianCalendar |
toGregorianCalendar(Date date,
String sourceFormat,
String targetFormat) |
Integer |
toInteger(Date value) |
LocalDate |
toLocalDate(Date date,
String sourceFormat,
String targetFormat) |
LocalDateTime |
toLocalDateTime(Date date,
String sourceFormat,
String targetFormat) |
LocalTime |
toLocalTime(Date date,
String sourceFormat,
String targetFormat) |
Long |
toLong(Date date) |
Number |
toNumber(Date date) |
Short |
toShort(Date value) |
Date |
toSqlDate(Date date,
String sourceFormat,
String targetFormat) |
Time |
toSqlTime(Date date,
String sourceFormat,
String targetFormat) |
Timestamp |
toSqlTimestamp(Date date) |
String |
toString(Date date) |
ZonedDateTime |
toZonedDateTime(Date date) |
public BigDecimal toBigDecimal(Date date)
public BigInteger toBigInteger(Date date)
public Byte toByte(Date value) throws io.atlasmap.api.AtlasConversionException
io.atlasmap.api.AtlasConversionException
public Integer toInteger(Date value) throws io.atlasmap.api.AtlasConversionException
io.atlasmap.api.AtlasConversionException
public GregorianCalendar toGregorianCalendar(Date date, String sourceFormat, String targetFormat)
public LocalDateTime toLocalDateTime(Date date, String sourceFormat, String targetFormat)
public Short toShort(Date value) throws io.atlasmap.api.AtlasConversionException
io.atlasmap.api.AtlasConversionException
public ZonedDateTime toZonedDateTime(Date date)
Copyright © 2019 JBoss by Red Hat. All rights reserved.