Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #if($TIME.contains("p.m."))
- /**
- * TODO describe class
- *
- * @created $YEAR/$MONTH/$DAY #if ($TIME.substring(0,2).matches("1:"))
- 13:${MINUTE}
- #elseif ($TIME.substring(0,2).matches("2:"))
- 14:${MINUTE}
- #elseif ($TIME.substring(0,2).matches("3:"))
- 15:${MINUTE}
- #elseif ($TIME.substring(0,2).matches("4:"))
- 16:${MINUTE}
- #elseif ($TIME.substring(0,2).matches("5:"))
- 17:${MINUTE}
- #elseif ($TIME.substring(0,2).matches("6:"))
- 18:${MINUTE}
- #elseif ($TIME.substring(0,2).matches("7:"))
- 19:${MINUTE}
- #elseif ($TIME.substring(0,2).matches("8:"))
- 20:${MINUTE}
- #elseif ($TIME.substring(0,2).matches("9:"))
- 21:${MINUTE}
- #elseif ($TIME.substring(0,2).matches("10"))
- 22:${MINUTE}
- #elseif ($TIME.substring(0,2).matches("11"))
- 23:${MINUTE}
- #elseif ($TIME.substring(0,2).matches("12"))
- 12:${MINUTE}
- #end
- * @author clem585
- */
- #else
- /**
- * TODO describe class
- *
- * @created ${DAY}/${MONTH}/${YEAR} #if ($TIME.substring(0,2).matches("1:"))
- 01:${MINUTE}
- #elseif ($TIME.substring(0,2).matches("2:"))
- 02:${MINUTE}
- #elseif ($TIME.substring(0,2).matches("3:"))
- 03:${MINUTE}
- #elseif ($TIME.substring(0,2).matches("4:"))
- 04:${MINUTE}
- #elseif ($TIME.substring(0,2).matches("5:"))
- 05:${MINUTE}
- #elseif ($TIME.substring(0,2).matches("6:"))
- 06:${MINUTE}
- #elseif ($TIME.substring(0,2).matches("7:"))
- 07:${MINUTE}
- #elseif ($TIME.substring(0,2).matches("8:"))
- 08:${MINUTE}
- #elseif ($TIME.substring(0,2).matches("9:"))
- 09:${MINUTE}
- #elseif ($TIME.substring(0,2).matches("10"))
- 10:${MINUTE}
- #elseif ($TIME.substring(0,2).matches("11"))
- 11:${MINUTE}
- #elseif ($TIME.substring(0,2).matches("12"))
- 12:${MINUTE}
- #end
- * @author _____
- */
- $TIME
- #end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement