Skip to content

Commit

Permalink
Merge pull request youth5201314#11 from amin168/master
Browse files Browse the repository at this point in the history
fix 时间的bug
  • Loading branch information
youth5201314 authored Jun 5, 2017
2 parents 89ebe20 + de4972f commit 10a9d3f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions xframe/src/main/java/com/youth/xframe/utils/XDateUtils.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
package com.youth.xframe.utils;

import android.annotation.SuppressLint;

import com.youth.xframe.entity.DateDifference;

import java.text.ParseException;
Expand Down Expand Up @@ -308,7 +306,7 @@ public static DateDifference getTwoDataDifference(Date date1, Date date2) {
difference.setSecond(millis/SEC);
difference.setMinute(millis/MIN);
difference.setHour(millis/HOUR);
difference.setHour(millis/DAY);
difference.setDay(millis/DAY);
return difference;
}

Expand Down

0 comments on commit 10a9d3f

Please sign in to comment.