Normand Briere
2019-08-18 480ad70047e54b2b92f974e6c2ac5a6c0bdc5a5c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package timeflow.data.time;
 
import java.util.*;
 
public class TimeUtils {
   
   public static Calendar cal(long time)
   {
       Calendar c=new GregorianCalendar();
       c.setTimeInMillis(time);
       return c;
   }
 
   public static Calendar cal(Date date)
   {
       Calendar c=new GregorianCalendar();
       c.setTime(date);
       return c;
   }
   
}