Java Calendar Day setToStartTimeOfTheDay(Calendar c)

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

Description

set To Start Time Of The Day

License

Open Source License

Declaration

public static void setToStartTimeOfTheDay(Calendar c) 

Method Source Code


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

public class Main {
    public static void setToStartTimeOfTheDay(Calendar c) {
        c.set(Calendar.HOUR_OF_DAY, 0);
        c.set(Calendar.MINUTE, 0);
        c.set(Calendar.SECOND, 0);
        c.set(Calendar.MILLISECOND, 0);
    }//www . j ava2 s  .  co m
}

Related

  1. setEndDay(Calendar cal)
  2. setStartOfDay(final Calendar calendar)
  3. setStartTimeOfDay(Calendar calender)
  4. setToBeginningOfDay(Calendar cal)
  5. setToStartOfDay(Calendar start)
  6. startOfDay(Calendar calendar)
  7. toCountWorkDays(GregorianCalendar start, GregorianCalendar end)
  8. todayCalendar()
  9. toEndOfDayCalendar(Date date)