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) |
java.time.LocalDate |
toLocalDate(Date date,
String sourceFormat,
String targetFormat) |
java.time.LocalDateTime |
toLocalDateTime(Date date,
String sourceFormat,
String targetFormat) |
java.time.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) |
java.time.ZonedDateTime |
toZonedDateTime(Date date) |
java.time.ZonedDateTime |
toZonedDateTime(Date date,
String sourceFormat,
String targetFormat) |
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 java.time.LocalDate toLocalDate(Date date, String sourceFormat, String targetFormat)
public java.time.LocalDateTime toLocalDateTime(Date date, String sourceFormat, String targetFormat)
public java.time.LocalTime toLocalTime(Date date, String sourceFormat, String targetFormat)
public Short toShort(Date value) throws io.atlasmap.api.AtlasConversionException
io.atlasmap.api.AtlasConversionException
public java.time.ZonedDateTime toZonedDateTime(Date date, String sourceFormat, String targetFormat)
public java.time.ZonedDateTime toZonedDateTime(Date date)
Copyright © 2018 JBoss by Red Hat. All rights reserved.