Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想格式化一个 J2ME Date 对象只显示日期部分,而不是日期和时间。最简单的方法是什么?可能需要包含一个外部库来执行此操作。
java.util.Calendar具有格式化日期输出所需的所有方法。
java.util.Calendar