Jon -
AHA! Since there is a Timestamp class listed in the Java API, I didn't realize that your Timestamp class was a "personal" one created for this exercise - thanks!
Actually, no you don't - for 2 reasons. One is that when you convert to Roman numerals you are
testing the
integer parameter passed into your getDigitAsString method; you are then defining the
string as "I", "II", etc. So all you have to do is to declare the String variable as something like
or something like that; you then give it a value in your
if statements. The other is that I think that when you concatenate a number with a string by saying something like
i + ":" the Java software is smart enough to convert the integer variable to a string before concatenating. I know I've used this facility in output statements; you might try it here to make sure it works.
This is the code I used; note that I'm lazy too and wasn't interested in thinking hard enough to get everything converted so my default "case" is just there so I will know that the whole thing sort of works ...
Good luck! Let me know if the above doesn't make sense.