Returns a new DateTime that adds the specified number of years to this instance.
Namespace: com.mindfusion.common
File: com.mindfusion.common
Java Copy Code |
---|
public DateTime addYears ( |
A number of years. The value parameter can be negative or positive.
A DateTime whose value is the sum of the date and time represented by this instance and the number of years represented by value.
MindFusion.Charting for Java Programmer's Guide | © 2024 MindFusion |