-+

Java Student Project         

Written by JUSTIN SERMENO

Coded by Darryl Nixon


Prices
Ability Level: Beginning 
Estimated Time:30 minutes
Objectives: · Learn how to declare and initialize an Array object

· To learn how to use prewritten classes and methods that you import

· Understand how to use the Date Class

· Learn about Modulus

Materials & Resources:
  • Java Software
  • Textbook
Overview:

The Date Class is a class that is imported with importa java.util.*; it can be used to tell the time from the current moment until the date that u specify. In the date class months are counted as 0 to 11.  

Instructions: For practice you are to write a program which will tell us the time from now, until summer break starts, which is June 13 average. 
Hints: Some important points to keep in mind in doing this project:

1) The Declaration of the date class is declared by "Date startTime = new Date

Date classstart = new Date(103,7,25)
This would make the starting date August 25,2003
the 7 is august, and the 25 the day, the 103 adds to 1900 to make the year

that is because the base date is 1900

To print out the date you would type System.out.println(Classstart.getTime());

 

Extra: