我需要在给定年份的每一天中每隔一小时在命令行上打印/打印,例如2011年,但我很难用Java编写代码.
有没有人编码过这个问题?
java calendar date hour
calendar ×1
date ×1
hour ×1
java ×1