View Javadoc

1   /*
2    * Copyright 2005 by Mark Vollmann Hamburg, Germany. All rights reserved.
3    * 
4    * mail to mark.vollmann@web.de
5    * 
6    * Created on 05.07.2005
7    */
8   package de.keepondreaming.xml.annotations;
9   
10  import java.lang.annotation.Documented;
11  import java.lang.annotation.Retention;
12  import java.lang.annotation.RetentionPolicy;
13  import java.lang.annotation.ElementType;
14  import java.lang.annotation.Target;
15  
16  /***
17   * Retrieves the format pattern in which attributes
18   * of type {@link java.util.Date} or its subclasses
19   * are formated
20   * 
21   * $Author: wintermond $
22   * $Date: 2005/07/10 18:34:30 $
23   * $Log: DateFormat.java,v $
24   * Revision 1.1  2005/07/10 18:34:30  wintermond
25   * javadoc
26   *
27   */
28  @Documented
29  @Target(value={ElementType.METHOD})
30  @Retention(RetentionPolicy.RUNTIME)
31  public @interface DateFormat
32  {
33      public String formatString();
34  }