mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Cleanup (deprecated API)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user