Java Date to Minute getMinute(java.util.Date date)

Here you can find the source of getMinute(java.util.Date date)

Description

get Minute

License

Open Source License

Declaration

public static int getMinute(java.util.Date date) 

Method Source Code

//package com.java2s;

public class Main {

    public static int getMinute(java.util.Date date) {
        java.util.Calendar c = java.util.Calendar.getInstance();

        c.setTime(date);//from  ww  w.  j av  a 2  s.c o m

        return c.get(java.util.Calendar.MINUTE);

    }
}

Related

  1. getMinus1Day(Date date)
  2. getMinute(Date d)
  3. getMinute(Date d)
  4. getMinute(Date date)
  5. getMinute(Date date)
  6. getMinuteOfHour(final Date date)
  7. getMinutes(Date d)
  8. getMinutes(Date time)
  9. getMinutes(final Date date)