DateTimeGroupItem

Inheritance: java.lang.Object

public class DateTimeGroupItem

Represents the datetime’s group setting.

Constructors

ConstructorDescription
DateTimeGroupItem(int type, int year, int month, int day, int hour, int minute, int second)

Methods

MethodDescription
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:

ParameterTypeDescription
typeintDateTimeGroupingType.
yearint
monthint
dayint
hourint
minuteint
secondint

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.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:

ParameterTypeDescription
valueint

setDay(int value)

public void setDay(int value)

Sets the day of the grouped date time.

Parameters:

ParameterTypeDescription
valueint

setHour(int value)

public void setHour(int value)

Sets the hour of the grouped date time.

Parameters:

ParameterTypeDescription
valueint

setMinute(int value)

public void setMinute(int value)

Sets the minute of the grouped date time.

Parameters:

ParameterTypeDescription
valueint

setMonth(int value)

public void setMonth(int value)

Sets the month of the grouped date time.

Parameters:

ParameterTypeDescription
valueint

setSecond(int value)

public void setSecond(int value)

Sets the second of the grouped date time.

Parameters:

ParameterTypeDescription
valueint

setYear(int value)

public void setYear(int value)

Sets the year of the grouped date time.

Parameters:

ParameterTypeDescription
valueint

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int