OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:countryzoneusage
(Results
1 - 5
of
5
) sorted by null
/system/timezone/tzlookup_generator/src/test/java/com/android/libcore/timezone/tzlookup/zonetree/
CountryZoneUsageTest.java
32
CountryZoneUsage
countryZoneUsage
= new
CountryZoneUsage
("us");
33
assertEquals("us",
countryZoneUsage
.getIsoCode());
38
CountryZoneUsage
countryZoneUsage
= new
CountryZoneUsage
("us");
40
assertFalse(
countryZoneUsage
.hasEntry(missingZoneId));
42
countryZoneUsage
.getNotUsedAfterInstant(missingZoneId);
50
CountryZoneUsage
countryZoneUsage = new CountryZoneUsage("us")
[
all
...]
CountryZoneTreeTest.java
54
CountryZoneUsage
zoneUsage = zoneTree.calculateCountryZoneUsage(NOT_USED_AFTER_CUT_OFF);
104
CountryZoneUsage
countryZoneUsage
=
106
assertNull(
countryZoneUsage
.getNotUsedAfterInstant("Europe/Berlin"));
110
countryZoneUsage
.getNotUsedAfterInstant("Europe/Busingen"));
151
CountryZoneUsage
countryZoneUsage
=
156
countryZoneUsage
.getNotUsedAfterInstant("Australia/Lindeman"));
157
assertNull(
countryZoneUsage
.getNotUsedAfterInstant("Australia/Brisbane"));
/system/timezone/tzlookup_generator/src/main/java/com/android/libcore/timezone/tzlookup/zonetree/
CountryZoneUsage.java
25
public final class
CountryZoneUsage
{
29
public
CountryZoneUsage
(String isoCode) {
CountryZoneTree.java
494
* Creates a {@link
CountryZoneUsage
} object from the tree.
496
public
CountryZoneUsage
calculateCountryZoneUsage(Instant notAfterCutOff) {
498
private final
CountryZoneUsage
zoneUsage = new
CountryZoneUsage
(countryIso);
537
private
CountryZoneUsage
getCountryZoneUsage() {
/system/timezone/tzlookup_generator/src/main/java/com/android/libcore/timezone/tzlookup/
TzLookupGenerator.java
20
import com.android.libcore.timezone.tzlookup.zonetree.
CountryZoneUsage
;
301
// Calculate
countryZoneUsage
.
302
CountryZoneUsage
countryZoneUsage
=
304
if (
countryZoneUsage
== null) {
325
if (!
countryZoneUsage
.hasEntry(timeZoneInId)) {
328
"No entry in
CountryZoneUsage
for " + timeZoneInId);
335
countryZoneUsage
.getNotUsedAfterInstant(timeZoneInId);
471
private static
CountryZoneUsage
calculateCountryZoneUsage(
Completed in 142 milliseconds