Java Year Format isYear(int y)

Here you can find the source of isYear(int y)

Description

is Year

License

Open Source License

Declaration

private static boolean isYear(int y) 

Method Source Code

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

public class Main {
    private static boolean isYear(int y) {
        return y >= 100 && y <= 5000;
    }/*  www  .ja v a 2  s.c  om*/
}

Related

  1. getYYYYMMDDHHMMSS()
  2. getYYYYMMDDHHMMSS(Date date)
  3. getYyyyMMddWithoutDate()
  4. isPartialYear(String s, String yearFormat)
  5. isValidDateMMddyyyy(String theString)
  6. isYear(String str, boolean nullCheck)
  7. isYearOnly(String input)
  8. isYYYY(String strDate)
  9. lastDayOfWeek(String year, int week, String format)