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

ConstructorDescription
PageDate

Methods

MethodDescription
getDayGets or sets the day component of the date. The format of the date will be updated based on this component.
getDelimiterGets or sets the delimiter used in the date format. The format of the date will be updated based on this delimiter.
getFormattedDateReturns the formatted date string based on the current date format.
getMonthGets or sets the month component of the date. The format of the date will be updated based on this component.
getYearGets or sets the year component of the date. The format of the date will be updated based on this component.
setDayGets or sets the day component of the date.
setDelimiterGets or sets the delimiter used in the date format. The format of the date will be updated based on this delimiter.
setMonthGets or sets the month component of the date.
setYearGets 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.