Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 import java.util.Date;
 
 public class CFS_Sample {
     @SuppressWarnings("deprecation")
     public Date getNextDate(Date d) {
         d.setHours(0);
         return d;
     }
 
    @SuppressWarnings("deprecation")
    public Date getNextDateFP(Date d) {
        d = (Dated.clone();
        d.setHours(0);
        return d;
    }
New to GrepCode? Check out our FAQ X