Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Repo\Parsers\TimeParserFactory Class Reference

Public Member Functions

 __construct (ParserOptions $options=null, MonthNameProvider $monthNameProvider=null)
 
 getTimeParser ()
 
 getMonthNameUnlocalizer ()
 

Public Attributes

const CANONICAL_LANGUAGE_CODE = 'en'
 Default, canonical language code.
 

Private Member Functions

 getTimeParsers ()
 
 getDigitGroupSeparator ()
 

Private Attributes

 $options
 
 $monthNameProvider
 

Detailed Description

Author
Addshore
Thiemo Kreuz

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\Parsers\TimeParserFactory::__construct ( ParserOptions  $options = null,
MonthNameProvider  $monthNameProvider = null 
)
Parameters
ParserOptions | null$options
MonthNameProvider | null$monthNameProvider

Member Function Documentation

◆ getDigitGroupSeparator()

Wikibase\Repo\Parsers\TimeParserFactory::getDigitGroupSeparator ( )
private
Returns
string

◆ getMonthNameUnlocalizer()

Wikibase\Repo\Parsers\TimeParserFactory::getMonthNameUnlocalizer ( )
Returns
MonthNameUnlocalizer

◆ getTimeParser()

Wikibase\Repo\Parsers\TimeParserFactory::getTimeParser ( )
Returns
ValueParser

◆ getTimeParsers()

Wikibase\Repo\Parsers\TimeParserFactory::getTimeParsers ( )
private
Returns
ValueParser[]

Member Data Documentation

◆ $monthNameProvider

Wikibase\Repo\Parsers\TimeParserFactory::$monthNameProvider
private

◆ $options

Wikibase\Repo\Parsers\TimeParserFactory::$options
private

◆ CANONICAL_LANGUAGE_CODE

const Wikibase\Repo\Parsers\TimeParserFactory::CANONICAL_LANGUAGE_CODE = 'en'

Default, canonical language code.

In the MediaWiki world this is always English.


The documentation for this class was generated from the following file: