I have the error in picture when I insert Lat 45:11:59.33 in Initialize2:
loc.Initialize2("45:11:59.33","7:32:31.06").
The strange thing is that the following (58 instead of 59) works with no problem:
loc.Initialize2("45:11:58.33","7:32:31.06")
if (sec < 0 || sec > 59) {
throw new IllegalArgumentException("coordinate=" +
coordinate);
}
It checks that sec is not larger than 59. It should be sec >= 60.
You can go ahead and submit a bug in their database if you like (maybe it already exists, I haven't checked).
Thank you Erel. This bug is very annoying because this app is a Golf Greenfinder and it will be a little bit difficult to ask the Golf Club to move that green