PageDate
Inheritance: java.lang.Object, com.aspose.pdf.artifacts.pagination.PageDate
public final class PageDate extends Object
Represents a date format composed of day, month, and year components.
Constructors
| Constructor | Description |
|---|---|
| PageDate |
Methods
| Method | Description |
|---|---|
| getDay | Gets or sets the day component of the date. The format of the date will be updated based on this component. |
| getDelimiter | Gets or sets the delimiter used in the date format. The format of the date will be updated based on this delimiter. |
| getFormattedDate | Returns the formatted date string based on the current date format. |
| getMonth | Gets or sets the month component of the date. The format of the date will be updated based on this component. |
| getYear | Gets or sets the year component of the date. The format of the date will be updated based on this component. |
| setDay | Gets or sets the day component of the date. |
| setDelimiter | Gets or sets the delimiter used in the date format. The format of the date will be updated based on this delimiter. |
| setMonth | Gets or sets the month component of the date. |
| setYear | Gets or sets the year component of the date. |
PageDate
public PageDate()
getDay
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.
Returns: DayComponent instance
getDelimiter
public 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.
Returns: String value
getFormattedDate
public final String getFormattedDate()
Returns the formatted date string based on the current date format.
Returns: A formatted date string.
getMonth
public 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.
Returns: MonthComponent instance
getYear
public 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.
Returns: YearComponent instance
setDay
Gets or sets the day component of the date.
setDelimiter
Gets or sets the delimiter used in the date format. The format of the date will be updated based on this delimiter.
setMonth
Gets or sets the month component of the date.
setYear
Gets or sets the year component of the date.