Search code examples
javajautodoc

Include current date into generated JavaDoc


I am using jAutodoc to generate JavaDocs automatically. Here is an example:

/**
## type: class|interface|enum
 * The ${e.getType().fu()} ${e}.
 * 
 * 
 * @author Edson 
 * @version 1.0.0
 * @date    11/09/2015
 * 
 */

My question is, how can I include the current date into the generated JavaDoc comment?

I tried:

 * @date    new java.util.Date();

However, it has no effect.

Thanks in advance!


Solution

  • You must use:

    ${date} -> for the date
    ${time} -> for the time
    

    Regards, Alain