?
Solved

Java code to find 3rd Sunday and last Sunday of the month

Posted on 2013-01-28
6
Medium Priority
?
716 Views
Last Modified: 2013-02-09
Dear Experts,

I am looking for java code to fetch the date for every third Sunday date and last Sunday date in a month for a particular calendar year, can you please help me here.
0
Comment
Question by:Gangadhara Melukote
  • 3
  • 3
6 Comments
 
LVL 86

Expert Comment

by:CEHJ
ID: 38828644
This a classwork question?
0
 

Author Comment

by:Gangadhara Melukote
ID: 38828657
Yes, it is class work question.
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 38828762
You need to start work on it on your own. Look at java.util.Calendar
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Accepted Solution

by:
Gangadhara Melukote earned 0 total points
ID: 38851509
Thanks for the reply. I did the job with Java Calendar.
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 38851831
Might be nice if you could post your code for future visitors
0
 

Author Closing Comment

by:Gangadhara Melukote
ID: 38870801
I tried myself and get the job done!
0

Featured Post

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
Suggested Courses
Course of the Month15 days, 4 hours left to enroll

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question