How to include current date in a generated JavaDoc?

2

I'm using jAutodoc to automatically generate JavaDocs, here's 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 do I include the current date in the generated JavaDoc?

I've tried:

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

However, this had no effect whatsoever.

Thank you in advance!

    
asked by anonymous 14.09.2015 / 21:33

1 answer

4

You can configure this template / template in Eclipse preferences.

  • Go to Windows / Preferences.
  • In the Editor - > Templates, add a new one and in the "Model / Pattern" section you inform ${date}${time} .
  • Search Font

        
    15.09.2015 / 16:03