aspose file tools*
The moose likes Beginning Java and the fly likes how to make a calendar using Date, Calender and Data Class Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "how to make a calendar using Date, Calender and Data Class" Watch "how to make a calendar using Date, Calender and Data Class" New topic
Author

how to make a calendar using Date, Calender and Data Class

geetu hindu
Greenhorn

Joined: Apr 12, 2006
Posts: 9
Please tell how can i make calender using Date ,Calender and Data class .
The user is suppose to enter the month for which she wants to see the Dates thru command prompt.APPLET DOESN'T COMES IN PICTURE.
Michael Dunn
Ranch Hand

Joined: Jun 09, 2003
Posts: 4632
presumably you want the output lined up with a S M T W T F S header.

if so, create a calendar object, determine the day of the week for the 1st of the
selected month/year. Print the days from the day of the week to the getAbsoluteMaximum() of the number bof days in the month. when you get to a
Saturday (of whatever is the last day of the week) add a new line
 
Consider Paul's rocket mass heater.
 
subject: how to make a calendar using Date, Calender and Data Class