PHP 클래스 libphonenumber\prefixmapper\PrefixTimeZonesMap

파일 보기 프로젝트 열기: giggsey/libphonenumber-for-php 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$phonePrefixMap

공개 메소드들

메소드 설명
__construct ( $map )
lookupCountryLevelTimeZonesForNumber ( PhoneNumber $number ) : array Returns the list of time zones {@code number}'s calling country code corresponds to.
lookupTimeZonesForNumber ( PhoneNumber $number ) : array As per {@link #lookupTimeZonesForNumber(long)}, but receives the number as a PhoneNumber instead of a long.

보호된 메소드들

메소드 설명
lookupTimeZonesForNumberKey ( $key ) : array Returns the list of time zones {@code key} corresponds to.
tokenizeRawOutputString ( $timezonesString ) : array Split {@code timezonesString} into all the time zones that are part of it.

메소드 상세

__construct() 공개 메소드

public __construct ( $map )

lookupCountryLevelTimeZonesForNumber() 공개 메소드

Returns the list of time zones {@code number}'s calling country code corresponds to.
public lookupCountryLevelTimeZonesForNumber ( PhoneNumber $number ) : array
$number libphonenumber\PhoneNumber PhoneNumber the phone number to look up
리턴 array the list of corresponding time zones

lookupTimeZonesForNumber() 공개 메소드

As per {@link #lookupTimeZonesForNumber(long)}, but receives the number as a PhoneNumber instead of a long.
public lookupTimeZonesForNumber ( PhoneNumber $number ) : array
$number libphonenumber\PhoneNumber PhoneNumber the phone number to look up
리턴 array the list of corresponding time zones

lookupTimeZonesForNumberKey() 보호된 메소드

{@code key} could be the calling country code and the full significant number of a certain number, or it could be just a phone-number prefix. For example, the full number 16502530000 (from the phone-number +1 650 253 0000) is a valid input. Also, any of its prefixes, such as 16502, is also valid.

protected lookupTimeZonesForNumberKey ( $key ) : array
$key int the key to look up
리턴 array the list of corresponding time zones

tokenizeRawOutputString() 보호된 메소드

Split {@code timezonesString} into all the time zones that are part of it.
protected tokenizeRawOutputString ( $timezonesString ) : array
$timezonesString String
리턴 array

프로퍼티 상세

$phonePrefixMap 보호되어 있는 프로퍼티

protected $phonePrefixMap