public class DateComponent extends Object
Represents a base class for date components with a format attribute.
Constructor and Description |
---|
DateComponent() |
Modifier and Type | Method and Description |
---|---|
int |
getFormat()
Gets or sets the format for the date component.
|
String |
getFormat(char ch)
Returns a string composed of a specified character repeated based on the format.
|
void |
setFormat(int value)
Gets or sets the format for the date component.
|
public final int getFormat()
Gets or sets the format for the date component.
public final void setFormat(int value)
Gets or sets the format for the date component.
value
- int valuepublic final String getFormat(char ch)
Returns a string composed of a specified character repeated based on the format.
ch
- The character to repeat.Copyright © 2025 Aspose. All Rights Reserved.