Java Calendar Day calToBeginningOfDay(Calendar c)

Here you can find the source of calToBeginningOfDay(Calendar c)

Description

cal To Beginning Of Day

License

Open Source License

Declaration

public static synchronized void calToBeginningOfDay(Calendar c) 

Method Source Code

//package com.java2s;

import java.util.Calendar;

public class Main {
    public static synchronized void calToBeginningOfDay(Calendar c) {
        c.set(Calendar.HOUR_OF_DAY, 0);
        c.set(Calendar.MINUTE, 0);
        c.set(Calendar.SECOND, 0);
        c.set(Calendar.MILLISECOND, 000);
    }/*  w  w  w. j a  v  a  2s  .  com*/
}

Related

  1. absoluteDay(Calendar cal)
  2. absoluteDay(Calendar cal, boolean use1904windowing)
  3. afterCurrentDay(Calendar time)
  4. calendarAtStartOfToday()
  5. calendarDayToOrdinalDay(int dow)
  6. ceilAllLessThanDay(Calendar cal)
  7. convertEndOfDay(Calendar cal)
  8. copyCalendarDay(final Calendar src, final Calendar dest)
  9. createBeginningOfDay(Calendar calendar)