Android Calendar to Date Convert Calendar2Date(Calendar c)

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

Description

Calendar Date

Declaration

public static Date Calendar2Date(Calendar c) 

Method Source Code

//package com.java2s;

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

public class Main {
    public static Date Calendar2Date(Calendar c) {
        return c.getTime();
    }//from w  w w  . ja va  2s.c  om
}

Related

  1. getDate(Context context, Calendar calendar)
  2. getDate(Calendar calendar)