| java.lang.Object org.sakaiproject.time.impl.BasicTimeService
BasicTimeService | public class BasicTimeService implements TimeService(Code) | |
BasicTimeService implements the Sakai TimeService
|
Inner Class :protected class LocalTzFormat | |
Inner Class :public class MyTimeRange implements TimeRange | |
Inner Class :public class MyTimeBreakdown implements TimeBreakdown | |
Method Summary | |
public boolean | clearLocalTimeZone(String userId) | public void | destroy() Final cleanup. | public boolean | different(Time a, Time b) Compare two Time for differences, either may be null
Parameters: a - One Time. Parameters: b - The other Time. | public GregorianCalendar | getCalendar(TimeZone zone, int year, int month, int day, int hour, int min, int sec, int ms) | public TimeZone | getLocalTimeZone() | protected LocalTzFormat | getLocalTzFormat(String[] timeZoneLocale) | protected String[] | getUserTimezoneLocale() | public void | init() Final initialization, once all dependencies are set. | public Time | newTime() | public Time | newTime(long value) | public Time | newTime(GregorianCalendar cal) | public TimeBreakdown | newTimeBreakdown(int year, int month, int day, int hour, int minute, int second, int millisecond) | public Time | newTimeGmt(String value) | public Time | newTimeGmt(int year, int month, int day, int hour, int minute, int second, int millisecond) | public Time | newTimeGmt(TimeBreakdown breakdown) | public Time | newTimeLocal(int year, int month, int day, int hour, int minute, int second, int millisecond) | public Time | newTimeLocal(TimeBreakdown breakdown) | public TimeRange | newTimeRange(Time start, Time end, boolean startIncluded, boolean endIncluded) | public TimeRange | newTimeRange(String value) | public TimeRange | newTimeRange(Time startAndEnd) | public TimeRange | newTimeRange(long start, long duration) | public TimeRange | newTimeRange(Time start, Time end) |
M_fmtA | protected DateFormat M_fmtA(Code) | | The formatter for our special GMT format(s)
|
M_tz_locale_default | protected String[] M_tz_locale_default(Code) | | |
BasicTimeService | public BasicTimeService()(Code) | | no arg constructor
|
clearLocalTimeZone | public boolean clearLocalTimeZone(String userId)(Code) | | |
destroy | public void destroy()(Code) | | Final cleanup.
|
different | public boolean different(Time a, Time b)(Code) | | Compare two Time for differences, either may be null
Parameters: a - One Time. Parameters: b - The other Time. true if the Times are different, false if they are the same. |
getLocalTzFormat | protected LocalTzFormat getLocalTzFormat(String[] timeZoneLocale)(Code) | | |
getUserTimezoneLocale | protected String[] getUserTimezoneLocale()(Code) | | Return string with user's prefered timezone _and_ prefered locale
(dates are formatted according to the locale)
|
init | public void init()(Code) | | Final initialization, once all dependencies are set.
|
newTimeBreakdown | public TimeBreakdown newTimeBreakdown(int year, int month, int day, int hour, int minute, int second, int millisecond)(Code) | | |
newTimeGmt | public Time newTimeGmt(int year, int month, int day, int hour, int minute, int second, int millisecond)(Code) | | |
newTimeLocal | public Time newTimeLocal(int year, int month, int day, int hour, int minute, int second, int millisecond)(Code) | | |
|
|