Java Calendar Time clearTime(Calendar c)

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

Description

clear Time

License

Open Source License

Declaration

protected static void clearTime(Calendar c) 

Method Source Code

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

import java.util.Calendar;

public class Main {
    protected static void clearTime(Calendar c) {
        c.set(Calendar.HOUR_OF_DAY, 10);
        c.set(Calendar.MINUTE, 0);
        c.set(Calendar.SECOND, 0);
        c.set(Calendar.MILLISECOND, 0);
    }//from   w  ww. j a  v a 2s .co m
}

Related

  1. calendarFromString(String dateString, String timeString)
  2. calendarToGPSTime(Calendar calendar)
  3. ceilTime(Calendar calendar)
  4. clearCalendarTime(Calendar cal)
  5. clearCalendarTimeParts(Calendar cal)
  6. clearTime(Calendar cal)
  7. clearTime(Calendar cal)
  8. clearTime(Calendar calendar)
  9. clearTime(final Calendar c)