SHARE
TWEET

Untitled

a guest Jun 25th, 2019 62 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public class LogInfo {
  2.    private static final SimpleDateFormat sdf = new SimpleDateFormat ("yyyyMMdd");
  3.             
  4.    public logInfo (
  5.    }
  6. }
  7.      
  8. public class LogInfo {
  9.      private static final SimpleDateFormat sdf = initializeSimpleDateFormat();
  10.      private static SimpleDateFormat initializeSimpleDateFormat(){
  11.                 return sdf == null ? new SimpleDateFormat("yyyy/MM/dd") : sdf;
  12.      }
  13.      public logInfo (
  14.      }
  15. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top