Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1fdfadf0 authored by Narayan Kamath's avatar Narayan Kamath
Browse files

Use java.util.Date instead of java.sql.Date.

java.sql.Date was being used in a context unrelated to SQL and
there's no good reason to use it this way. Note that the claim in
java.sql.Date's javadoc that it normalizes times to day boundaries
is a lie.

Change-Id: Ibb17d3fe22af6c2a41abd51b2158d6af000ecbbf
parent 12eae246
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -49,8 +49,8 @@ import java.io.FilenameFilter;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.sql.Date;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.TimeZone;

/**
+1 −1
Original line number Diff line number Diff line
@@ -28,8 +28,8 @@ import android.provider.MediaStore.Video.VideoColumns;
import com.android.gallery3d.filtershow.tools.SaveImage.ContentResolverQueryCallback;

import java.io.File;
import java.sql.Date;
import java.text.SimpleDateFormat;
import java.util.Date;

public class SaveVideoFileUtils {
    // This function can decide which folder to save the video file, and generate