Android Calendar to Long Convert CalendarTolong(Calendar c)

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

Description

Calendar Tolong

Declaration

public static Long CalendarTolong(Calendar c) 

Method Source Code

//package com.java2s;

import java.util.Calendar;

public class Main {
    public static Long CalendarTolong(Calendar c) {
        if (c != null)
            return c.getTimeInMillis();
        return null;
    }//w  w  w  .  j  ava  2  s. c om
}