Java Calendar from Date DateToCalendar(java.util.Date date)

Here you can find the source of DateToCalendar(java.util.Date date)

Description

Date To Calendar

License

Apache License

Declaration

public static java.util.Calendar DateToCalendar(java.util.Date date) 

Method Source Code

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

import java.util.Calendar;

public class Main {

    public static java.util.Calendar DateToCalendar(java.util.Date date) {
        Calendar cal = Calendar.getInstance();
        cal.setTime(date);/*from  www .  j a  va2 s  . c om*/
        return cal;
    }
}

Related

  1. dateToCalendar(Date date)
  2. dateToCalendar(Date date)
  3. dateToCalendar(Date date)
  4. dateToCalendar(int year, int month, int day)
  5. dateToCalendar(java.util.Date date)
  6. dateToCalendar(String date)
  7. getCalendar(Date date)
  8. getCalendar(Date date)
  9. getCalendar(Date date)