View Javadoc

1   package org.lsst.ccs.config;
2   
3   
4   import org.lsst.ccs.utilities.logging.Logger;
5   import org.lsst.ccs.utilities.tracers.Tracer;
6   
7   import java.util.Date;
8   
9   /**
10   * Constants for this package.
11   * @author bamade
12   */
13  // Date: 10/04/12
14  
15  public class PackCst {
16      static {
17          assert Tracer.version("$Rev$", PackCst.class, "org-lsst-ccs-config") ;
18      }
19      /**
20       * Based on insurance standard rules: this date represents an undetermined duration
21       * (December 31 9999!). We just hope that databases will support this standard.
22       * //TODO: replace with joda time :  ZeroIsMaxDateTimeField
23       */
24      @SuppressWarnings("deprecation")
25      public static final long STILL_VALID = new Date(8099,11,31).getTime() ;
26  
27      //TODO : replace with our own Logger
28      public static final Logger CURLOG = Logger.getLogger("org.lsst.ccs.config") ;
29  
30  
31      public static final int DESIGNER_LEVEL = 10 ;
32      public static final int END_USER_LEVEL = 5 ;
33  
34  }