From 8dd269e7dbe1ef7d035480f94ba75417fe11c63c Mon Sep 17 00:00:00 2001 From: Roman Shevchenko Date: Mon, 4 Jul 2016 13:39:00 +0300 Subject: [PATCH] Cleanup (deprecated API) --- .../util/src/com/intellij/util/text/DateFormatUtil.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/platform/util/src/com/intellij/util/text/DateFormatUtil.java b/platform/util/src/com/intellij/util/text/DateFormatUtil.java index 0abbf6bc4679..096de12833a2 100644 --- a/platform/util/src/com/intellij/util/text/DateFormatUtil.java +++ b/platform/util/src/com/intellij/util/text/DateFormatUtil.java @@ -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; }