Code example for SimpleTimeZone

0
/*  92 */     StringBuilder sb = new StringBuilder();
/*  93 */     sb.append(pMessage);
/*  94 */     sb.append("  ");
/*  95 */     Date date = new Date();
/*  96 */     SimpleDateFormat sdf = new SimpleDateFormat();
/*  97 */     sdf.setTimeZone(new SimpleTimeZone(0, "GMT"));
/*  98 */     sdf.applyPattern("dd MMM yyyy HH:mm:ss z");
/*  99 */     sb.append(sdf.format(date));
/* 100 */     sb.append(":");
/* 101 */     sb.append(Build.VERSION.SDK_INT);
/* 102 */     sb.append(":");
/* 103 */     sb.append(Build.DEVICE);
/* 104 */     sb.append(":");
/* 105 */     sb.append(Build.MODEL);
/* 106 */     sb.append(":");
/* 107 */     sb.append(Build.PRODUCT);
/* 108 */     sb.append(":");
/* 109 */     sb.append(System.getProperty("os.version"));
/*     */  
/* 111 */     return sb.toString();
/*     */   }