Java Minute Get getMinute()

Here you can find the source of getMinute()

Description

get Minute

License

Open Source License

Declaration

public static String getMinute() 

Method Source Code


//package com.java2s;
import java.util.*;

public class Main {
    public static String getMinute() {
        Calendar calendar = Calendar.getInstance();
        String mi = "0" + calendar.get(Calendar.MINUTE);
        mi = mi.substring(mi.length() - 2, mi.length());
        return mi;
    }/*from w w w . jav a2  s .c o  m*/
}

Related

  1. getMinDateString(Date date)
  2. getMineType(String urlFile)
  3. getMininte(Date time)
  4. getMiniTime()
  5. getMinute()
  6. getMinute()
  7. getMinute(Date date)
  8. getMinute(Date date)
  9. getMinute(Date date)