javadoc中"since"注释的日期格式是什么?

Don*_*Don 6 java javadoc

我试过谷歌搜索,但没有找到这个问题的完整答案:

我可以在javadoc中设置@since注释的日期格式吗?或者我如何查看设置的格式?

Ank*_*thi 9

@Since标签应该被用来定义添加的方法,类,等等,这是你的暗示,其他开发人员,他们只期望该方法时,这将违背包的特定版本的版本.如果您将代码作为供其他人使用的库运送,我会考虑文档中这些非常重要的部分.

/**
 * @author    Firstname Lastname <address @ example.com>
 * @version   1.6        (current version number of program)
 * @since     1.5        (the version of the package this class was first added to)
 */
Run Code Online (Sandbox Code Playgroud)

欲了解更多信息,请访

http://en.wikipedia.org/wiki/Javadoc

javadoc:@version和@since