@Test public void toDate() { Date date = converter.toDate(LocalDate.now()); assertNotNull(date); }
@AtlasConversionInfo(sourceType = FieldType.DATE, targetType = FieldType.DATE_TIME) public Date toDate(LocalDate value) { return value != null ? new Date(getStartEpochMilli(value)) : null; }
LocalDateConverter implements AtlasConverter<LocalDate> { @AtlasConversionInfo(sourceType = FieldType.DATE, targetType = FieldType.DATE_TIME) public Date toDate(LocalDate value) { return value != null ? new Date(getStartEpochMilli(value)) : null; } }
LocalDateConverter implements AtlasConverter<LocalDate> { @AtlasConversionInfo(sourceType = FieldType.DATE, targetType = FieldType.DATE_TIME) public Date toDate(LocalDate value) { return value != null ? new Date(getStartEpochMilli(value)) : null; }  }
LocalDateConverter implements AtlasConverter<LocalDate> { @AtlasConversionInfo(sourceType = FieldType.DATE, targetType = FieldType.DATE_TIME) public Date toDate(LocalDate value) { return value != null ? new Date(getStartEpochMilli(value)) : null; }  @AtlasConversionInfo(sourceType = FieldType.DATE, targetType = FieldType.DECIMAL) BigDecimal toBigDecimal(LocalDate value); @AtlasConversionInfo(sourceType = FieldType.DATE, targetType = FieldType.BIG_INTEGER) BigInteger toBigInteger(LocalDate value); @AtlasConversionInfo(sourceType = FieldType.DATE, targetType = FieldType.BYTE, concerns = AtlasConversionConcern.RANGE) Byte toByte(LocalDate value); @AtlasConversionInfo(sourceType = FieldType.DATE, targetType = FieldType.DATE_TIME_TZ) Calendar toCalendar(LocalDate value); @AtlasConversionInfo(sourceType = FieldType.DATE, targetType = FieldType.DATE_TIME) Date toDate(LocalDate value); @AtlasConversionInfo(sourceType = FieldType.DATE, targetType = FieldType.DOUBLE) Double toDouble(LocalDate value); @AtlasConversionInfo(sourceType = FieldType.DATE, targetType = FieldType.FLOAT) Float toFloat(LocalDate value); @AtlasConversionInfo(sourceType = FieldType.DATE, targetType = FieldType.DATE_TIME_TZ) GregorianCalendar toGregorianCalendar(LocalDate value); @AtlasConversionInfo(sourceType = FieldType.DATE, targetType = FieldType.INTEGER, concerns = AtlasConversionConcern.RANGE) Integer toInteger(LocalDate value); @AtlasConversionInfo(sourceType = FieldType.DATE, targetType = FieldType.DATE) LocalDate toLocalDate(LocalDate value); @AtlasConversionInfo(sourceType = FieldType.DATE, targetType = FieldType.DATE_TIME) LocalDateTime toLocalDateTime(LocalDate value); @AtlasConversionInfo(sourceType = FieldType.DATE, targetType = FieldType.TIME) LocalTime toLocalTime(LocalDate value); @AtlasConversionInfo(sourceType = FieldType.DATE, targetType = FieldType.LONG) Long toLong(LocalDate value); @AtlasConversionInfo(sourceType = FieldType.DATE, targetType = FieldType.SHORT, concerns = AtlasConversionConcern.RANGE) Short toShort(LocalDate value); @AtlasConversionInfo(sourceType = FieldType.DATE, targetType = FieldType.STRING) String toString(LocalDate value); @AtlasConversionInfo(sourceType = FieldType.DATE, targetType = FieldType.NUMBER) Number toNumber(LocalDate value); @AtlasConversionInfo(sourceType = FieldType.DATE, targetType = FieldType.DATE) java.sql.Date toSqlDate(LocalDate value); @AtlasConversionInfo(sourceType = FieldType.DATE, targetType = FieldType.DATE_TIME) java.sql.Timestamp toSqlTimestamp(LocalDate value); @AtlasConversionInfo(sourceType = FieldType.DATE, targetType = FieldType.DATE_TIME_TZ) ZonedDateTime toZonedDateTime(LocalDate value); }
LocalDateConverter implements AtlasConverter<LocalDate> { @AtlasConversionInfo(sourceType = FieldType.DATE, targetType = FieldType.DATE_TIME) public Date toDate(LocalDate value) { return value != null ? new Date(getStartEpochMilli(value)) : null; }  @AtlasConversionInfo(sourceType = FieldType.DATE, targetType = FieldType.DECIMAL) BigDecimal toBigDecimal(LocalDate value); @AtlasConversionInfo(sourceType = FieldType.DATE, targetType = FieldType.BIG_INTEGER) BigInteger toBigInteger(LocalDate value); @AtlasConversionInfo(sourceType = FieldType.DATE, targetType = FieldType.BYTE, concerns = AtlasConversionConcern.RANGE) Byte toByte(LocalDate value); @AtlasConversionInfo(sourceType = FieldType.DATE, targetType = FieldType.DATE_TIME_TZ) Calendar toCalendar(LocalDate value); @AtlasConversionInfo(sourceType = FieldType.DATE, targetType = FieldType.DATE_TIME) Date toDate(LocalDate value); @AtlasConversionInfo(sourceType = FieldType.DATE, targetType = FieldType.DOUBLE) Double toDouble(LocalDate value); @AtlasConversionInfo(sourceType = FieldType.DATE, targetType = FieldType.FLOAT) Float toFloat(LocalDate value); @AtlasConversionInfo(sourceType = FieldType.DATE, targetType = FieldType.DATE_TIME_TZ) GregorianCalendar toGregorianCalendar(LocalDate value); @AtlasConversionInfo(sourceType = FieldType.DATE, targetType = FieldType.INTEGER, concerns = AtlasConversionConcern.RANGE) Integer toInteger(LocalDate value); @AtlasConversionInfo(sourceType = FieldType.DATE, targetType = FieldType.DATE) LocalDate toLocalDate(LocalDate value); @AtlasConversionInfo(sourceType = FieldType.DATE, targetType = FieldType.DATE_TIME) LocalDateTime toLocalDateTime(LocalDate value); @AtlasConversionInfo(sourceType = FieldType.DATE, targetType = FieldType.TIME) LocalTime toLocalTime(LocalDate value); @AtlasConversionInfo(sourceType = FieldType.DATE, targetType = FieldType.LONG) Long toLong(LocalDate value); @AtlasConversionInfo(sourceType = FieldType.DATE, targetType = FieldType.SHORT, concerns = AtlasConversionConcern.RANGE) Short toShort(LocalDate value); @AtlasConversionInfo(sourceType = FieldType.DATE, targetType = FieldType.STRING) String toString(LocalDate value); @AtlasConversionInfo(sourceType = FieldType.DATE, targetType = FieldType.NUMBER) Number toNumber(LocalDate value); @AtlasConversionInfo(sourceType = FieldType.DATE, targetType = FieldType.DATE) java.sql.Date toSqlDate(LocalDate value); @AtlasConversionInfo(sourceType = FieldType.DATE, targetType = FieldType.DATE_TIME) java.sql.Timestamp toSqlTimestamp(LocalDate value); @AtlasConversionInfo(sourceType = FieldType.DATE, targetType = FieldType.DATE_TIME_TZ) ZonedDateTime toZonedDateTime(LocalDate value);  }