This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of The Journey To Enterprise Agility and have Daryl Kulak & Hong Li on-line!
See this thread for details.
Win a copy of The Journey To Enterprise Agility this week in the Agile and Other Processes forum! And see the welcome thread for 20% off.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
Bartenders:
  • Carey Brown
  • Tim Holloway
  • Joe Ess

import java.util.date;  RSS feed

 
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello, my English is very bad, I am Brazilian and have just made the register here!

I am having a lot of difficulties, have just begun to program in JAVA
Good, I have been having problems with the class java.util.date
Do you have some examples or study aids of as it uses that class to order for e-mail?
Thank you
I await answer, it excuses him/it inconvenience
 
author
Ranch Hand
Posts: 3892
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ronildo -- what problems are you having? Can you tell us what you want to do, and what errors you've been encountering?
Kyle
 
Sheriff
Posts: 5782
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving this discussion to Java in General(beginner) forum ..
 
mister krabs
Ranch Hand
Posts: 13974
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you mean java.util.Date?
 
Ranch Hand
Posts: 3271
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you can tell us what kind of problems you're having, we can probably try to help you some more. For example, if you're getting a compiler error, post it - we can probably tell right away what's happening.
Be sure to check out the API for java.util.Date as there's lots of great information about it there.
As Thomas Paul alluded to in the previous post, Java is case-sensitive. There is no such class as java.util.date, but there is a java.util.Date. Make sure that the case is correct.
I hope that helps,
Corey
[ March 27, 2002: Message edited by: Corey McGlone ]
 
Ranch Hand
Posts: 2823
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Some other helpful classes to go along with Date. GregorianCalendar, SimpleDateFormat and Calendar.
 
Sheriff
Posts: 9087
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bem-vindo, Ronildo.

Do you have some examples or study aids of how it uses that class to order for e-mail?

Here is an assignment which requires the use of the java.util.Date class.

I do not understand your question about e-mail.
 
Marilyn de Queiroz
Sheriff
Posts: 9087
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What part of Brazil are you from?
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
it is better not using the date() object, �cause its overrides the api. You better check Calendar() or GregorianCalendar() for date operations. With GregorianCalendar calendar = new GregorianCalendar(int year, int month, int day) you will initialize a new Date based on the Arguments.
 
"The Hood"
Sheriff
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
da funky chicken :roll:
Please change your name to be compliant with JavaRanch's naming policy.
Your displayed name should be 2 separate names with more than 1 letter each. We really want this to be a professional forum and would prefer that you use your REAL name.
Thanks,
Cindy
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!