Package ch.rabanti.nanoxlsx4j.lowLevel
Class StyleReaderContainer.StyleResult
java.lang.Object
ch.rabanti.nanoxlsx4j.lowLevel.StyleReaderContainer.StyleResult
- Enclosing class:
- StyleReaderContainer
Result class regarding date and time styles
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the style as resultbooleanGets whether the style is to describe a datebooleanGets whether the style is to describe a timevoidsetDateStyle(boolean dateStyle) Sets whether the style is to describe a datevoidsetTimeStyle(boolean timeStyle) Sets whether the style is to describe a time
-
Constructor Details
-
StyleResult
Constructor with definition of the result- Parameters:
style- Style component
-
-
Method Details
-
isDateStyle
public boolean isDateStyle()Gets whether the style is to describe a date- Returns:
- True if a date style
-
setDateStyle
public void setDateStyle(boolean dateStyle) Sets whether the style is to describe a date- Parameters:
dateStyle- True if a date style
-
isTimeStyle
public boolean isTimeStyle()Gets whether the style is to describe a time- Returns:
- True if a time style
-
setTimeStyle
public void setTimeStyle(boolean timeStyle) Sets whether the style is to describe a time- Parameters:
timeStyle- True if a time style
-
getResult
Gets the style as result- Returns:
- Style component
-