Skip to content
Courses
DSA to Development
Get IBM Certification
Newly Launched!
Master Django Framework
Become AWS Certified
For Working Professionals
Interview 101: DSA & System Design
Data Science Training Program
JAVA Backend Development (Live)
DevOps Engineering (LIVE)
Data Structures & Algorithms in Python
For Students
Placement Preparation Course
Data Science (Live)
Data Structure & Algorithm-Self Paced (C++/JAVA)
Master Competitive Programming (Live)
Full Stack Development with React & Node JS (Live)
Full Stack Development
Data Science Program
All Courses
Tutorials
Data Structures & Algorithms
ML & Data Science
Interview Corner
Programming Languages
Web Development
CS Subjects
DevOps And Linux
School Learning
Practice
Build your AI Agent
GfG 160
Problem of the Day
Practice Coding Problems
GfG SDE Sheet
Contests
Accenture Hackathon (Ending Soon!)
GfG Weekly [Rated Contest]
Job-A-Thon Hiring Challenge
All Contests and Events
DSA
Practice Problems
Python
C
C++
Java
Courses
Machine Learning
DevOps
Web Development
System Design
Aptitude
Projects
Sign In
▲
Similar Topics
Web Technologies
39.9k+ articles
DSA
22.3k+ articles
Python
20.2k+ articles
Experiences
17k+ articles
Interview Experiences
13.8k+ articles
Java
10.4k+ articles
Java-Functions
4.1k+ articles
Java-time package
570+ articles
java-basics
310+ articles
Java 8
100+ articles
Java-Year
36 posts
Popular Articles
Recent Articles
java.time.Year Class in Java
Last Updated: 22 July 2021
The java.time.Year class represents a year in the ISO-8601 calendar system, such as 2021. Year is an immutable date-time object that represe
...read more
Java
Technical Scripter
Picked
Java-time package
Java-Year
Technical Scripter 2020
Year parse(CharSequence) method in Java with Examples
Last Updated: 30 July 2019
The parse(CharSequence) method of Year class is used to get an instance of Year from a string such as ‘2018’ passed as parameter. The st
...read more
Java
java-basics
Java-Functions
Java-Year
Year plus(TemporalAmount) method in Java with Examples
Last Updated: 25 February 2019
The plus(TemporalAmount) method of Year class is used to return a copy of this year after adding the specified amount of TemporalAmount to t
...read more
Java
Java-Functions
Java 8
Java-Year
Similar Topics
Web Technologies
39.9k+ articles
DSA
22.3k+ articles
Python
20.2k+ articles
Experiences
17k+ articles
Interview Experiences
13.8k+ articles
Java
10.4k+ articles
Java-Functions
4.1k+ articles
Java-time package
570+ articles
java-basics
310+ articles
Java 8
100+ articles
Year range() method in Java with Examples
Last Updated: 28 January 2019
range() method of the Year class is used to get the range of field in terms of the minimum and maximum values and the field is passed as a p
...read more
Java
Java-Functions
Java-time package
Java-Year
Year until() Method in Java with Examples
Last Updated: 22 January 2019
until() method of the Year class used to calculate the amount of time between two Year objects using TemporalUnit. The start and end points
...read more
Java
Java-Functions
Java-time package
Java-Year
Year get() method in Java with Examples
Last Updated: 16 January 2019
get() method of the Year class used to get the value for the specified field passed as parameter from this Year as an integer value. This me
...read more
Java
Java-Functions
Java-time package
Java-Year
Year with() Method in Java with Examples
Last Updated: 15 January 2019
In Year class, there are two types of with() method depending upon the parameters passed to it.with(TemporalAdjuster adjuster)with(TemporalA
...read more
Java
Java-Functions
Java-time package
Java-Year
Year isAfter() method in Java with Examples
Last Updated: 27 November 2018
The isAfter() method of Year class in Java is used to check if this current Year object is after the Year specified as parameter to this met
...read more
Java
Java-Functions
Java-time package
Java-Year
Year now() method in Java with examples
Last Updated: 27 November 2018
The now() method of Year class in Java is used to return the current year from the system clock in the default time-zone.Syntax:public stati
...read more
Java
Java-Functions
Java-time package
Java-Year
Year length() method in Java with Examples
Last Updated: 27 November 2018
The length() method of Year class in Java is used to return the length of this year object's value in number of days. There can be only two
...read more
Java
Java-Functions
Java-time package
Java-Year
Year format() method in Java with Examples
Last Updated: 27 November 2018
The format() method of Year class in Java is used to format the current Year object according to the DateTimeFormatter passed to it as a par
...read more
Java
Java-Functions
Java-time package
Java-Year
Year isLeap() method in Java with Examples
Last Updated: 27 November 2018
The isLeap() method of Year class in Java is used to check if this Year object is a leap year or not according to the proleptic calendar sys
...read more
Java
Java-Functions
Java-time package
Java-Year
Year of() method in Java with Examples
Last Updated: 27 November 2018
The of() method of Year class in Java is used to return an Year instance. It accepts an year according to the proleptic ISO calendar system
...read more
Java
Java-Functions
Java-time package
Java-Year
Year getValue() method in Java with Examples
Last Updated: 01 November 2019
The getValue() method of Year class in Java is used to get the integral value of the current Year object.Syntax:public int getValue()Paramet
...read more
Java
Java-Functions
Java-time package
Java-Year
Year compareTo() method in Java with Examples
Last Updated: 20 July 2021
The compareTo() method of Year class in Java is used to compare this Year object with another Year object. The comparison of Year object is
...read more
Java
Java-Functions
Java-time package
Java-Year
1
2
3
>>
Last
1
2
3
>>
Last
1
2
3
>>
Last
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !