ICanBoogie/CLDR master
  • Namespace
  • Class

Namespaces

  • ICanBoogie
    • CLDR
      • Plurals
      • Units

Classes

  • AbstractCollection
  • AbstractSectionCollection
  • Calendar
  • CalendarCollection
  • ContextTransforms
  • Currency
  • CurrencyCollection
  • CurrencyFormatter
  • DateFormatter
  • DateTimeAccessor
  • DateTimeFormatter
  • FileProvider
  • ListFormatter
  • Locale
  • LocaleCollection
  • LocalizedCurrency
  • LocalizedDateTime
  • LocalizedListFormatter
  • LocalizedLocale
  • LocalizedNumberFormatter
  • LocalizedObject
  • LocalizedObjectWithFormatter
  • LocalizedTerritory
  • Number
  • NumberFormatter
  • NumberPattern
  • NumberPatternParser
  • Numbers
  • Plurals
  • ProviderCollection
  • RedisProvider
  • Repository
  • RunTimeProvider
  • Supplemental
  • Territory
  • TerritoryCollection
  • TimeFormatter
  • Units
  • WebProvider

Interfaces

  • Exception
  • Formatter
  • LocalizeAwareInterface
  • Provider

Traits

  • CodePropertyTrait
  • CollectionTrait
  • LocalePropertyTrait
  • LocalizeTrait
  • ProviderStorageBinding
  • RepositoryPropertyTrait

Exceptions

  • ResourceNotFound
  • TerritoryNotDefined

Class DateTimeAccessor

Namespace: ICanBoogie\CLDR
Located at DateTimeAccessor.php

Methods summary

public
# __construct( DateTimeInterface $datetime )

Parameters

$datetime
public
# __get( $property )

Inheritdoc

public
# __call( $name, $params )

Inheritdoc

Magic methods summary

public string
# format( string $format )

Parameters

$format

Returns

string

Properties summary

Magic properties

public read-only integer $timestamp

Unix timestamp.

public read-only integer $year

Year.

public read-only integer $month

Month of the year.

public read-only integer $day

Day of the month.

public read-only integer $hour

Hour of the day.

public read-only integer $minute

Minute of the hour.

public read-only integer $second

Second of the minute.

public read-only integer $quarter

Quarter of the year.

public read-only integer $week

Week of the year.

public read-only integer $weekday

Day of the week.

public read-only integer $year_day

Day of the year.

ICanBoogie/CLDR master API documentation generated by ApiGen