Java noob here. Is there a way to show the date in Calendar class aside from .getTime() method? I want something as close as possible to dd/mm/yyyy. I could make a method that would split the string returned by getTime method and choose the certain items there to form the date format I want, brute forcing my way into it. I am wondering if there's an easier way or a built-in method for this.
I am solving a problem that involves dates. I just noticed that doing a while loop, with "per day" increment using .add(Calendar.DAY_OF_MONTH, 1)
could be a way to check each day for a given condition. The next problem was to return the date that hit the condition. That's what got me to java.util.Calendar
anyway.