java.lang.Object | |
↳ | com.atlassian.jira.functest.framework.util.date.DateUtil |
Some utility methods for manipulating dates in functional tests.
This is often required to make sure that func tests run okay when executed in different time zones.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns a string representing the given date in milliseconds, for example | |||||||||||
Returns a string representing the given date in the format suitable for timestamp fields in the data XML file,
for example |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class java.lang.Object |
Returns a string representing the given date in milliseconds, for example 123456789
.
year | year |
---|---|
month | month |
day | day |
hour | hour |
minute | minute |
Returns a string representing the given date in the format suitable for timestamp fields in the data XML file,
for example 2008-06-02 09:43:58.788
.
year | year |
---|---|
month | month |
day | day |
hour | hour |
minute | minute |