Java Hour getHour()

Here you can find the source of getHour()

Description

get Hour

License

Apache License

Declaration

public static int getHour() 

Method Source Code

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

import java.util.Calendar;

public class Main {
    private static Calendar CALENDAR = Calendar.getInstance();

    public static int getHour() {
        return CALENDAR.get(11);
    }/*  w  ww.  ja  v a2 s  . c om*/
}

Related

  1. getDelay(int hour, int min)
  2. getDelayToNextHour(int amount, boolean skipNext)
  3. getGMTHour(int localHour)
  4. getHexString(byte[] raw)
  5. getHour()
  6. getHour()
  7. getHour()
  8. getHour()
  9. getHour()