Re: Calendar Again
- From: "Bjorn Abelli" <bjorn_abelli@xxxxxxxxxxxxxxxxxxxxx>
- Date: 30 Apr 2006 18:27:26 +0200
"domba" wrote...
I have a problem in programming JAVA...
Input :
Month :
Year :
The output must be the day name of the first date
Example :
Month : 1
Year : 2007
"The Day is Monday"
Please help me to solve the problem...
Everything you need to solve that is in the Calendar class:
http://java.sun.com/j2se/1.5.0/docs/api/java/util/Calendar.html#set(int,%20int,%20int)
http://java.sun.com/j2se/1.5.0/docs/api/java/util/Calendar.html#get(int)
http://java.sun.com/j2se/1.5.0/docs/api/java/util/Calendar.html#DAY_OF_WEEK
// Bjorn A
Inviato da X-Privat.Org - Registrazione gratuita http://www.x-privat.org/join.php
.
- References:
- Calendar Again
- From: domba
- Calendar Again
- Prev by Date: Re: Certified Java Nutter
- Next by Date: Properties.txt missing
- Previous by thread: Re: Calendar Again
- Next by thread: Microsoft Java Console gone from Internet Explorer 7
- Index(es):
Relevant Pages
|