Class DateGroupItem
java.lang.Object
com.independentsoft.office.spreadsheet.DateGroupItem
The Class DateGroupItem.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Gets the date time grouping.intgetDay()Gets the day.intgetHour()Gets the hour.intGets the minute.intgetMonth()Gets the month.intGets the second.intgetYear()Gets the year.voidsetDateTimeGrouping(DateTimeGrouping dateTimeGrouping)Sets the date time grouping.voidsetDay(int day)Sets the day.voidsetHour(int hour)Sets the hour.voidsetMinute(int minute)Sets the minute.voidsetMonth(int month)Sets the month.voidsetSecond(int second)Sets the second.voidsetYear(int year)Sets the year.toString()
-
Constructor Details
-
DateGroupItem
public DateGroupItem()Instantiates a new date group item.
-
-
Method Details
-
clone
-
toString
-
getDateTimeGrouping
Gets the date time grouping.- Returns:
- the date time grouping
-
setDateTimeGrouping
Sets the date time grouping.- Parameters:
dateTimeGrouping- the new date time grouping
-
getDay
public int getDay()Gets the day.- Returns:
- the day
-
setDay
public void setDay(int day)Sets the day.- Parameters:
day- the new day
-
getHour
public int getHour()Gets the hour.- Returns:
- the hour
-
setHour
public void setHour(int hour)Sets the hour.- Parameters:
hour- the new hour
-
getMinute
public int getMinute()Gets the minute.- Returns:
- the minute
-
setMinute
public void setMinute(int minute)Sets the minute.- Parameters:
minute- the new minute
-
getMonth
public int getMonth()Gets the month.- Returns:
- the month
-
setMonth
public void setMonth(int month)Sets the month.- Parameters:
month- the new month
-
getSecond
public int getSecond()Gets the second.- Returns:
- the second
-
setSecond
public void setSecond(int second)Sets the second.- Parameters:
second- the new second
-
getYear
public int getYear()Gets the year.- Returns:
- the year
-
setYear
public void setYear(int year)Sets the year.- Parameters:
year- the new year
-