gpt4 book ai didi

java - javadoc中 "since"注解的日期格式是什么?

转载 作者:塔克拉玛干 更新时间:2023-11-03 04:45:50 25 4
gpt4 key购买 nike

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

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

最佳答案

The @since tag should be used to define which version you added the method, class, etc. This is your hint to other developers that they should only expect the method when they run against a particular version of the package. I would consider these uber-important parts of the documentation if you're shipping your code as a library intended for someone else to use.

/**
* @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)
*/

更多信息请访问:

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

javadoc: @version and @since

关于java - javadoc中 "since"注解的日期格式是什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17991337/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com