@Test public void toZonedDateTime() { ZonedDateTime date = converter.toZonedDateTime(Calendar.getInstance()); assertNotNull(date); }
@AtlasConversionInfo(sourceType = FieldType.DATE_TIME_TZ, targetType = FieldType.DATE_TIME_TZ) public ZonedDateTime toZonedDateTime(Calendar calendar) { return calendar == null ? null : DateTimeHelper.toZonedDateTime(calendar); }
CalendarConverter implements AtlasConverter<Calendar> { @AtlasConversionInfo(sourceType = FieldType.DATE_TIME_TZ, targetType = FieldType.DATE_TIME_TZ) public ZonedDateTime toZonedDateTime(Calendar calendar) { return calendar == null ? null : DateTimeHelper.toZonedDateTime(calendar); } }
CalendarConverter implements AtlasConverter<Calendar> { @AtlasConversionInfo(sourceType = FieldType.DATE_TIME_TZ, targetType = FieldType.DATE_TIME_TZ) public ZonedDateTime toZonedDateTime(Calendar calendar) { return calendar == null ? null : DateTimeHelper.toZonedDateTime(calendar); }  }
CalendarConverter implements AtlasConverter<Calendar> { @AtlasConversionInfo(sourceType = FieldType.DATE_TIME_TZ, targetType = FieldType.DATE_TIME_TZ) public ZonedDateTime toZonedDateTime(Calendar calendar) { return calendar == null ? null : DateTimeHelper.toZonedDateTime(calendar); }  @AtlasConversionInfo(sourceType = FieldType.DATE_TIME_TZ, targetType = FieldType.DATE_TIME) Date toDate(Calendar calendar); @AtlasConversionInfo(sourceType = FieldType.DATE_TIME_TZ, targetType = FieldType.DATE_TIME_TZ) ZonedDateTime toZonedDateTime(Calendar calendar); }
CalendarConverter implements AtlasConverter<Calendar> { @AtlasConversionInfo(sourceType = FieldType.DATE_TIME_TZ, targetType = FieldType.DATE_TIME_TZ) public ZonedDateTime toZonedDateTime(Calendar calendar) { return calendar == null ? null : DateTimeHelper.toZonedDateTime(calendar); }  @AtlasConversionInfo(sourceType = FieldType.DATE_TIME_TZ, targetType = FieldType.DATE_TIME) Date toDate(Calendar calendar); @AtlasConversionInfo(sourceType = FieldType.DATE_TIME_TZ, targetType = FieldType.DATE_TIME_TZ) ZonedDateTime toZonedDateTime(Calendar calendar);  }