class DateFieldActions implements AtlasFieldAction {

    @AtlasActionProcessor(sourceType = FieldType.ANY_DATE)
    public static Integer dayOfYear(DayOfYear action, ZonedDateTime input) {
        return input == null ? null : input.getDayOfYear();
    }

}