Design a class named Time in java

后端 未结 1 1138
Happy的楠姐
Happy的楠姐 2021-01-26 05:17

I have been working on this code for 2 days and all I have is this. I think I made some progress and I think I\'m almost done. The only problem I have is in my public Time(long

1条回答
  •  醉话见心
    2021-01-26 05:48

    Your class is very confusing. You seem to want to represent both 24 hour time of day as well as elapsed time.

    Also, you should check your math since 1382832000 milliseconds is 384 hours.

    0 讨论(0)
提交回复
热议问题