Bookmark Topic Watch Topic
  • New Topic

How would you doJava quarterly calculations?  RSS feed

 
Sherin Branch
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Report post to moderator
posted Today 4:21 PM
--------------------------------------------------------------------------------
How do you compute quartely totals in Java.

Quarters(1Oct - 31 Dec. ;1 Jan - 31Mar; 1 Apr - 30 Jun.)

For example: compute the days idle in the first quarter(1Oct - 31Dec.)

The user will only enter month and year. I will check to see what quarter the entered month and year falls into. If the month and year falls in the first quarter(1 Oct-31 Dec.) pull all the idle days values out of the database for that quarter.

Thanks.
 
Jim Yingst
Wanderer
Sheriff
Posts: 18671
  • Mark post as helpful
  • send pies
  • Report post to moderator
Okay, you need to stop making new threads about this, and instead please follow up in the original thread. Thank you.
 
It is sorta covered in the JavaRanch Style Guide.
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!