Mid-Atlantic Developer Conference - Call for Speakers

The IntlGregorianCalendar class

(PHP 5 >= 5.5.0, PHP 7)

Einführung

Klassenbeschreibung

IntlGregorianCalendar extends IntlCalendar {
/* Constants */
const integer FIELD_ERA = 0 ;
const integer FIELD_YEAR = 1 ;
const integer FIELD_MONTH = 2 ;
const integer FIELD_WEEK_OF_YEAR = 3 ;
const integer FIELD_WEEK_OF_MONTH = 4 ;
const integer FIELD_DATE = 5 ;
const integer FIELD_DAY_OF_YEAR = 6 ;
const integer FIELD_DAY_OF_WEEK = 7 ;
const integer FIELD_DAY_OF_WEEK_IN_MONTH = 8 ;
const integer FIELD_AM_PM = 9 ;
const integer FIELD_HOUR = 10 ;
const integer FIELD_HOUR_OF_DAY = 11 ;
const integer FIELD_MINUTE = 12 ;
const integer FIELD_SECOND = 13 ;
const integer FIELD_MILLISECOND = 14 ;
const integer FIELD_ZONE_OFFSET = 15 ;
const integer FIELD_DST_OFFSET = 16 ;
const integer FIELD_YEAR_WOY = 17 ;
const integer FIELD_DOW_LOCAL = 18 ;
const integer FIELD_EXTENDED_YEAR = 19 ;
const integer FIELD_JULIAN_DAY = 20 ;
const integer FIELD_MILLISECONDS_IN_DAY = 21 ;
const integer FIELD_IS_LEAP_MONTH = 22 ;
const integer FIELD_FIELD_COUNT = 23 ;
const integer FIELD_DAY_OF_MONTH = 5 ;
const integer DOW_SUNDAY = 1 ;
const integer DOW_MONDAY = 2 ;
const integer DOW_TUESDAY = 3 ;
const integer DOW_WEDNESDAY = 4 ;
const integer DOW_THURSDAY = 5 ;
const integer DOW_FRIDAY = 6 ;
const integer DOW_SATURDAY = 7 ;
const integer DOW_TYPE_WEEKDAY = 0 ;
const integer DOW_TYPE_WEEKEND = 1 ;
const integer DOW_TYPE_WEEKEND_OFFSET = 2 ;
const integer DOW_TYPE_WEEKEND_CEASE = 3 ;
const integer WALLTIME_FIRST = 1 ;
const integer WALLTIME_LAST = 0 ;
const integer WALLTIME_NEXT_VALID = 2 ;
/* Methoden */
public __construct ([ IntlTimeZone $tz [, string $locale ]] )
public float getGregorianChange ( void )
public bool isLeapYear ( int $year )
public bool setGregorianChange ( float $date )
/* Geerbte Methoden */
public bool IntlCalendar::add ( int $field , int $amount )
bool intlcal_add ( IntlCalendar $cal , int $field , int $amount )
public bool IntlCalendar::after ( IntlCalendar $other )
bool intlcal_after ( IntlCalendar $cal , IntlCalendar $other )
public bool IntlCalendar::before ( IntlCalendar $other )
bool intlcal_before ( IntlCalendar $cal , IntlCalendar $other )
public bool IntlCalendar::clear ([ int $field = NULL ] )
bool intlcal_clear ( IntlCalendar $cal [, int $field = NULL ] )
private IntlCalendar::__construct ( void )
public static IntlCalendar IntlCalendar::createInstance ([ mixed $timeZone = NULL [, string $locale = "" ]] )
IntlCalendar intlcal_create_instance ([ mixed $timeZone = NULL [, string $locale = "" ]] )
public bool IntlCalendar::equals ( IntlCalendar $other )
bool intlcal_equals ( IntlCalendar $cal , IntlCalendar $other )
public int IntlCalendar::fieldDifference ( float $when , int $field )
int intlcal_field_difference ( IntlCalendar $cal , float $when , int $field )
public static IntlCalendar IntlCalendar::fromDateTime ( mixed $dateTime )
IntlCalendar intlcal_from_date_time ( mixed $dateTime )
public int IntlCalendar::get ( int $field )
int intlcal_get ( IntlCalendar $cal , int $field )
public int IntlCalendar::getActualMaximum ( int $field )
int intlcal_get_actual_maximum ( IntlCalendar $cal , int $field )
public int IntlCalendar::getActualMinimum ( int $field )
int intlcal_get_actual_minimum ( IntlCalendar $cal , int $field )
public static array IntlCalendar::getAvailableLocales ( void )
array intlcal_get_available_locales ( void )
public int IntlCalendar::getDayOfWeekType ( int $dayOfWeek )
int intlcal_get_day_of_week_type ( IntlCalendar $cal , int $dayOfWeek )
public int IntlCalendar::getErrorCode ( void )
public string IntlCalendar::getErrorMessage ( void )
public int IntlCalendar::getFirstDayOfWeek ( void )
int intlcal_get_first_day_of_week ( IntlCalendar $cal )
public int IntlCalendar::getGreatestMinimum ( int $field )
int intlcal_get_greatest_minimum ( IntlCalendar $cal , int $field )
public static Iterator IntlCalendar::getKeywordValuesForLocale ( string $key , string $locale , bool $commonlyUsed )
Iterator intlcal_get_keyword_values_for_locale ( string $key , string $locale , bool $commonlyUsed )
public int IntlCalendar::getLeastMaximum ( int $field )
int intlcal_get_least_maximum ( IntlCalendar $cal , int $field )
public string IntlCalendar::getLocale ( int $localeType )
string intlcal_get_locale ( IntlCalendar $cal , int $localeType )
public int IntlCalendar::getMaximum ( int $field )
int intlcal_get_maximum ( IntlCalendar $cal , int $field )
int intlcal_get_minimal_days_in_first_week ( IntlCalendar $cal )
public int IntlCalendar::getMinimum ( int $field )
int intlcal_get_minimum ( IntlCalendar $cal , int $field )
public static float IntlCalendar::getNow ( void )
float intlcal_get_now ( void )
int intlcal_get_repeated_wall_time_option ( IntlCalendar $cal )
int intlcal_get_skipped_wall_time_option ( IntlCalendar $cal )
public float IntlCalendar::getTime ( void )
float intlcal_get_time ( IntlCalendar $cal )
public IntlTimeZone IntlCalendar::getTimeZone ( void )
IntlTimeZone intlcal_get_time_zone ( IntlCalendar $cal )
public string IntlCalendar::getType ( void )
string intlcal_get_type ( IntlCalendar $cal )
public int IntlCalendar::getWeekendTransition ( string $dayOfWeek )
int intlcal_get_weekend_transition ( IntlCalendar $cal , string $dayOfWeek )
public bool IntlCalendar::inDaylightTime ( void )
bool intlcal_in_daylight_time ( IntlCalendar $cal )
bool intlcal_is_equivalent_to ( IntlCalendar $cal , IntlCalendar $other )
public bool IntlCalendar::isLenient ( void )
bool intlcal_is_lenient ( IntlCalendar $cal )
public bool IntlCalendar::isSet ( int $field )
bool intlcal_is_set ( IntlCalendar $cal , int $field )
public bool IntlCalendar::isWeekend ([ float $date = NULL ] )
bool intlcal_is_weekend ( IntlCalendar $cal [, float $date = NULL ] )
public bool IntlCalendar::roll ( int $field , mixed $amountOrUpOrDown )
bool intlcal_roll ( IntlCalendar $cal , int $field , mixed $amountOrUpOrDown )
public bool IntlCalendar::set ( int $field , int $value )
public bool IntlCalendar::set ( int $year , int $month [, int $dayOfMonth = NULL [, int $hour = NULL [, int $minute = NULL [, int $second = NULL ]]]] )
bool intlcal_set ( IntlCalendar $cal , int $field , int $value )
bool intlcal_set ( IntlCalendar $cal , int $year , int $month [, int $dayOfMonth = NULL [, int $hour = NULL [, int $minute = NULL [, int $second = NULL ]]]] )
public bool IntlCalendar::setFirstDayOfWeek ( int $dayOfWeek )
bool intlcal_set_first_day_of_week ( IntlCalendar $cal , int $dayOfWeek )
public bool IntlCalendar::setLenient ( bool $isLenient )
bool intlcal_set_lenient ( IntlCalendar $cal , bool $isLenient )
public bool IntlCalendar::setMinimalDaysInFirstWeek ( int $minimalDays )
bool intlcal_get_minimal_days_in_first_week ( IntlCalendar $cal , int $minimalDays )
public bool IntlCalendar::setRepeatedWallTimeOption ( int $wallTimeOption )
bool intlcal_set_repeated_wall_time_option ( IntlCalendar $cal , int $wallTimeOption )
public bool IntlCalendar::setSkippedWallTimeOption ( int $wallTimeOption )
bool intlcal_set_skipped_wall_time_option ( IntlCalendar $cal , int $wallTimeOption )
public bool IntlCalendar::setTime ( float $date )
bool intlcal_set_time ( IntlCalendar $cal , float $date )
public bool IntlCalendar::setTimeZone ( mixed $timeZone )
bool intlcal_set_time_zone ( IntlCalendar $cal , mixed $timeZone )
public DateTime IntlCalendar::toDateTime ( void )
DateTime intlcal_to_date_time ( IntlCalendar $cal )
}

Vordefinierte Konstanten

IntlGregorianCalendar::FIELD_ERA

IntlGregorianCalendar::FIELD_YEAR

IntlGregorianCalendar::FIELD_MONTH

IntlGregorianCalendar::FIELD_WEEK_OF_YEAR

IntlGregorianCalendar::FIELD_WEEK_OF_MONTH

IntlGregorianCalendar::FIELD_DATE

IntlGregorianCalendar::FIELD_DAY_OF_YEAR

IntlGregorianCalendar::FIELD_DAY_OF_WEEK

IntlGregorianCalendar::FIELD_DAY_OF_WEEK_IN_MONTH

IntlGregorianCalendar::FIELD_AM_PM

IntlGregorianCalendar::FIELD_HOUR

IntlGregorianCalendar::FIELD_HOUR_OF_DAY

IntlGregorianCalendar::FIELD_MINUTE

IntlGregorianCalendar::FIELD_SECOND

IntlGregorianCalendar::FIELD_MILLISECOND

IntlGregorianCalendar::FIELD_ZONE_OFFSET

IntlGregorianCalendar::FIELD_DST_OFFSET

IntlGregorianCalendar::FIELD_YEAR_WOY

IntlGregorianCalendar::FIELD_DOW_LOCAL

IntlGregorianCalendar::FIELD_EXTENDED_YEAR

IntlGregorianCalendar::FIELD_JULIAN_DAY

IntlGregorianCalendar::FIELD_MILLISECONDS_IN_DAY

IntlGregorianCalendar::FIELD_IS_LEAP_MONTH

IntlGregorianCalendar::FIELD_FIELD_COUNT

IntlGregorianCalendar::FIELD_DAY_OF_MONTH

IntlGregorianCalendar::DOW_SUNDAY

IntlGregorianCalendar::DOW_MONDAY

IntlGregorianCalendar::DOW_TUESDAY

IntlGregorianCalendar::DOW_WEDNESDAY

IntlGregorianCalendar::DOW_THURSDAY

IntlGregorianCalendar::DOW_FRIDAY

IntlGregorianCalendar::DOW_SATURDAY

IntlGregorianCalendar::DOW_TYPE_WEEKDAY

IntlGregorianCalendar::DOW_TYPE_WEEKEND

IntlGregorianCalendar::DOW_TYPE_WEEKEND_OFFSET

IntlGregorianCalendar::DOW_TYPE_WEEKEND_CEASE

IntlGregorianCalendar::WALLTIME_FIRST

IntlGregorianCalendar::WALLTIME_LAST

IntlGregorianCalendar::WALLTIME_NEXT_VALID

Inhaltsverzeichnis

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top