This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Originally posted by Phillip Browne: ...I've figured out most of the code...
Welcome to JavaRanch!
Have you compiled this code yet? Don't wait until it's "done" to compile. You should recompile each time you add something, so you don't end up with errors that build on each other.
Also, if "Time" is java.sql.Time, you should check the API. Most of the methods are deprecated. The non-deprecated methods are inherited from java.util.Date, so you might want to consider using Date instead. Better yet, use java.util.Calendar. [ March 08, 2008: Message edited by: marc weber ]
"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer sscce.org
Agree with Marc Weber. Also your method which has a return null in looks very peculiar; I think it might not work correctly. Beware of returning null anywhere; it can produce unexpected exceptions or errors later.