package org.minimalj.model.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
public @interface Size {

	int value();
	
	public static final int TIME_HH_MM = 4;
	public static final int TIME_WITH_SECONDS = 6;
	public static final int TIME_WITH_MILLIS = 9;
		
}

@@ -318,96 +318,354 @@
 %09%0D%0A%09
-public static final int TIME_HH_MM = 4;%0D%0A%09public static final int TIME_WITH_SECONDS = 6;
+/**%0D%0A%09 * Constant to annotate the precision of LocalDate fields to minutes%0D%0A%09 */%0D%0A%09public static final int TIME_HH_MM = 4;%0D%0A%0D%0A%09/**%0D%0A%09 * Constant to annotate the precision of LocalDate fields to seconds%0D%0A%09 */%0D%0A%09public static final int TIME_WITH_SECONDS = 6;%0D%0A%0D%0A%09/**%0D%0A%09 * Constant to annotate the precision of LocalDate fields to milliseconds%0D%0A%09 */
 %0D%0A%09p

comment fields