Deprecating add(Date, int, int) as there is no value in it being public
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@610670 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
9878845801
commit
34ad89c74d
|
@ -393,6 +393,7 @@ public static Date addMilliseconds(Date date, int amount) {
|
||||||
* @param amount the amount to add, may be negative
|
* @param amount the amount to add, may be negative
|
||||||
* @return the new date object with the amount added
|
* @return the new date object with the amount added
|
||||||
* @throws IllegalArgumentException if the date is null
|
* @throws IllegalArgumentException if the date is null
|
||||||
|
* @deprecated Will become privately scoped in 3.0
|
||||||
*/
|
*/
|
||||||
public static Date add(Date date, int calendarField, int amount) {
|
public static Date add(Date date, int calendarField, int amount) {
|
||||||
if (date == null) {
|
if (date == null) {
|
||||||
|
|
Loading…
Reference in New Issue