Package jade.mtp.http
Class BasicFipaDateTime
- java.lang.Object
-
- jade.mtp.http.BasicFipaDateTime
-
public class BasicFipaDateTime extends Object
-
-
Constructor Summary
Constructors Constructor Description BasicFipaDateTime(String str)BasicFipaDateTime(Date date)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidfromString(String str)shortgetDay()Get the value of day.shortgetHour()Get the value of hour.shortgetMilliseconds()Get the value of milliseconds.shortgetMinutes()Get the value of minutes.shortgetMonth()Get the value of month.shortgetSeconds()Get the value of seconds.DategetTime()chargetTypeDesignator()Get the value of typeDesignator.shortgetYear()Get the value of year.voidsetDay(short v)Set the value of day.voidsetHour(short v)Set the value of hour.voidsetMilliseconds(short v)Set the value of milliseconds.voidsetMinutes(short v)Set the value of minutes.voidsetMonth(short v)Set the value of month.voidsetSeconds(short v)Set the value of seconds.voidsetTypeDesignator(char v)Set the value of typeDesignator.voidsetYear(short v)Set the value of year.StringtoString()
-
-
-
Method Detail
-
getYear
public short getYear()
Get the value of year.- Returns:
- Value of year.
-
setYear
public void setYear(short v)
Set the value of year.- Parameters:
v- Value to assign to year.
-
getMonth
public short getMonth()
Get the value of month.- Returns:
- Value of month.
-
setMonth
public void setMonth(short v)
Set the value of month.- Parameters:
v- Value to assign to month.
-
getDay
public short getDay()
Get the value of day.- Returns:
- Value of day.
-
setDay
public void setDay(short v)
Set the value of day.- Parameters:
v- Value to assign to day.
-
getHour
public short getHour()
Get the value of hour.- Returns:
- Value of hour.
-
setHour
public void setHour(short v)
Set the value of hour.- Parameters:
v- Value to assign to hour.
-
getMinutes
public short getMinutes()
Get the value of minutes.- Returns:
- Value of minutes.
-
setMinutes
public void setMinutes(short v)
Set the value of minutes.- Parameters:
v- Value to assign to minutes.
-
getSeconds
public short getSeconds()
Get the value of seconds.- Returns:
- Value of seconds.
-
setSeconds
public void setSeconds(short v)
Set the value of seconds.- Parameters:
v- Value to assign to seconds.
-
getMilliseconds
public short getMilliseconds()
Get the value of milliseconds.- Returns:
- Value of milliseconds.
-
setMilliseconds
public void setMilliseconds(short v)
Set the value of milliseconds.- Parameters:
v- Value to assign to milliseconds.
-
getTypeDesignator
public char getTypeDesignator()
Get the value of typeDesignator.- Returns:
- Value of typeDesignator.
-
setTypeDesignator
public void setTypeDesignator(char v)
Set the value of typeDesignator.- Parameters:
v- Value to assign to typeDesignator.
-
fromString
public void fromString(String str)
-
getTime
public Date getTime()
-
-