class TZInfo::Timezone

def get(identifier)

Experimental RBS support (using type sampling data from the type_fusion project).

def get: (String identifier) -> untyped

This signature was generated using 2 samples from 1 application.

Raises:
  • (InvalidTimezoneIdentifier) - if the `identifier` is not valid.

Returns:
  • (Timezone) - the {Timezone} with the given `identifier`.

Parameters:
  • identifier (String) -- an IANA Time Zone Database time zone
def get(identifier)
  data_source.get_timezone_info(identifier).create_timezone
end