OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:PhoneNumberToTimeZonesMapper
(Results
1 - 4
of
4
) sorted by null
/external/libphonenumber/geocoder/src/com/google/i18n/phonenumbers/
PhoneNumberToTimeZonesMapper.java
35
public class
PhoneNumberToTimeZonesMapper
{
49
Logger.getLogger(
PhoneNumberToTimeZonesMapper
.class.getName());
54
PhoneNumberToTimeZonesMapper
(String prefixTimeZonesMapDataDirectory) {
59
private
PhoneNumberToTimeZonesMapper
(PrefixTimeZonesMap prefixTimeZonesMap) {
64
InputStream source =
PhoneNumberToTimeZonesMapper
.class.getResourceAsStream(path);
89
* Helper class used for lazy instantiation of a
PhoneNumberToTimeZonesMapper
. This also loads the
93
private static final
PhoneNumberToTimeZonesMapper
INSTANCE;
97
INSTANCE = new
PhoneNumberToTimeZonesMapper
(map);
102
* Gets a {@link
PhoneNumberToTimeZonesMapper
} instance.
104
* <p> The {@link
PhoneNumberToTimeZonesMapper
} is implemented as a singleton. Therefore, callin
[
all
...]
/external/libphonenumber/repackaged/geocoder/src/com/android/i18n/phonenumbers/
PhoneNumberToTimeZonesMapper.java
37
public class
PhoneNumberToTimeZonesMapper
{
51
Logger.getLogger(
PhoneNumberToTimeZonesMapper
.class.getName());
56
PhoneNumberToTimeZonesMapper
(String prefixTimeZonesMapDataDirectory) {
61
private
PhoneNumberToTimeZonesMapper
(PrefixTimeZonesMap prefixTimeZonesMap) {
66
InputStream source =
PhoneNumberToTimeZonesMapper
.class.getResourceAsStream(path);
91
* Helper class used for lazy instantiation of a
PhoneNumberToTimeZonesMapper
. This also loads the
95
private static final
PhoneNumberToTimeZonesMapper
INSTANCE;
99
INSTANCE = new
PhoneNumberToTimeZonesMapper
(map);
104
* Gets a {@link
PhoneNumberToTimeZonesMapper
} instance.
106
* <p> The {@link
PhoneNumberToTimeZonesMapper
} is implemented as a singleton. Therefore, callin
[
all
...]
/external/libphonenumber/geocoder/test/com/google/i18n/phonenumbers/
PhoneNumberToTimeZonesMapperTest.java
26
* Unit tests for
PhoneNumberToTimeZonesMapper
.java
31
private final
PhoneNumberToTimeZonesMapper
prefixTimeZonesMapper =
32
new
PhoneNumberToTimeZonesMapper
(TEST_MAPPING_DATA_DIRECTORY);
80
assertEquals(
PhoneNumberToTimeZonesMapper
.UNKNOWN_TIME_ZONE_LIST,
82
assertEquals(
PhoneNumberToTimeZonesMapper
.UNKNOWN_TIME_ZONE_LIST,
96
assertEquals(
PhoneNumberToTimeZonesMapper
.UNKNOWN_TIME_ZONE_LIST,
99
assertEquals(
PhoneNumberToTimeZonesMapper
.UNKNOWN_TIME_ZONE_LIST,
121
assertEquals(
PhoneNumberToTimeZonesMapper
.UNKNOWN_TIME_ZONE_LIST,
125
assertEquals(
PhoneNumberToTimeZonesMapper
.UNKNOWN_TIME_ZONE_LIST,
/external/libphonenumber/demo/src/com/google/phonenumbers/
PhoneNumberParserServlet.java
27
import com.google.i18n.phonenumbers.
PhoneNumberToTimeZonesMapper
;
380
output.append("<TR><TD colspan=2>
PhoneNumberToTimeZonesMapper
Results</TD></TR>");
383
PhoneNumberToTimeZonesMapper
.getInstance().getTimeZonesForNumber(number).toString(),
Completed in 271 milliseconds