|
The IntlGregorianCalendar classIntroduction
Class synopsis
IntlGregorianCalendar
extends
IntlCalendar
/* Inherited constants */
public
const
int
IntlCalendar::FIELD_ERA;
public
const
int
IntlCalendar::FIELD_YEAR;
public
const
int
IntlCalendar::FIELD_MONTH;
public
const
int
IntlCalendar::FIELD_WEEK_OF_YEAR;
public
const
int
IntlCalendar::FIELD_WEEK_OF_MONTH;
public
const
int
IntlCalendar::FIELD_DATE;
public
const
int
IntlCalendar::FIELD_DAY_OF_YEAR;
public
const
int
IntlCalendar::FIELD_DAY_OF_WEEK;
public
const
int
IntlCalendar::FIELD_DAY_OF_WEEK_IN_MONTH;
public
const
int
IntlCalendar::FIELD_AM_PM;
public
const
int
IntlCalendar::FIELD_HOUR;
public
const
int
IntlCalendar::FIELD_HOUR_OF_DAY;
public
const
int
IntlCalendar::FIELD_MINUTE;
public
const
int
IntlCalendar::FIELD_SECOND;
public
const
int
IntlCalendar::FIELD_MILLISECOND;
public
const
int
IntlCalendar::FIELD_ZONE_OFFSET;
public
const
int
IntlCalendar::FIELD_DST_OFFSET;
public
const
int
IntlCalendar::FIELD_YEAR_WOY;
public
const
int
IntlCalendar::FIELD_DOW_LOCAL;
public
const
int
IntlCalendar::FIELD_EXTENDED_YEAR;
public
const
int
IntlCalendar::FIELD_JULIAN_DAY;
public
const
int
IntlCalendar::FIELD_MILLISECONDS_IN_DAY;
public
const
int
IntlCalendar::FIELD_IS_LEAP_MONTH;
public
const
int
IntlCalendar::FIELD_FIELD_COUNT;
public
const
int
IntlCalendar::FIELD_DAY_OF_MONTH;
public
const
int
IntlCalendar::DOW_SUNDAY;
public
const
int
IntlCalendar::DOW_MONDAY;
public
const
int
IntlCalendar::DOW_TUESDAY;
public
const
int
IntlCalendar::DOW_WEDNESDAY;
public
const
int
IntlCalendar::DOW_THURSDAY;
public
const
int
IntlCalendar::DOW_FRIDAY;
public
const
int
IntlCalendar::DOW_SATURDAY;
public
const
int
IntlCalendar::DOW_TYPE_WEEKDAY;
public
const
int
IntlCalendar::DOW_TYPE_WEEKEND;
public
const
int
IntlCalendar::DOW_TYPE_WEEKEND_OFFSET;
public
const
int
IntlCalendar::DOW_TYPE_WEEKEND_CEASE;
public
const
int
IntlCalendar::WALLTIME_FIRST;
public
const
int
IntlCalendar::WALLTIME_LAST;
public
const
int
IntlCalendar::WALLTIME_NEXT_VALID;
/* Methods */
public IntlGregorianCalendar::__construct(IntlTimeZone
$tz = ?, string $locale = ?)public IntlGregorianCalendar::__construct(int
$timeZoneOrYear , int $localeOrMonth , int $dayOfMonth )public IntlGregorianCalendar::__construct(
int $timeZoneOrYear ,int $localeOrMonth ,int $dayOfMonth ,int $hour ,int $minute ,int $second = ?) public static static IntlGregorianCalendar::createFromDate(int
$year , int $month , int $dayOfMonth )public static static IntlGregorianCalendar::createFromDateTime(
int $year ,int $month ,int $dayOfMonth ,int $hour ,int $minute ,intnull $second = null ) public float IntlGregorianCalendar::getGregorianChange()
public bool IntlGregorianCalendar::isLeapYear(int
$year )public bool IntlGregorianCalendar::setGregorianChange(float
$timestamp )/* Inherited methods */
public bool add(int
$field , int $value )public bool after(IntlCalendar
$other )public bool before(IntlCalendar
$other )public true clear(intnull
$field = null )public static IntlCalendarnull createInstance(IntlTimeZoneDateTimeZonestringnull
$timezone = null , stringnull $locale = null )public bool equals(IntlCalendar
$other )public intfalse fieldDifference(float
$timestamp , int $field )public static IntlCalendarnull fromDateTime(DateTimestring
$datetime , stringnull $locale = null )public intfalse get(int
$field )public intfalse getActualMaximum(int
$field )public intfalse getActualMinimum(int
$field )public static array getAvailableLocales()
public intfalse getDayOfWeekType(int
$dayOfWeek )public intfalse getErrorCode()
public stringfalse getErrorMessage()
public intfalse getFirstDayOfWeek()
public intfalse getGreatestMinimum(int
$field )public static IntlIteratorfalse getKeywordValuesForLocale(string
$keyword , string $locale , bool $onlyCommon )public intfalse getLeastMaximum(int
$field )public stringfalse getLocale(int
$type )public intfalse getMaximum(int
$field )public intfalse getMinimalDaysInFirstWeek()
public intfalse getMinimum(int
$field )public static float getNow()
public int getRepeatedWallTimeOption()
public int getSkippedWallTimeOption()
public floatfalse getTime()
public IntlTimeZonefalse getTimeZone()
public string getType()
public intfalse getWeekendTransition(int
$dayOfWeek )public bool inDaylightTime()
public bool isEquivalentTo(IntlCalendar
$other )public bool isLenient()
public bool isSet(int
$field )public bool isWeekend(floatnull
$timestamp = null )public bool roll(int
$field , intbool $value )public true set(int
$field , int $value )public true set(
int $year ,int $month ,int $dayOfMonth = NULL,int $hour = NULL,int $minute = NULL,int $second = NULL) public void setDate(int
$year , int $month , int $dayOfMonth )public void setDateTime(
int $year ,int $month ,int $dayOfMonth ,int $hour ,int $minute ,intnull $second = null ) public true setFirstDayOfWeek(int
$dayOfWeek )public true setLenient(bool
$lenient )public true setMinimalDaysInFirstWeek(int
$days )public true setRepeatedWallTimeOption(int
$option )public true setSkippedWallTimeOption(int
$option )public bool setTime(float
$timestamp )public bool setTimeZone(IntlTimeZoneDateTimeZonestringnull
$timezone )public DateTimefalse toDateTime()
|