Replace tabs with spaces in DateUtils
This commit is contained in:
parent
ba7c788042
commit
4259a706ab
|
@ -675,9 +675,9 @@ public class DateUtils {
|
||||||
* @throws NullPointerException if {@code date} or {@code tz} is null
|
* @throws NullPointerException if {@code date} or {@code tz} is null
|
||||||
*/
|
*/
|
||||||
public static Calendar toCalendar(final Date date, final TimeZone tz) {
|
public static Calendar toCalendar(final Date date, final TimeZone tz) {
|
||||||
final Calendar c = Calendar.getInstance(tz);
|
final Calendar c = Calendar.getInstance(tz);
|
||||||
c.setTime(date);
|
c.setTime(date);
|
||||||
return c;
|
return c;
|
||||||
}
|
}
|
||||||
|
|
||||||
//-----------------------------------------------------------------------
|
//-----------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue