|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.greenhopper.web.util.DatePickerHelper
@Service public class DatePickerHelper
Encapsulates server side code to use together with the date picker. This basically is date parsing / rendering
Constructor Summary | |
---|---|
DatePickerHelper()
|
Method Summary | |
---|---|
java.lang.String |
getCalendarFormat()
Get the calendar format used by JIRA |
static java.lang.String |
getCalendarLocale(com.atlassian.crowd.embedded.api.User user)
Does a local check.. |
java.lang.String |
parseDateToString(com.atlassian.crowd.embedded.api.User user,
org.joda.time.DateMidnight date)
Parses a Date into a String. |
java.util.Date |
parseToDate(com.atlassian.crowd.embedded.api.User user,
java.lang.String date)
parses the string into a date |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DatePickerHelper()
Method Detail |
---|
public java.lang.String getCalendarFormat()
public static java.lang.String getCalendarLocale(com.atlassian.crowd.embedded.api.User user)
public java.util.Date parseToDate(com.atlassian.crowd.embedded.api.User user, java.lang.String date) throws java.text.ParseException
date
-
java.text.ParseException
public java.lang.String parseDateToString(com.atlassian.crowd.embedded.api.User user, org.joda.time.DateMidnight date)
user
- date
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |