Cleanup (deprecated API)

This commit is contained in:
Roman Shevchenko
2016-07-04 13:39:00 +03:00
parent 3b6c64fadd
commit 8dd269e7db
@@ -1,5 +1,5 @@
/*
* Copyright 2000-2015 JetBrains s.r.o.
* Copyright 2000-2016 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -75,10 +75,6 @@ public class DateFormatUtil {
private DateFormatUtil() { }
/** @deprecated use {@link #getIso8601Format()} (to be removed in IDEA 16) */
@SuppressWarnings("unused")
public static final SyncDateFormat ISO8601_DATE_FORMAT = ISO8601_FORMAT;
public static long getDifferenceInDays(@NotNull Date startDate, @NotNull Date endDate) {
return (endDate.getTime() - startDate.getTime() + DAY_FACTOR - 1000) / DAY_FACTOR;
}