|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esf.sbc.catalyst.system.management.service.RtcTime
public class RtcTime
Provides interface to real-time clock (RTC) values.
Constructor Summary | |
---|---|
RtcTime()
constructor to create an empty RtcTime class |
|
RtcTime(long seconds,
long minutes,
long hours,
long dayOfMonth,
long month,
long year,
long dayOfWeek,
long dayOfYear)
constructor to create a fully initialized RtcTime class |
|
RtcTime(RtcTime time)
copy constructor |
Method Summary | |
---|---|
long |
getDayOfMonth()
gets the day of the month held in the RtcTime class |
long |
getDayOfWeek()
gets the day of the week held in the RtcTime class |
long |
getDayOfYear()
gets the day of the year held in the RtcTime class |
long |
getHours()
gets the hours held in the RtcTime class |
long |
getMinutes()
gets the minutes held in the RtcTime class |
long |
getMonth()
gets the month held in the RtcTime class |
long |
getSeconds()
gets the seconds held in the RtcTime class |
long |
getYear()
gets the year held in the RtcTime class |
void |
setDayOfMonth(long dayOfMonth)
sets the day of the month for the RtcTime class |
void |
setDayOfWeek(long dayOfWeek)
sets the day of the week for the RtcTime class |
void |
setDayOfYear(long dayOfYear)
sets the day of the year for the RtcTime class |
void |
setHours(long hours)
sets the hours for the RtcTime class |
void |
setMinutes(long minutes)
sets the minutes for the RtcTime class |
void |
setMonth(long month)
sets the month for the RtcTime class |
void |
setSeconds(long seconds)
sets the seconds for the RtcTime class |
void |
setYear(long year)
sets the year for the RtcTime class |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RtcTime()
public RtcTime(long seconds, long minutes, long hours, long dayOfMonth, long month, long year, long dayOfWeek, long dayOfYear)
seconds
- seconds from 0 to 59minutes
- minutes from 0 to 59hours
- hours from 0 to 23dayOfMonth
- day of month from 1 to 31month
- month from 1 to 12year
- year from 0 to 4095dayOfWeek
- day of week from 0 to 6dayOfYear
- day of year from 1 to 365public RtcTime(RtcTime time)
time
- the value of the RtcTime class to copyMethod Detail |
---|
public long getSeconds()
public void setSeconds(long seconds)
seconds
- the second value to storepublic long getMinutes()
public void setMinutes(long minutes)
minutes
- the minute value to storepublic long getHours()
public void setHours(long hours)
hours
- the hour value to storepublic long getDayOfMonth()
public void setDayOfMonth(long dayOfMonth)
dayOfMonth
- the day of the month value to storepublic long getMonth()
public void setMonth(long month)
month
- the month value to storepublic long getYear()
public void setYear(long year)
year
- the year value to storepublic long getDayOfWeek()
public void setDayOfWeek(long dayOfWeek)
dayOfWeek
- the day of the week value to storepublic long getDayOfYear()
public void setDayOfYear(long dayOfYear)
dayOfYear
- the day of the year value to store
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |