Returns whether the bounding box specified by the Open Location Code contains provided point.
Returns whether the bounding box specified by the Open Location Code contains provided point.
Decodes this object into a OpenLocationCodeArea object encapsulating latitude/longitude bounding box. This method doesn't allocate when not throwing an exception.
Decodes this object into a OpenLocationCodeArea object encapsulating latitude/longitude bounding box. This method doesn't allocate when not throwing an exception.
Returns whether this OpenLocationCode is a full Open Location Code.
Returns whether this OpenLocationCode is a padded Open Location Code, meaning that it contains less than 8 valid digits.
Returns whether this OpenLocationCode is a short Open Location Code.
Recover the nearest match (if the code was a short code) representing a full Open Location Code from this (short) Open Location Code, given the reference location.
Returns short OpenLocationCode from the full Open Location Code created by removing four or six digits, depending on the provided reference point. It removes as many digits as possible.
Returns short OpenLocationCode from the full Open Location Code created by removing four or six digits, depending on the provided reference point. It removes as many digits as possible. Assumes this is a full code which isn't padded.
Decodes this object into a OpenLocationCodeArea object encapsulating latitude/longitude bounding box. This method doesn't allocate when not throwing an exception.
Creates Open Location Code.
Creates Open Location Code object for the provided code.
Creates Open Location Code object for the provided code performing no validation. This should call isValidCode before and abort if not valid.
Represents an open location code.