Here you can find the source of getMinutes(Date date)
public static int getMinutes(Date date)
//package com.java2s; //License from project: Apache License import java.util.*; public class Main { public static int getMinutes(Date date) { GregorianCalendar calendar = (GregorianCalendar) GregorianCalendar.getInstance(); long time = date.getTime(); calendar.setTimeInMillis(time);/* w w w. j a va 2 s . c o m*/ return calendar.get(calendar.MINUTE); } }