Timer.scheduleAtFixedRate() is scheduling itself to run on the wrong day

Welcome to the Java Programming Forums

The professional, friendly Java community. 21,500 members and growing!

The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.

Re: Timer.scheduleAtFixedRate() is scheduling itself to run on the wrong day

I'm expecting it to start on the date returned by calcPatchNotesStartDate(), since that is the date I am passing in to the scheduleAtFixedRate method.

The source code for calcPatchNotesStartDate() is in the pastebin link at the bottom of the opening post called "Source code for calcPatchNotesStartDate()". I didn't want to clutter the post with a longer bit of code.

Re: Timer.scheduleAtFixedRate() is scheduling itself to run on the wrong day

I'm expecting it to start on the date returned by calcPatchNotesStartDate(), since that is the date I am passing in to the scheduleAtFixedRate method.

The source code for calcPatchNotesStartDate() is in the pastebin link at the bottom of the opening post called "Source code for calcPatchNotesStartDate()". I didn't want to clutter the post with a longer bit of code.