Android Year Get getYear()

Here you can find the source of getYear()

Description

get Year

Declaration

public static int getYear() 

Method Source Code

//package com.java2s;
import java.util.Calendar;

public class Main {
    public static int getYear() {
        return Calendar.getInstance().get(Calendar.YEAR);
    }//w  ww  . j  a v a2 s.c o m
}

Related

  1. getCurrentYear()
  2. getCurrentYear()
  3. getBeforeYear()
  4. isInCurrentYear(long lTime)
  5. getCurrentYear()
  6. getYearByMillis(long millis)