Java Today todayMinute()

Here you can find the source of todayMinute()

Description

today Minute

License

Apache License

Declaration

public static int todayMinute() 

Method Source Code

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

import java.util.Calendar;

public class Main {
    public static int todayMinute() {
        Calendar c = Calendar.getInstance();
        int hh = c.get(Calendar.HOUR_OF_DAY);
        int mm = c.get(Calendar.MINUTE);
        return hh * 60 + mm;
    }/* w  w w  . j  av  a2s . c  om*/
}

Related

  1. today(String strFormat)
  2. todayAsSimpleIsoDate(Date date)
  3. todayAsXSDDateString()
  4. todayAtDayEnd()
  5. todayDate()
  6. todayPlusDays(int days)
  7. toDaysBeforeOrAfter(Date date, Integer days)
  8. todaysDate(int style)
  9. todaySortedTimestamp()