Java Year Get getCurrYearFirst()

Here you can find the source of getCurrYearFirst()

Description

get Curr Year First

License

Open Source License

Declaration

public static int getCurrYearFirst() 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

import java.text.SimpleDateFormat;

import java.util.Calendar;

public class Main {

    public static int getCurrYearFirst() {
        SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd");
        Calendar ca = Calendar.getInstance();
        int FirstYear = ca.get(Calendar.YEAR);
        return FirstYear;
    }/*w ww .j a v a2 s.  co m*/
}

Related

  1. getBeforeYear()
  2. getBeginningOfYear()
  3. getCalendarYearString(Calendar date)
  4. getCurrentYear()
  5. getCurrentYearAsInt()
  6. getDateOneYearFromNow()
  7. getDaysFromYearZero(Calendar date)
  8. getFewYearsTime(String date, int year)
  9. getHalfYearEndDate(Date date)