Android Date Current Get getCurrentDate()

Here you can find the source of getCurrentDate()

Description

Get the current Date .

Declaration

@NotNull
public static Date getCurrentDate() 

Method Source Code

import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;

public class Main{
    /**/*  ww w.  j  av  a2  s .  c om*/
     * Get the current {@link Date}.
     */
    @NotNull
    public static Date getCurrentDate() {
        return Calendar.getInstance().getTime();
    }
}

Related

  1. getCurrentDate()
  2. getCurrentDate()
  3. getCurrentDateStamp()
  4. getCurrentDate()
  5. getCurrentDateline()
  6. getCurrentDate()
  7. getCurrentDate()