wood burning stoves 2.0
The moose likes Beginning Java and the fly likes How would you doJava quarterly calculations? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Reply locked New topic

How would you doJava quarterly calculations?

Sherin Branch

Joined: May 15, 2007
Posts: 2
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.

Jim Yingst

Joined: Jan 30, 2000
Posts: 18671
Okay, you need to stop making new threads about this, and instead please follow up in the original thread. Thank you.

"I'm not back." - Bill Harding, Twister
I agree. Here's the link: http://aspose.com/file-tools
subject: How would you doJava quarterly calculations?
It's not a secret anymore!