| java.lang.Object org.sakaiproject.time.impl.MyTime
MyTime | public class MyTime implements Time(Code) | |
MyTime is an implementation of the Time API Time.
|
Constructor Summary | |
public | MyTime(String str) | public | MyTime() | public | MyTime(long l) | public | MyTime(TimeZone zone, int year, int month, int day, int hour, int minute, int second, int millisecond) construct from individual ints, and the zone.
Parameters: zone - The time zone. Parameters: year - full year (i.e. | public | MyTime(TimeZone zone, TimeBreakdown tb) construct from time breakdown, and the zone. |
m_millisecondsSince | protected long m_millisecondsSince(Code) | | The milliseconds since... same as Date
|
MyTime | public MyTime(String str)(Code) | | construct from a string, in our format, GMT values
Parameters: str - time format string |
MyTime | public MyTime()(Code) | | construct as now
|
MyTime | public MyTime(long l)(Code) | | construct from a Long
Parameters: l - time value in ms since... |
MyTime | public MyTime(TimeZone zone, int year, int month, int day, int hour, int minute, int second, int millisecond)(Code) | | construct from individual ints, and the zone.
Parameters: zone - The time zone. Parameters: year - full year (i.e. 1999, 2000) Parameters: month - month in year (1..12) Parameters: day - day in month (1..31) Parameters: hour - hour in day (0..23) Parameters: minuet - minute in hour (0..59) Parameters: second - second in minute (0..59) Parameters: millisecond - millisecond in second (0..999) |
MyTime | public MyTime(TimeZone zone, TimeBreakdown tb)(Code) | | construct from time breakdown, and the zone.
Parameters: zone - The time zone. Parameters: tb - The TimeBreakdown with the values. |
fix | protected String fix(String s)(Code) | | Fix the AM/PM format of the time string - lower the case.
Parameters: s - The time string. The time string fixed. |
getTime | public long getTime()(Code) | | |
setTime | public void setTime(long l)(Code) | | |
toStringLocalShortDate | public String toStringLocalShortDate()(Code) | | |
toStringLocalTime24 | public String toStringLocalTime24()(Code) | | |
toStringRFC822Local | public String toStringRFC822Local()(Code) | | |
|
|