java - How to insert creation date in JavaDoc -
what best way insert date of creation of class in javadoc? examples:
below author tag string "created on"
/** * class description * * @author author name * created on 2015/04/01 */ public class classname() { ... }
below author tag string "date:"
/** * class description * * @author author name * date: 2015/04/01 */ public class classname() { ... }
with non-existent @date tag
/** * class description * * @author author name * @date 2015/04/01 */ public class classname() { ... }
other...
and eventually, best date format?
april 1, 2015 2015/04/01 ...
most ide's have mechanism define templates use when creating new classes. current date can inserted part of template.
for example, here documentation eclipse , this page shows variables can used in templates.
Comments
Post a Comment