DateTimeFormatInfo
Overview
DateTimeFormatInfo is a class in Aspose.Cells FOSS for Php.
Minimal DateTimeFormatInfo shim carrying date and time names and patterns.
This class declares 6 methods for DateTimeFormatInfo objects in Php programs.
Available methods include: GetAbbreviatedDayName, GetAbbreviatedMonthName, GetDayName, GetMonthName, SetCulture, __construct.
Public members are accessible to any Php application after installing the Aspose.Cells FOSS for Php package.
Properties: AMDesignator, AbbreviatedDayNames, AbbreviatedMonthNames, DayNames, LongDatePattern, LongTimePattern, and 2 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
MonthNames | - | Read/Write | Gets or sets the month names. |
AbbreviatedMonthNames | - | Read/Write | Gets or sets the abbreviated month names. |
DayNames | - | Read/Write | Gets or sets the day names. |
AbbreviatedDayNames | - | Read/Write | Gets or sets the abbreviated day names. |
AMDesignator | - | Read/Write | Gets or sets the am designator. |
PMDesignator | - | Read/Write | Gets or sets the pm designator. |
LongDatePattern | - | Read/Write | Gets or sets the long date pattern. |
LongTimePattern | - | Read/Write | Gets or sets the long time pattern. |
Methods
| Signature | Description |
|---|---|
__construct() | Calls __construct on this DateTimeFormatInfo instance. |
SetCulture(name) | Sets the culture value. |
GetMonthName(month) | Calls GetMonthName(month) on this DateTimeFormatInfo instance. |
GetAbbreviatedMonthName(month) | Calls GetAbbreviatedMonthName(month) on this DateTimeFormatInfo instance. |
GetDayName(dayOfWeek) | Calls GetDayName(dayOfWeek) on this DateTimeFormatInfo instance. |
GetAbbreviatedDayName(dayOfWeek) | Calls GetAbbreviatedDayName(dayOfWeek) on this DateTimeFormatInfo instance. |