Start as small as you can manage. Isolate this little part of your program into a new class called Quarter - maybe temporarily, maybe forever. Can you make this work? Put it in the main() of a throw-away
test class. Let's give it a month (0-11 like Date) and ask what quarter it's in (0-3)
Show us what you make for that!