Java Calendar Day setStartTimeOfDay(Calendar calender)

Here you can find the source of setStartTimeOfDay(Calendar calender)

Description

set Start Time Of Day

License

Apache License

Declaration

private static void setStartTimeOfDay(Calendar calender) 

Method Source Code

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

import java.util.Calendar;

public class Main {

    private static void setStartTimeOfDay(Calendar calender) {
        calender.set(Calendar.HOUR_OF_DAY, calender.getActualMinimum(Calendar.HOUR_OF_DAY));
        calender.set(Calendar.MINUTE, calender.getActualMinimum(Calendar.MINUTE));
        calender.set(Calendar.SECOND, calender.getActualMinimum(Calendar.SECOND));
        calender.set(Calendar.MILLISECOND, calender.getActualMinimum(Calendar.MILLISECOND));
    }/*  w w  w . jav  a 2 s.c o m*/
}

Related

  1. sameDay(Calendar c1, Calendar c2)
  2. sameDay(Calendar one, Calendar two)
  3. setDayToCalendar(int days, Calendar calendar)
  4. setEndDay(Calendar cal)
  5. setStartOfDay(final Calendar calendar)
  6. setToBeginningOfDay(Calendar cal)
  7. setToStartOfDay(Calendar start)
  8. setToStartTimeOfTheDay(Calendar c)
  9. startOfDay(Calendar calendar)