Java Calendar Day setToStartOfDay(Calendar start)

Here you can find the source of setToStartOfDay(Calendar start)

Description

set To Start Of Day

License

Open Source License

Declaration

public static void setToStartOfDay(Calendar start) 

Method Source Code

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

import java.util.Calendar;

import java.util.GregorianCalendar;

public class Main {
    public static void setToStartOfDay(Calendar start) {
        start.set(GregorianCalendar.HOUR_OF_DAY, 0);
        start.set(GregorianCalendar.MINUTE, 0);
    }/*w  ww  .j  a  v  a2s.  c o m*/
}

Related

  1. setDayToCalendar(int days, Calendar calendar)
  2. setEndDay(Calendar cal)
  3. setStartOfDay(final Calendar calendar)
  4. setStartTimeOfDay(Calendar calender)
  5. setToBeginningOfDay(Calendar cal)
  6. setToStartTimeOfTheDay(Calendar c)
  7. startOfDay(Calendar calendar)
  8. toCountWorkDays(GregorianCalendar start, GregorianCalendar end)
  9. todayCalendar()