title: Java: getMinutes and getHours
body: <p>How do you get Hours and Minutes since <code>Date.getHours</code> and <code>Date.getMinutes</code> got deprecated? The examples that I found on Google search used the deprecated methods.</p>