Java Date to Day getDaysMin(Date d)

Here you can find the source of getDaysMin(Date d)

Description

get Days Min

License

Apache License

Declaration

public static long getDaysMin(Date d) 

Method Source Code

//package com.java2s;
//License from project: Apache License 

import java.util.Calendar;
import java.util.Date;
import java.util.GregorianCalendar;

public class Main {

    public static long getDaysMin(Date d) {
        Calendar c1 = new GregorianCalendar();
        c1.setTime(d);//from  w w  w . j  av a2 s  . co  m
        long m = c1.get(Calendar.MINUTE);
        return m;
    }
}

Related

  1. getDayOfThisYear(Date currentdate)
  2. getDayOfYear(Date date)
  3. getDays(Date t, Date baseDate)
  4. getDaysEarlierDate(int days)
  5. getDayShort(Date date)
  6. getDaysPassedSince(Date dateLastModified)
  7. getDayStart(Date date)
  8. getDayStart(final Date date)
  9. getDaysToLong(Date date1, Date date2)