Find Us On: Facebook Twitter Rss Feed Blog
Need To Register? Sign Up Login

Java Question Time and Date

trendy88
trendy88 


I neeed to create a basic code to do the following. the class is entry level and I would appreciate a brief explanation as to why you do each bit. Write a program that displays the current time and date, calculated from the System.CurrentTimeMillis() method. We cant import any utilities such as calender etc it has to be solely from the above method. Attachments
Tags Clarifications

Answers

Assigment

mariobeka
mariobeka 



You'll find the description inside the DateTime.java file as a comment. Attachments
Assigment1.zip (3 K) Download




Preview
* because that can be effectively expressed with a long value. * In fact many experienced Java programmer * store Date as long value while writing Immutable class * which requires Date, one of the reason for that is Date * being mutable and long

Screenshots
Purchase Answer