com.atlassian.jira.jelly.tag.util
Class JellyTagUtils
java.lang.Object
com.atlassian.jira.jelly.tag.util.JellyTagUtils
public class JellyTagUtils
- extends Object
Utility class for jelly tags
- Since:
- v3.12
Method Summary |
static Timestamp |
parseDate(String timestamp)
Converts a String object in JDBC timestamp escape format to a
Timestamp value. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JellyTagUtils
public JellyTagUtils()
parseDate
public static Timestamp parseDate(String timestamp)
- Converts a
String
object in JDBC timestamp escape format to a
Timestamp
value.
- Parameters:
timestamp
- timestamp in format yyyy-mm-dd hh:mm:ss.fffffffff
- Returns:
- corresponding
Timestamp
value
- Throws:
IllegalArgumentException
- if the given argument
does not have the format yyyy-mm-dd hh:mm:ss.fffffffff
- See Also:
Timestamp.valueOf(String)
Copyright © 2002-2013 Atlassian. All Rights Reserved.