Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: I'm having trouble with date and calendar class

  1. #1
    Junior Member
    Join Date
    Apr 2010
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default I'm having trouble with date and calendar class

    At the moment I'm trying to create a class consisting of only 5 days of the week. Monday through to Friday. No dates, no months, no times, just Monday through to Friday. I want to be able to store objects and values for each day of the week (eg. so monday will have its own objects, tuesday will have its own objects and so on, so forth). I also want to be able to increment through the days of the week.

    I've read through all the documentation regarding the date and calendar classes, but none of them have helped. Please help me!


  2. #2
    Senile Half-Wit Freaky Chris's Avatar
    Join Date
    Mar 2009
    Posts
    834
    My Mood
    Cynical
    Thanks
    7
    Thanked 105 Times in 90 Posts

    Default Re: I'm having trouble with date and calendar class

    Well do you need to use the date & calendar class or are you just wanting to create your own class?

    Chris

Similar Threads

  1. Calendar help
    By moonieass13 in forum What's Wrong With My Code?
    Replies: 0
    Last Post: October 31st, 2009, 12:43 AM
  2. Having trouble printing object information in main class
    By KingLane in forum Object Oriented Programming
    Replies: 1
    Last Post: October 11th, 2009, 06:53 PM
  3. calendar
    By subhvi in forum AWT / Java Swing
    Replies: 2
    Last Post: September 29th, 2009, 11:02 PM
  4. Replies: 3
    Last Post: May 8th, 2009, 01:27 PM
  5. Replies: 1
    Last Post: February 28th, 2009, 10:05 PM