Java Today today()

Here you can find the source of today()

Description

today

License

Open Source License

Declaration

public static Calendar today() 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

import java.util.Calendar;

public class Main {
    public static Calendar today() {
        return Calendar.getInstance();
    }/*  w w  w .  ja  va2s  . c o  m*/

    public static Calendar today(int hour, int minute, int second) {
        Calendar result = today();
        result.set(Calendar.HOUR_OF_DAY, hour);
        result.set(Calendar.MINUTE, minute);
        result.set(Calendar.SECOND, second);
        return result;
    }
}

Related

  1. today()
  2. today()
  3. toDay()
  4. today()
  5. today()
  6. today()
  7. Today()
  8. today()
  9. today()