public final class PageDate extends Object
Represents a date format composed of day, month, and year components.
Modifier and Type | Class and Description |
---|---|
static class |
PageDate.DayComponent
Represents the day component of a date.
|
static class |
PageDate.MonthComponent
Represents the month component of a date.
|
static class |
PageDate.YearComponent
Represents the year component of a date.
|
Constructor and Description |
---|
PageDate() |
Modifier and Type | Method and Description |
---|---|
PageDate.DayComponent |
getDay()
Gets or sets the day component of the date.
|
String |
getDelimiter()
Gets or sets the delimiter used in the date format.
|
String |
getFormattedDate()
Returns the formatted date string based on the current date format.
|
PageDate.MonthComponent |
getMonth()
Gets or sets the month component of the date.
|
PageDate.YearComponent |
getYear()
Gets or sets the year component of the date.
|
void |
setDay(PageDate.DayComponent value)
Gets or sets the day component of the date.
|
void |
setDelimiter(String value)
Gets or sets the delimiter used in the date format.
|
void |
setMonth(PageDate.MonthComponent value)
Gets or sets the month component of the date.
|
void |
setYear(PageDate.YearComponent value)
Gets or sets the year component of the date.
|
public final PageDate.DayComponent getDay()
Gets or sets the day component of the date. The format of the date will be updated based on this component.
public final void setDay(PageDate.DayComponent value)
Gets or sets the day component of the date. The format of the date will be updated based on this component.
value
- DayComponent instancepublic final PageDate.MonthComponent getMonth()
Gets or sets the month component of the date. The format of the date will be updated based on this component.
public final void setMonth(PageDate.MonthComponent value)
Gets or sets the month component of the date. The format of the date will be updated based on this component.
value
- MonthComponent instancepublic final PageDate.YearComponent getYear()
Gets or sets the year component of the date. The format of the date will be updated based on this component.
public final void setYear(PageDate.YearComponent value)
Gets or sets the year component of the date. The format of the date will be updated based on this component.
value
- YearComponent instancepublic final String getDelimiter()
Gets or sets the delimiter used in the date format. The format of the date will be updated based on this delimiter.
public final void setDelimiter(String value)
Gets or sets the delimiter used in the date format. The format of the date will be updated based on this delimiter.
value
- String valuepublic final String getFormattedDate()
Returns the formatted date string based on the current date format.
Copyright © 2025 Aspose. All Rights Reserved.