It seems like I can't have a default value for enum field, or is it something else making the program not compile?
package com.codegym.task.task38.task3810;
import java.lang.annotation.ElementType;
import java.lang.annotation.Target;
@Target(ElementType.FIELD)
public @interface Date {
int year() default 0;
int month() default 0;
int day() default 0;
int hour() default 0;
int minute() default 0;
int second() default 0;
}