Changeset 5158
- Timestamp:
- Jan 28, 2012 1:01:13 PM (4 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/unstable/L2J_Server_BETA/java/com/l2jserver/gameserver/util/Util.java
r5157 r5158 413 413 public static String formatDate(Date date, String format) 414 414 { 415 if (date == null) 416 { 417 return null; 418 } 415 419 final DateFormat dateFormat = new SimpleDateFormat(format); 416 if (date != null) 417 { 418 return dateFormat.format(date); 419 } 420 return null; 420 return dateFormat.format(date); 421 421 } 422 422
Note: See TracChangeset
for help on using the changeset viewer.
