开发者

Package name for CurrentDate class

开发者 https://www.devze.com 2022-12-14 04:44 出处:网络
I\'m about to write a class called CurrentDate and need a solid package name. The obvious answers are com.destroytoday.date or com.destroytoday.time, but I\'m not sure if I\'ll have more date-related

I'm about to write a class called CurrentDate and need a solid package name. The obvious answers are com.destroytoday.date or com.destroytoday.time, but I'm not sure if I'll have more date-related classes in the future to justify an entire package. Are there any names I can use that would allow non-date-related classes in the future?

To be more specific about the class, it consists of static functions like toString() that auto-update a Date instance and return开发者_StackOverflow中文版 the current info.


easy: destroy.time


The first namespaces I can think of, without to know the purpose of such classes are com.destroytoday.utility, com.dewstroytoday.utilities, com.destroytoday.support, com.destroytoday.helpers.


What about com.destroytoday.generic?

0

精彩评论

暂无评论...
验证码 换一张
取 消