org.unitils.jodatime.annotation
Annotation Type FixedDateTime


@Target(value={METHOD,TYPE})
@Retention(value=RUNTIME)
public @interface FixedDateTime

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'.

Since:
1.0.0
Author:
Christophe De Blende, Jeroen Horemans, Thomas De Rycke, Willemijn Wouters

Optional Element Summary
 String datetime
           
 String pattern
           
 

datetime

public abstract String datetime
Returns:
text value of the fixed DateTime.
Default:
""

pattern

public abstract String pattern
Returns:
pattern value used to parse the datetime value. The default pattern is 'dd/MM/yyyy'.
Default:
"dd/MM/yyyy"


Copyright © 2013-2014. All Rights Reserved.