Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.unitils.jodatime.annotation;
 
 import static java.lang.annotation.RetentionPolicy.RUNTIME;
 
Sets the DateTime to a fixed value. Basicly the DateTime in millis will be constant. The default fixed datetime is the current datetime. The default pattern is 'dd/MM/yyyy'.

Author(s):
Christophe De Blende
Jeroen Horemans
Thomas De Rycke
Willemijn Wouters
Since:
1.0.0
})
public @interface FixedDateTime {

    

Returns:
text value of the fixed DateTime.
    String datetime() default "";

    

Returns:
pattern value used to parse the datetime value. The default pattern is 'dd/MM/yyyy'.
    String pattern() default "dd/MM/yyyy";
New to GrepCode? Check out our FAQ X