DateTimeGroupItem
Inheritance: java.lang.Object
public class DateTimeGroupItem
Represents the datetime’s group setting.
Constructors
Constructor | Description |
---|---|
DateTimeGroupItem(int type, int year, int month, int day, int hour, int minute, int second) |
Methods
Method | Description |
---|---|
equals(Object arg0) | |
getClass() | |
getDateTimeGroupingType() | Gets the group type. |
getDay() | Gets the day of the grouped date time. |
getHour() | Gets the hour of the grouped date time. |
getMinValue() | Gets the min value. |
getMinute() | Gets the minute of the grouped date time. |
getMonth() | Gets the month of the grouped date time. |
getSecond() | Gets the second of the grouped date time. |
getYear() | Gets the year of the grouped date time. |
hashCode() | |
notify() | |
notifyAll() | |
setDateTimeGroupingType(int value) | Sets the group type. |
setDay(int value) | Sets the day of the grouped date time. |
setHour(int value) | Sets the hour of the grouped date time. |
setMinute(int value) | Sets the minute of the grouped date time. |
setMonth(int value) | Sets the month of the grouped date time. |
setSecond(int value) | Sets the second of the grouped date time. |
setYear(int value) | Sets the year of the grouped date time. |
toString() | |
wait() | |
wait(long arg0) | |
wait(long arg0, int arg1) |
DateTimeGroupItem(int type, int year, int month, int day, int hour, int minute, int second)
public DateTimeGroupItem(int type, int year, int month, int day, int hour, int minute, int second)
Parameters:
Parameter | Type | Description |
---|---|---|
type | int | DateTimeGroupingType. |
year | int | |
month | int | |
day | int | |
hour | int | |
minute | int | |
second | int |
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Object |
Returns: boolean
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getDateTimeGroupingType()
public int getDateTimeGroupingType()
Gets the group type.
See DateTimeGroupingType.
Returns: int
getDay()
public int getDay()
Gets the day of the grouped date time.
Returns: int
getHour()
public int getHour()
Gets the hour of the grouped date time.
Returns: int
getMinValue()
public DateTime getMinValue()
Gets the min value.
Returns: DateTime
getMinute()
public int getMinute()
Gets the minute of the grouped date time.
Returns: int
getMonth()
public int getMonth()
Gets the month of the grouped date time.
Returns: int
getSecond()
public int getSecond()
Gets the second of the grouped date time.
Returns: int
getYear()
public int getYear()
Gets the year of the grouped date time.
Returns: int
hashCode()
public native int hashCode()
Returns: int
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
setDateTimeGroupingType(int value)
public void setDateTimeGroupingType(int value)
Sets the group type.
See DateTimeGroupingType.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
setDay(int value)
public void setDay(int value)
Sets the day of the grouped date time.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
setHour(int value)
public void setHour(int value)
Sets the hour of the grouped date time.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
setMinute(int value)
public void setMinute(int value)
Sets the minute of the grouped date time.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
setMonth(int value)
public void setMonth(int value)
Sets the month of the grouped date time.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
setSecond(int value)
public void setSecond(int value)
Sets the second of the grouped date time.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
setYear(int value)
public void setYear(int value)
Sets the year of the grouped date time.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |