Java Calendar to Date calendarToDate(Calendar cal)

Here you can find the source of calendarToDate(Calendar cal)

Description

calendar To Date

License

Apache License

Declaration

public static Date calendarToDate(Calendar cal) 

Method Source Code

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

import java.util.Calendar;
import java.util.Date;

public class Main {

    public static Date calendarToDate(Calendar cal) {
        return cal.getTime();

    }/*from  ww w . j  a  v a  2  s.  co  m*/
}

Related

  1. calendarToDate(Calendar c)
  2. calendarToDateId(Calendar cal)
  3. getDate(Calendar cal)
  4. toDate(Calendar cal)
  5. toDate(Calendar calendar)