Class: Code::Object::Time
- Inherits:
-
Code::Object
- Object
- Code::Object
- Code::Object::Time
- Defined in:
- lib/code/object/time.rb
Constant Summary collapse
- CLASS_DOCUMENTATION =
{ name: "Time", description: "represents a zoned point in time with arithmetic and formatting.", examples: [ "Time.now", "Time.new(\"2024-03-05.06:10:59.UTC\")", "Time.zone = \"Etc/UTC\"" ] }.freeze
- DEFAULT_ZONE =
"Etc/UTC"- CLASS_FUNCTIONS =
{ "zone" => { name: "zone", description: "returns the current default time zone name.", examples: [ "Time.zone", "Time.zone = \"Etc/UTC\" Time.zone", "Time.zone = \"Europe/Paris\" Time.zone" ] }, "zone=" => { name: "zone=", description: "sets the default time zone and returns it.", examples: [ "Time.zone = \"Etc/UTC\"", "Time.zone = \"Europe/Paris\"", "Time.zone = \"America/New_York\"" ] }, "now" => { name: "now", description: "returns the current time.", examples: [ "Time.now", "Time.zone = \"Etc/UTC\" Time.now", "Time.zone = \"Europe/Paris\" Time.now" ] }, "tomorrow" => { name: "tomorrow", description: "returns this time tomorrow.", examples: [ "Time.tomorrow", "Time.zone = \"Etc/UTC\" Time.tomorrow", "Time.now.tomorrow" ] }, "yesterday" => { name: "yesterday", description: "returns this time yesterday.", examples: [ "Time.yesterday", "Time.zone = \"Etc/UTC\" Time.yesterday", "Time.now.yesterday" ] } }.freeze
- INSTANCE_FUNCTIONS =
{ "zone" => { name: "zone", description: "returns the current default time zone name.", examples: [ "Time.new(\"2024-03-05 06:10:59 UTC\").zone", "Time.zone = \"Etc/UTC\" Time.new(\"2024-03-05 06:10:59 UTC\").zone", "Time.zone = \"Europe/Paris\" Time.new(\"2024-03-05 06:10:59 UTC\").zone" ] }, "after?" => { name: "after?", description: "returns whether the time is after another date or time.", examples: [ "Time.new(\"2024-03-05 06:10:59 UTC\").after?(Time.new(\"2024-03-05 06:10:58 UTC\"))", "Time.new(\"2024-03-05 06:10:59 UTC\").after?(Time.new(\"2024-03-05 06:11:00 UTC\"))", "Time.new(\"2024-03-05 06:10:59 UTC\").after?" ] }, "before?" => { name: "before?", description: "returns whether the time is before another date or time.", examples: [ "Time.new(\"2024-03-05 06:10:59 UTC\").before?(Time.new(\"2024-03-05 06:11:00 UTC\"))", "Time.new(\"2024-03-05 06:10:59 UTC\").before?(Time.new(\"2024-03-05 06:10:58 UTC\"))", "Time.new(\"2024-03-05 06:10:59 UTC\").before?" ] }, "past?" => { name: "past?", description: "returns whether the time is before the current time.", examples: [ "Time.new(\"2024-03-05 06:10:59 UTC\").past?", "Time.now.past?", "Time.tomorrow.past?" ] }, "future?" => { name: "future?", description: "returns whether the time is after the current time.", examples: [ "Time.new(\"2024-03-05 06:10:59 UTC\").future?", "Time.now.future?", "Time.tomorrow.future?" ] }, "year" => { name: "year", description: "returns the year component.", examples: [ "Time.new(\"2024-03-05 06:10:59 UTC\").year", "Time.new(\"2024-01-01 00:00:00 UTC\").year", "Time.new(\"2024-12-31 23:59:59 UTC\").year" ] }, "years" => { name: "years", description: "returns the year component.", examples: [ "Time.new(\"2024-03-05 06:10:59 UTC\").years", "Time.new(\"2024-01-01 00:00:00 UTC\").years", "Time.new(\"2024-12-31 23:59:59 UTC\").years" ] }, "month" => { name: "month", description: "returns the month component.", examples: [ "Time.new(\"2024-03-05 06:10:59 UTC\").month", "Time.new(\"2024-01-01 00:00:00 UTC\").month", "Time.new(\"2024-12-31 23:59:59 UTC\").month" ] }, "months" => { name: "months", description: "returns the month component.", examples: [ "Time.new(\"2024-03-05 06:10:59 UTC\").months", "Time.new(\"2024-01-01 00:00:00 UTC\").months", "Time.new(\"2024-12-31 23:59:59 UTC\").months" ] }, "week" => { name: "week", description: "returns the ISO week component.", examples: [ "Time.new(\"2024-03-05 06:10:59 UTC\").week", "Time.new(\"2024-01-01 00:00:00 UTC\").week", "Time.new(\"2024-12-31 23:59:59 UTC\").week" ] }, "weeks" => { name: "weeks", description: "returns the ISO week component.", examples: [ "Time.new(\"2024-03-05 06:10:59 UTC\").weeks", "Time.new(\"2024-01-01 00:00:00 UTC\").weeks", "Time.new(\"2024-12-31 23:59:59 UTC\").weeks" ] }, "week_day" => { name: "week_day", description: "returns the week day component.", examples: [ "Time.new(\"2024-03-05 06:10:59 UTC\").week_day", "Time.new(\"2024-01-01 00:00:00 UTC\").week_day", "Time.new(\"2024-12-31 23:59:59 UTC\").week_day" ] }, "week_days" => { name: "week_days", description: "returns the week day component.", examples: [ "Time.new(\"2024-03-05 06:10:59 UTC\").week_days", "Time.new(\"2024-01-01 00:00:00 UTC\").week_days", "Time.new(\"2024-12-31 23:59:59 UTC\").week_days" ] }, "day" => { name: "day", description: "returns the day component.", examples: [ "Time.new(\"2024-03-05 06:10:59 UTC\").day", "Time.new(\"2024-01-01 00:00:00 UTC\").day", "Time.new(\"2024-12-31 23:59:59 UTC\").day" ] }, "days" => { name: "days", description: "returns the day component.", examples: [ "Time.new(\"2024-03-05 06:10:59 UTC\").days", "Time.new(\"2024-01-01 00:00:00 UTC\").days", "Time.new(\"2024-12-31 23:59:59 UTC\").days" ] }, "hour" => { name: "hour", description: "returns the hour component.", examples: [ "Time.new(\"2024-03-05 06:10:59 UTC\").hour", "Time.new(\"2024-01-01 00:00:00 UTC\").hour", "Time.new(\"2024-12-31 23:59:59 UTC\").hour" ] }, "hours" => { name: "hours", description: "returns the hour component.", examples: [ "Time.new(\"2024-03-05 06:10:59 UTC\").hours", "Time.new(\"2024-01-01 00:00:00 UTC\").hours", "Time.new(\"2024-12-31 23:59:59 UTC\").hours" ] }, "minute" => { name: "minute", description: "returns the minute component.", examples: [ "Time.new(\"2024-03-05 06:10:59 UTC\").minute", "Time.new(\"2024-01-01 00:00:00 UTC\").minute", "Time.new(\"2024-12-31 23:59:59 UTC\").minute" ] }, "minutes" => { name: "minutes", description: "returns the minute component.", examples: [ "Time.new(\"2024-03-05 06:10:59 UTC\").minutes", "Time.new(\"2024-01-01 00:00:00 UTC\").minutes", "Time.new(\"2024-12-31 23:59:59 UTC\").minutes" ] }, "second" => { name: "second", description: "returns the second component.", examples: [ "Time.new(\"2024-03-05 06:10:59 UTC\").second", "Time.new(\"2024-01-01 00:00:00 UTC\").second", "Time.new(\"2024-12-31 23:59:59 UTC\").second" ] }, "seconds" => { name: "seconds", description: "returns the second component.", examples: [ "Time.new(\"2024-03-05 06:10:59 UTC\").seconds", "Time.new(\"2024-01-01 00:00:00 UTC\").seconds", "Time.new(\"2024-12-31 23:59:59 UTC\").seconds" ] }, "monday?" => { name: "monday?", description: "returns whether the time is a monday.", examples: [ "Time.new(\"2024-03-04 00:00:00 UTC\").monday?", "Time.new(\"2024-03-05 00:00:00 UTC\").monday?", "Time.new(\"2024-03-10 00:00:00 UTC\").monday?" ] }, "tuesday?" => { name: "tuesday?", description: "returns whether the time is a tuesday.", examples: [ "Time.new(\"2024-03-05 00:00:00 UTC\").tuesday?", "Time.new(\"2024-03-04 00:00:00 UTC\").tuesday?", "Time.new(\"2024-03-10 00:00:00 UTC\").tuesday?" ] }, "wednesday?" => { name: "wednesday?", description: "returns whether the time is a wednesday.", examples: [ "Time.new(\"2024-03-06 00:00:00 UTC\").wednesday?", "Time.new(\"2024-03-05 00:00:00 UTC\").wednesday?", "Time.new(\"2024-03-10 00:00:00 UTC\").wednesday?" ] }, "thursday?" => { name: "thursday?", description: "returns whether the time is a thursday.", examples: [ "Time.new(\"2024-03-07 00:00:00 UTC\").thursday?", "Time.new(\"2024-03-05 00:00:00 UTC\").thursday?", "Time.new(\"2024-03-10 00:00:00 UTC\").thursday?" ] }, "friday?" => { name: "friday?", description: "returns whether the time is a friday.", examples: [ "Time.new(\"2024-03-08 00:00:00 UTC\").friday?", "Time.new(\"2024-03-05 00:00:00 UTC\").friday?", "Time.new(\"2024-03-10 00:00:00 UTC\").friday?" ] }, "saturday?" => { name: "saturday?", description: "returns whether the time is a saturday.", examples: [ "Time.new(\"2024-03-09 00:00:00 UTC\").saturday?", "Time.new(\"2024-03-05 00:00:00 UTC\").saturday?", "Time.new(\"2024-03-10 00:00:00 UTC\").saturday?" ] }, "sunday?" => { name: "sunday?", description: "returns whether the time is a sunday.", examples: [ "Time.new(\"2024-03-10 00:00:00 UTC\").sunday?", "Time.new(\"2024-03-05 00:00:00 UTC\").sunday?", "Time.new(\"2024-03-04 00:00:00 UTC\").sunday?" ] }, "january?" => { name: "january?", description: "returns whether the time is in january.", examples: [ "Time.new(\"2024-01-01 00:00:00 UTC\").january?", "Time.new(\"2024-02-01 00:00:00 UTC\").january?", "Time.new(\"2024-12-31 23:59:59 UTC\").january?" ] }, "february?" => { name: "february?", description: "returns whether the time is in february.", examples: [ "Time.new(\"2024-02-01 00:00:00 UTC\").february?", "Time.new(\"2024-01-01 00:00:00 UTC\").february?", "Time.new(\"2024-12-31 23:59:59 UTC\").february?" ] }, "march?" => { name: "march?", description: "returns whether the time is in march.", examples: [ "Time.new(\"2024-03-01 00:00:00 UTC\").march?", "Time.new(\"2024-01-01 00:00:00 UTC\").march?", "Time.new(\"2024-12-31 23:59:59 UTC\").march?" ] }, "april?" => { name: "april?", description: "returns whether the time is in april.", examples: [ "Time.new(\"2024-04-01 00:00:00 UTC\").april?", "Time.new(\"2024-01-01 00:00:00 UTC\").april?", "Time.new(\"2024-12-31 23:59:59 UTC\").april?" ] }, "may?" => { name: "may?", description: "returns whether the time is in may.", examples: [ "Time.new(\"2024-05-01 00:00:00 UTC\").may?", "Time.new(\"2024-01-01 00:00:00 UTC\").may?", "Time.new(\"2024-12-31 23:59:59 UTC\").may?" ] }, "june?" => { name: "june?", description: "returns whether the time is in june.", examples: [ "Time.new(\"2024-06-01 00:00:00 UTC\").june?", "Time.new(\"2024-01-01 00:00:00 UTC\").june?", "Time.new(\"2024-12-31 23:59:59 UTC\").june?" ] }, "july?" => { name: "july?", description: "returns whether the time is in july.", examples: [ "Time.new(\"2024-07-01 00:00:00 UTC\").july?", "Time.new(\"2024-01-01 00:00:00 UTC\").july?", "Time.new(\"2024-12-31 23:59:59 UTC\").july?" ] }, "august?" => { name: "august?", description: "returns whether the time is in august.", examples: [ "Time.new(\"2024-08-01 00:00:00 UTC\").august?", "Time.new(\"2024-01-01 00:00:00 UTC\").august?", "Time.new(\"2024-12-31 23:59:59 UTC\").august?" ] }, "september?" => { name: "september?", description: "returns whether the time is in september.", examples: [ "Time.new(\"2024-09-01 00:00:00 UTC\").september?", "Time.new(\"2024-01-01 00:00:00 UTC\").september?", "Time.new(\"2024-12-31 23:59:59 UTC\").september?" ] }, "october?" => { name: "october?", description: "returns whether the time is in october.", examples: [ "Time.new(\"2024-10-01 00:00:00 UTC\").october?", "Time.new(\"2024-01-01 00:00:00 UTC\").october?", "Time.new(\"2024-12-31 23:59:59 UTC\").october?" ] }, "november?" => { name: "november?", description: "returns whether the time is in november.", examples: [ "Time.new(\"2024-11-01 00:00:00 UTC\").november?", "Time.new(\"2024-01-01 00:00:00 UTC\").november?", "Time.new(\"2024-12-31 23:59:59 UTC\").november?" ] }, "december?" => { name: "december?", description: "returns whether the time is in december.", examples: [ "Time.new(\"2024-12-01 00:00:00 UTC\").december?", "Time.new(\"2024-01-01 00:00:00 UTC\").december?", "Time.new(\"2024-12-31 23:59:59 UTC\").december?" ] }, "format" => { name: "format", description: "formats the time with an optional format and locale.", examples: [ "Time.new(\"2024-03-05 06:10:59 UTC\").format", "Time.new(\"2024-03-05 06:10:59 UTC\").format(:default)", "Time.new(\"2024-03-05 06:10:59 UTC\").format(\"%Y-%m-%d %H:%M:%S\")" ] }, "iso8601" => { name: "iso8601", description: "formats the time as an ISO 8601 string.", examples: [ "Time.new(\"2024-03-05 06:10:59 UTC\").iso8601", "Time.new(\"2024-01-01 00:00:00 UTC\").iso8601", "Time.new(\"2024-12-31 23:59:59 UTC\").iso8601" ] }, "iso" => { name: "iso", description: "formats the time as an ISO 8601 string.", examples: [ "Time.new(\"2024-03-05 06:10:59 UTC\").iso", "Time.new(\"2024-01-01 00:00:00 UTC\").iso", "Time.new(\"2024-12-31 23:59:59 UTC\").iso" ] }, "rfc2822" => { name: "rfc2822", description: "formats the time as an RFC 2822 string.", examples: [ "Time.new(\"2024-03-05 06:10:59 UTC\").rfc2822", "Time.new(\"2024-01-01 00:00:00 UTC\").rfc2822", "Time.new(\"2024-12-31 23:59:59 UTC\").rfc2822" ] }, "rfc3339" => { name: "rfc3339", description: "formats the time as an RFC 3339 string.", examples: [ "Time.new(\"2024-03-05 06:10:59 UTC\").rfc3339", "Time.new(\"2024-01-01 00:00:00 UTC\").rfc3339", "Time.new(\"2024-12-31 23:59:59 UTC\").rfc3339" ] }, "rfc" => { name: "rfc", description: "formats the time as an RFC 3339 string.", examples: [ "Time.new(\"2024-03-05 06:10:59 UTC\").rfc", "Time.new(\"2024-01-01 00:00:00 UTC\").rfc", "Time.new(\"2024-12-31 23:59:59 UTC\").rfc" ] }, "to_list" => { name: "to_list", description: "returns the time parts as a list.", examples: [ "Time.new(\"2024-03-05 06:10:59 UTC\").to_list", "Time.new(\"2024-01-01 00:00:00 UTC\").to_list", "Time.new(\"2024-12-31 23:59:59 UTC\").to_list" ] }, "to_integer" => { name: "to_integer", description: "converts the time to an integer timestamp.", examples: [ "Time.new(\"2024-03-05 06:10:59 UTC\").to_integer", "Time.new(\"1970-01-01 00:00:00 UTC\").to_integer", "Time.new(\"2024-12-31 23:59:59 UTC\").to_integer" ] }, "to_decimal" => { name: "to_decimal", description: "converts the time to a decimal timestamp.", examples: [ "Time.new(\"2024-03-05 06:10:59 UTC\").to_decimal", "Time.new(\"1970-01-01 00:00:00 UTC\").to_decimal", "Time.new(\"2024-12-31 23:59:59 UTC\").to_decimal" ] }, "utc_offset" => { name: "utc_offset", description: "returns the time zone UTC offset in seconds.", examples: [ "Time.new(\"2024-03-05 06:10:59 UTC\").utc_offset", "Time.zone = \"Etc/UTC\" Time.new(\"2024-03-05 06:10:59 UTC\").utc_offset", "Time.zone = \"Europe/Paris\" Time.new(\"2024-03-05 06:10:59 UTC\").utc_offset" ] }, "year_day" => { name: "year_day", description: "returns the day number within the year.", examples: [ "Time.new(\"2024-03-05 06:10:59 UTC\").year_day", "Time.new(\"2024-01-01 00:00:00 UTC\").year_day", "Time.new(\"2024-12-31 23:59:59 UTC\").year_day" ] }, "month_day" => { name: "month_day", description: "returns the day number within the month.", examples: [ "Time.new(\"2024-03-05 06:10:59 UTC\").month_day", "Time.new(\"2024-01-01 00:00:00 UTC\").month_day", "Time.new(\"2024-12-31 23:59:59 UTC\").month_day" ] }, "nanosecond" => { name: "nanosecond", description: "returns the nanosecond component.", examples: [ "Time.new(\"2024-03-05 06:10:59 UTC\").nanosecond", "Time.new(\"2024-01-01 00:00:00 UTC\").nanosecond", "Time.new(\"2024-12-31 23:59:59 UTC\").nanosecond" ] }, "nanoseconds" => { name: "nanoseconds", description: "returns the nanosecond component.", examples: [ "Time.new(\"2024-03-05 06:10:59 UTC\").nanoseconds", "Time.new(\"2024-01-01 00:00:00 UTC\").nanoseconds", "Time.new(\"2024-12-31 23:59:59 UTC\").nanoseconds" ] }, "millisecond" => { name: "millisecond", description: "returns the millisecond component.", examples: [ "Time.new(\"2024-03-05 06:10:59 UTC\").millisecond", "Time.new(\"2024-01-01 00:00:00 UTC\").millisecond", "Time.new(\"2024-12-31 23:59:59 UTC\").millisecond" ] }, "milliseconds" => { name: "milliseconds", description: "returns the millisecond component.", examples: [ "Time.new(\"2024-03-05 06:10:59 UTC\").milliseconds", "Time.new(\"2024-01-01 00:00:00 UTC\").milliseconds", "Time.new(\"2024-12-31 23:59:59 UTC\").milliseconds" ] }, "utc" => { name: "utc", description: "returns the time converted to UTC.", examples: [ "Time.new(\"2024-03-05 06:10:59 UTC\").utc", "Time.new(\"2024-01-01 00:00:00 UTC\").utc", "Time.new(\"2024-12-31 23:59:59 UTC\").utc" ] }, "utc?" => { name: "utc?", description: "returns whether the time is in the UTC time zone.", examples: [ "Time.new(\"2024-03-05 06:10:59 UTC\").utc?", "Time.zone = \"Etc/UTC\" Time.new(\"2024-03-05 06:10:59 UTC\").utc?", "Time.zone = \"Europe/Paris\" Time.new(\"2024-03-05 06:10:59 UTC\").utc?" ] }, "local" => { name: "local", description: "returns the time converted to the current local zone.", examples: [ "Time.new(\"2024-03-05 06:10:59 UTC\").local", "Time.zone = \"Etc/UTC\" Time.new(\"2024-03-05 06:10:59 UTC\").local", "Time.zone = \"Europe/Paris\" Time.new(\"2024-03-05 06:10:59 UTC\").local" ] }, "beginning_of_day" => { name: "beginning_of_day", description: "returns a time at the beginning of the day.", examples: [ "Time.new(\"2024-03-05 06:10:59 UTC\").beginning_of_day", "Time.new(\"2024-01-01 00:00:00 UTC\").beginning_of_day", "Time.new(\"2024-12-31 23:59:59 UTC\").beginning_of_day" ] }, "end_of_day" => { name: "end_of_day", description: "returns a time at the end of the day.", examples: [ "Time.new(\"2024-03-05 06:10:59 UTC\").end_of_day", "Time.new(\"2024-01-01 00:00:00 UTC\").end_of_day", "Time.new(\"2024-12-31 23:59:59 UTC\").end_of_day" ] }, "tomorrow" => { name: "tomorrow", description: "returns the time one day later.", examples: [ "Time.new(\"2024-03-05 06:10:59 UTC\").tomorrow", "Time.new(\"2024-01-01 00:00:00 UTC\").tomorrow", "Time.new(\"2024-12-31 23:59:59 UTC\").tomorrow" ] }, "yesterday" => { name: "yesterday", description: "returns the time one day earlier.", examples: [ "Time.new(\"2024-03-05 06:10:59 UTC\").yesterday", "Time.new(\"2024-01-01 00:00:00 UTC\").yesterday", "Time.new(\"2024-12-31 23:59:59 UTC\").yesterday" ] }, "add" => { name: "add", description: "returns a time with date or time parts added.", examples: [ "Time.new(\"2024-03-05 06:10:59 UTC\").add(second: 1)", "Time.new(\"2024-03-05 06:10:59 UTC\").add(day: 1)", "Time.new(\"2024-03-05 06:10:59 UTC\").add(year: 1)" ] }, "substract" => { name: "substract", description: "returns a time with date or time parts subtracted.", examples: [ "Time.new(\"2024-03-05 06:10:59 UTC\").substract(second: 1)", "Time.new(\"2024-03-05 06:10:59 UTC\").substract(day: 1)", "Time.new(\"2024-03-05 06:10:59 UTC\").substract(year: 1)" ] }, "subtract" => { name: "subtract", description: "returns a time with date or time parts subtracted.", examples: [ "Time.new(\"2024-03-05 06:10:59 UTC\").subtract(second: 1)", "Time.new(\"2024-03-05 06:10:59 UTC\").subtract(day: 1)", "Time.new(\"2024-03-05 06:10:59 UTC\").subtract(year: 1)" ] }, "change" => { name: "change", description: "returns a time with selected date or time parts changed.", examples: [ "Time.new(\"2024-03-05 06:10:59 UTC\").change(second: 1)", "Time.new(\"2024-03-05 06:10:59 UTC\").change(day: 1)", "Time.new(\"2024-03-05 06:10:59 UTC\").change(year: 2025)" ] }, "africa_abidjan?" => { name: "africa_abidjan?", description: "returns whether the current time zone matches africa/abidjan.", examples: [ "Time.africa_abidjan?", "Time.new(\"2024-03-05 06:10:59 UTC\").africa_abidjan?", "Time.zone = \"Etc/UTC\" Time.africa_abidjan?" ] }, "africa_accra?" => { name: "africa_accra?", description: "returns whether the current time zone matches africa/accra.", examples: [ "Time.africa_accra?", "Time.new(\"2024-03-05 06:10:59 UTC\").africa_accra?", "Time.zone = \"Etc/UTC\" Time.africa_accra?" ] }, "africa_addis_ababa?" => { name: "africa_addis_ababa?", description: "returns whether the current time zone matches africa/addis/ababa.", examples: [ "Time.africa_addis_ababa?", "Time.new(\"2024-03-05 06:10:59 UTC\").africa_addis_ababa?", "Time.zone = \"Etc/UTC\" Time.africa_addis_ababa?" ] }, "africa_algiers?" => { name: "africa_algiers?", description: "returns whether the current time zone matches africa/algiers.", examples: [ "Time.africa_algiers?", "Time.new(\"2024-03-05 06:10:59 UTC\").africa_algiers?", "Time.zone = \"Etc/UTC\" Time.africa_algiers?" ] }, "africa_asmara?" => { name: "africa_asmara?", description: "returns whether the current time zone matches africa/asmara.", examples: [ "Time.africa_asmara?", "Time.new(\"2024-03-05 06:10:59 UTC\").africa_asmara?", "Time.zone = \"Etc/UTC\" Time.africa_asmara?" ] }, "africa_asmera?" => { name: "africa_asmera?", description: "returns whether the current time zone matches africa/asmera.", examples: [ "Time.africa_asmera?", "Time.new(\"2024-03-05 06:10:59 UTC\").africa_asmera?", "Time.zone = \"Etc/UTC\" Time.africa_asmera?" ] }, "africa_bamako?" => { name: "africa_bamako?", description: "returns whether the current time zone matches africa/bamako.", examples: [ "Time.africa_bamako?", "Time.new(\"2024-03-05 06:10:59 UTC\").africa_bamako?", "Time.zone = \"Etc/UTC\" Time.africa_bamako?" ] }, "africa_bangui?" => { name: "africa_bangui?", description: "returns whether the current time zone matches africa/bangui.", examples: [ "Time.africa_bangui?", "Time.new(\"2024-03-05 06:10:59 UTC\").africa_bangui?", "Time.zone = \"Etc/UTC\" Time.africa_bangui?" ] }, "africa_banjul?" => { name: "africa_banjul?", description: "returns whether the current time zone matches africa/banjul.", examples: [ "Time.africa_banjul?", "Time.new(\"2024-03-05 06:10:59 UTC\").africa_banjul?", "Time.zone = \"Etc/UTC\" Time.africa_banjul?" ] }, "africa_bissau?" => { name: "africa_bissau?", description: "returns whether the current time zone matches africa/bissau.", examples: [ "Time.africa_bissau?", "Time.new(\"2024-03-05 06:10:59 UTC\").africa_bissau?", "Time.zone = \"Etc/UTC\" Time.africa_bissau?" ] }, "africa_blantyre?" => { name: "africa_blantyre?", description: "returns whether the current time zone matches africa/blantyre.", examples: [ "Time.africa_blantyre?", "Time.new(\"2024-03-05 06:10:59 UTC\").africa_blantyre?", "Time.zone = \"Etc/UTC\" Time.africa_blantyre?" ] }, "africa_brazzaville?" => { name: "africa_brazzaville?", description: "returns whether the current time zone matches africa/brazzaville.", examples: [ "Time.africa_brazzaville?", "Time.new(\"2024-03-05 06:10:59 UTC\").africa_brazzaville?", "Time.zone = \"Etc/UTC\" Time.africa_brazzaville?" ] }, "africa_bujumbura?" => { name: "africa_bujumbura?", description: "returns whether the current time zone matches africa/bujumbura.", examples: [ "Time.africa_bujumbura?", "Time.new(\"2024-03-05 06:10:59 UTC\").africa_bujumbura?", "Time.zone = \"Etc/UTC\" Time.africa_bujumbura?" ] }, "africa_cairo?" => { name: "africa_cairo?", description: "returns whether the current time zone matches africa/cairo.", examples: [ "Time.africa_cairo?", "Time.new(\"2024-03-05 06:10:59 UTC\").africa_cairo?", "Time.zone = \"Etc/UTC\" Time.africa_cairo?" ] }, "africa_casablanca?" => { name: "africa_casablanca?", description: "returns whether the current time zone matches africa/casablanca.", examples: [ "Time.africa_casablanca?", "Time.new(\"2024-03-05 06:10:59 UTC\").africa_casablanca?", "Time.zone = \"Etc/UTC\" Time.africa_casablanca?" ] }, "africa_ceuta?" => { name: "africa_ceuta?", description: "returns whether the current time zone matches africa/ceuta.", examples: [ "Time.africa_ceuta?", "Time.new(\"2024-03-05 06:10:59 UTC\").africa_ceuta?", "Time.zone = \"Etc/UTC\" Time.africa_ceuta?" ] }, "africa_conakry?" => { name: "africa_conakry?", description: "returns whether the current time zone matches africa/conakry.", examples: [ "Time.africa_conakry?", "Time.new(\"2024-03-05 06:10:59 UTC\").africa_conakry?", "Time.zone = \"Etc/UTC\" Time.africa_conakry?" ] }, "africa_dakar?" => { name: "africa_dakar?", description: "returns whether the current time zone matches africa/dakar.", examples: [ "Time.africa_dakar?", "Time.new(\"2024-03-05 06:10:59 UTC\").africa_dakar?", "Time.zone = \"Etc/UTC\" Time.africa_dakar?" ] }, "africa_dar_es_salaam?" => { name: "africa_dar_es_salaam?", description: "returns whether the current time zone matches africa/dar/es/salaam.", examples: [ "Time.africa_dar_es_salaam?", "Time.new(\"2024-03-05 06:10:59 UTC\").africa_dar_es_salaam?", "Time.zone = \"Etc/UTC\" Time.africa_dar_es_salaam?" ] }, "africa_djibouti?" => { name: "africa_djibouti?", description: "returns whether the current time zone matches africa/djibouti.", examples: [ "Time.africa_djibouti?", "Time.new(\"2024-03-05 06:10:59 UTC\").africa_djibouti?", "Time.zone = \"Etc/UTC\" Time.africa_djibouti?" ] }, "africa_douala?" => { name: "africa_douala?", description: "returns whether the current time zone matches africa/douala.", examples: [ "Time.africa_douala?", "Time.new(\"2024-03-05 06:10:59 UTC\").africa_douala?", "Time.zone = \"Etc/UTC\" Time.africa_douala?" ] }, "africa_el_aaiun?" => { name: "africa_el_aaiun?", description: "returns whether the current time zone matches africa/el/aaiun.", examples: [ "Time.africa_el_aaiun?", "Time.new(\"2024-03-05 06:10:59 UTC\").africa_el_aaiun?", "Time.zone = \"Etc/UTC\" Time.africa_el_aaiun?" ] }, "africa_freetown?" => { name: "africa_freetown?", description: "returns whether the current time zone matches africa/freetown.", examples: [ "Time.africa_freetown?", "Time.new(\"2024-03-05 06:10:59 UTC\").africa_freetown?", "Time.zone = \"Etc/UTC\" Time.africa_freetown?" ] }, "africa_gaborone?" => { name: "africa_gaborone?", description: "returns whether the current time zone matches africa/gaborone.", examples: [ "Time.africa_gaborone?", "Time.new(\"2024-03-05 06:10:59 UTC\").africa_gaborone?", "Time.zone = \"Etc/UTC\" Time.africa_gaborone?" ] }, "africa_harare?" => { name: "africa_harare?", description: "returns whether the current time zone matches africa/harare.", examples: [ "Time.africa_harare?", "Time.new(\"2024-03-05 06:10:59 UTC\").africa_harare?", "Time.zone = \"Etc/UTC\" Time.africa_harare?" ] }, "africa_johannesburg?" => { name: "africa_johannesburg?", description: "returns whether the current time zone matches africa/johannesburg.", examples: [ "Time.africa_johannesburg?", "Time.new(\"2024-03-05 06:10:59 UTC\").africa_johannesburg?", "Time.zone = \"Etc/UTC\" Time.africa_johannesburg?" ] }, "africa_juba?" => { name: "africa_juba?", description: "returns whether the current time zone matches africa/juba.", examples: [ "Time.africa_juba?", "Time.new(\"2024-03-05 06:10:59 UTC\").africa_juba?", "Time.zone = \"Etc/UTC\" Time.africa_juba?" ] }, "africa_kampala?" => { name: "africa_kampala?", description: "returns whether the current time zone matches africa/kampala.", examples: [ "Time.africa_kampala?", "Time.new(\"2024-03-05 06:10:59 UTC\").africa_kampala?", "Time.zone = \"Etc/UTC\" Time.africa_kampala?" ] }, "africa_khartoum?" => { name: "africa_khartoum?", description: "returns whether the current time zone matches africa/khartoum.", examples: [ "Time.africa_khartoum?", "Time.new(\"2024-03-05 06:10:59 UTC\").africa_khartoum?", "Time.zone = \"Etc/UTC\" Time.africa_khartoum?" ] }, "africa_kigali?" => { name: "africa_kigali?", description: "returns whether the current time zone matches africa/kigali.", examples: [ "Time.africa_kigali?", "Time.new(\"2024-03-05 06:10:59 UTC\").africa_kigali?", "Time.zone = \"Etc/UTC\" Time.africa_kigali?" ] }, "africa_kinshasa?" => { name: "africa_kinshasa?", description: "returns whether the current time zone matches africa/kinshasa.", examples: [ "Time.africa_kinshasa?", "Time.new(\"2024-03-05 06:10:59 UTC\").africa_kinshasa?", "Time.zone = \"Etc/UTC\" Time.africa_kinshasa?" ] }, "africa_lagos?" => { name: "africa_lagos?", description: "returns whether the current time zone matches africa/lagos.", examples: [ "Time.africa_lagos?", "Time.new(\"2024-03-05 06:10:59 UTC\").africa_lagos?", "Time.zone = \"Etc/UTC\" Time.africa_lagos?" ] }, "africa_libreville?" => { name: "africa_libreville?", description: "returns whether the current time zone matches africa/libreville.", examples: [ "Time.africa_libreville?", "Time.new(\"2024-03-05 06:10:59 UTC\").africa_libreville?", "Time.zone = \"Etc/UTC\" Time.africa_libreville?" ] }, "africa_lome?" => { name: "africa_lome?", description: "returns whether the current time zone matches africa/lome.", examples: [ "Time.africa_lome?", "Time.new(\"2024-03-05 06:10:59 UTC\").africa_lome?", "Time.zone = \"Etc/UTC\" Time.africa_lome?" ] }, "africa_luanda?" => { name: "africa_luanda?", description: "returns whether the current time zone matches africa/luanda.", examples: [ "Time.africa_luanda?", "Time.new(\"2024-03-05 06:10:59 UTC\").africa_luanda?", "Time.zone = \"Etc/UTC\" Time.africa_luanda?" ] }, "africa_lubumbashi?" => { name: "africa_lubumbashi?", description: "returns whether the current time zone matches africa/lubumbashi.", examples: [ "Time.africa_lubumbashi?", "Time.new(\"2024-03-05 06:10:59 UTC\").africa_lubumbashi?", "Time.zone = \"Etc/UTC\" Time.africa_lubumbashi?" ] }, "africa_lusaka?" => { name: "africa_lusaka?", description: "returns whether the current time zone matches africa/lusaka.", examples: [ "Time.africa_lusaka?", "Time.new(\"2024-03-05 06:10:59 UTC\").africa_lusaka?", "Time.zone = \"Etc/UTC\" Time.africa_lusaka?" ] }, "africa_malabo?" => { name: "africa_malabo?", description: "returns whether the current time zone matches africa/malabo.", examples: [ "Time.africa_malabo?", "Time.new(\"2024-03-05 06:10:59 UTC\").africa_malabo?", "Time.zone = \"Etc/UTC\" Time.africa_malabo?" ] }, "africa_maputo?" => { name: "africa_maputo?", description: "returns whether the current time zone matches africa/maputo.", examples: [ "Time.africa_maputo?", "Time.new(\"2024-03-05 06:10:59 UTC\").africa_maputo?", "Time.zone = \"Etc/UTC\" Time.africa_maputo?" ] }, "africa_maseru?" => { name: "africa_maseru?", description: "returns whether the current time zone matches africa/maseru.", examples: [ "Time.africa_maseru?", "Time.new(\"2024-03-05 06:10:59 UTC\").africa_maseru?", "Time.zone = \"Etc/UTC\" Time.africa_maseru?" ] }, "africa_mbabane?" => { name: "africa_mbabane?", description: "returns whether the current time zone matches africa/mbabane.", examples: [ "Time.africa_mbabane?", "Time.new(\"2024-03-05 06:10:59 UTC\").africa_mbabane?", "Time.zone = \"Etc/UTC\" Time.africa_mbabane?" ] }, "africa_mogadishu?" => { name: "africa_mogadishu?", description: "returns whether the current time zone matches africa/mogadishu.", examples: [ "Time.africa_mogadishu?", "Time.new(\"2024-03-05 06:10:59 UTC\").africa_mogadishu?", "Time.zone = \"Etc/UTC\" Time.africa_mogadishu?" ] }, "africa_monrovia?" => { name: "africa_monrovia?", description: "returns whether the current time zone matches africa/monrovia.", examples: [ "Time.africa_monrovia?", "Time.new(\"2024-03-05 06:10:59 UTC\").africa_monrovia?", "Time.zone = \"Etc/UTC\" Time.africa_monrovia?" ] }, "africa_nairobi?" => { name: "africa_nairobi?", description: "returns whether the current time zone matches africa/nairobi.", examples: [ "Time.africa_nairobi?", "Time.new(\"2024-03-05 06:10:59 UTC\").africa_nairobi?", "Time.zone = \"Etc/UTC\" Time.africa_nairobi?" ] }, "africa_ndjamena?" => { name: "africa_ndjamena?", description: "returns whether the current time zone matches africa/ndjamena.", examples: [ "Time.africa_ndjamena?", "Time.new(\"2024-03-05 06:10:59 UTC\").africa_ndjamena?", "Time.zone = \"Etc/UTC\" Time.africa_ndjamena?" ] }, "africa_niamey?" => { name: "africa_niamey?", description: "returns whether the current time zone matches africa/niamey.", examples: [ "Time.africa_niamey?", "Time.new(\"2024-03-05 06:10:59 UTC\").africa_niamey?", "Time.zone = \"Etc/UTC\" Time.africa_niamey?" ] }, "africa_nouakchott?" => { name: "africa_nouakchott?", description: "returns whether the current time zone matches africa/nouakchott.", examples: [ "Time.africa_nouakchott?", "Time.new(\"2024-03-05 06:10:59 UTC\").africa_nouakchott?", "Time.zone = \"Etc/UTC\" Time.africa_nouakchott?" ] }, "africa_ouagadougou?" => { name: "africa_ouagadougou?", description: "returns whether the current time zone matches africa/ouagadougou.", examples: [ "Time.africa_ouagadougou?", "Time.new(\"2024-03-05 06:10:59 UTC\").africa_ouagadougou?", "Time.zone = \"Etc/UTC\" Time.africa_ouagadougou?" ] }, "africa_porto_minus_novo?" => { name: "africa_porto_minus_novo?", description: "returns whether the current time zone matches africa/porto/minus/novo.", examples: [ "Time.africa_porto_minus_novo?", "Time.new(\"2024-03-05 06:10:59 UTC\").africa_porto_minus_novo?", "Time.zone = \"Etc/UTC\" Time.africa_porto_minus_novo?" ] }, "africa_sao_tome?" => { name: "africa_sao_tome?", description: "returns whether the current time zone matches africa/sao/tome.", examples: [ "Time.africa_sao_tome?", "Time.new(\"2024-03-05 06:10:59 UTC\").africa_sao_tome?", "Time.zone = \"Etc/UTC\" Time.africa_sao_tome?" ] }, "africa_timbuktu?" => { name: "africa_timbuktu?", description: "returns whether the current time zone matches africa/timbuktu.", examples: [ "Time.africa_timbuktu?", "Time.new(\"2024-03-05 06:10:59 UTC\").africa_timbuktu?", "Time.zone = \"Etc/UTC\" Time.africa_timbuktu?" ] }, "africa_tripoli?" => { name: "africa_tripoli?", description: "returns whether the current time zone matches africa/tripoli.", examples: [ "Time.africa_tripoli?", "Time.new(\"2024-03-05 06:10:59 UTC\").africa_tripoli?", "Time.zone = \"Etc/UTC\" Time.africa_tripoli?" ] }, "africa_tunis?" => { name: "africa_tunis?", description: "returns whether the current time zone matches africa/tunis.", examples: [ "Time.africa_tunis?", "Time.new(\"2024-03-05 06:10:59 UTC\").africa_tunis?", "Time.zone = \"Etc/UTC\" Time.africa_tunis?" ] }, "africa_windhoek?" => { name: "africa_windhoek?", description: "returns whether the current time zone matches africa/windhoek.", examples: [ "Time.africa_windhoek?", "Time.new(\"2024-03-05 06:10:59 UTC\").africa_windhoek?", "Time.zone = \"Etc/UTC\" Time.africa_windhoek?" ] }, "america_adak?" => { name: "america_adak?", description: "returns whether the current time zone matches america/adak.", examples: [ "Time.america_adak?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_adak?", "Time.zone = \"Etc/UTC\" Time.america_adak?" ] }, "america_anchorage?" => { name: "america_anchorage?", description: "returns whether the current time zone matches america/anchorage.", examples: [ "Time.america_anchorage?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_anchorage?", "Time.zone = \"Etc/UTC\" Time.america_anchorage?" ] }, "america_anguilla?" => { name: "america_anguilla?", description: "returns whether the current time zone matches america/anguilla.", examples: [ "Time.america_anguilla?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_anguilla?", "Time.zone = \"Etc/UTC\" Time.america_anguilla?" ] }, "america_antigua?" => { name: "america_antigua?", description: "returns whether the current time zone matches america/antigua.", examples: [ "Time.america_antigua?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_antigua?", "Time.zone = \"Etc/UTC\" Time.america_antigua?" ] }, "america_araguaina?" => { name: "america_araguaina?", description: "returns whether the current time zone matches america/araguaina.", examples: [ "Time.america_araguaina?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_araguaina?", "Time.zone = \"Etc/UTC\" Time.america_araguaina?" ] }, "america_argentina_buenos_aires?" => { name: "america_argentina_buenos_aires?", description: "returns whether the current time zone matches america/argentina/buenos/aires.", examples: [ "Time.america_argentina_buenos_aires?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_argentina_buenos_aires?", "Time.zone = \"Etc/UTC\" Time.america_argentina_buenos_aires?" ] }, "america_argentina_catamarca?" => { name: "america_argentina_catamarca?", description: "returns whether the current time zone matches america/argentina/catamarca.", examples: [ "Time.america_argentina_catamarca?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_argentina_catamarca?", "Time.zone = \"Etc/UTC\" Time.america_argentina_catamarca?" ] }, "america_argentina_comodrivadavia?" => { name: "america_argentina_comodrivadavia?", description: "returns whether the current time zone matches america/argentina/comodrivadavia.", examples: [ "Time.america_argentina_comodrivadavia?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_argentina_comodrivadavia?", "Time.zone = \"Etc/UTC\" Time.america_argentina_comodrivadavia?" ] }, "america_argentina_cordoba?" => { name: "america_argentina_cordoba?", description: "returns whether the current time zone matches america/argentina/cordoba.", examples: [ "Time.america_argentina_cordoba?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_argentina_cordoba?", "Time.zone = \"Etc/UTC\" Time.america_argentina_cordoba?" ] }, "america_argentina_jujuy?" => { name: "america_argentina_jujuy?", description: "returns whether the current time zone matches america/argentina/jujuy.", examples: [ "Time.america_argentina_jujuy?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_argentina_jujuy?", "Time.zone = \"Etc/UTC\" Time.america_argentina_jujuy?" ] }, "america_argentina_la_rioja?" => { name: "america_argentina_la_rioja?", description: "returns whether the current time zone matches america/argentina/la/rioja.", examples: [ "Time.america_argentina_la_rioja?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_argentina_la_rioja?", "Time.zone = \"Etc/UTC\" Time.america_argentina_la_rioja?" ] }, "america_argentina_mendoza?" => { name: "america_argentina_mendoza?", description: "returns whether the current time zone matches america/argentina/mendoza.", examples: [ "Time.america_argentina_mendoza?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_argentina_mendoza?", "Time.zone = \"Etc/UTC\" Time.america_argentina_mendoza?" ] }, "america_argentina_rio_gallegos?" => { name: "america_argentina_rio_gallegos?", description: "returns whether the current time zone matches america/argentina/rio/gallegos.", examples: [ "Time.america_argentina_rio_gallegos?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_argentina_rio_gallegos?", "Time.zone = \"Etc/UTC\" Time.america_argentina_rio_gallegos?" ] }, "america_argentina_salta?" => { name: "america_argentina_salta?", description: "returns whether the current time zone matches america/argentina/salta.", examples: [ "Time.america_argentina_salta?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_argentina_salta?", "Time.zone = \"Etc/UTC\" Time.america_argentina_salta?" ] }, "america_argentina_san_juan?" => { name: "america_argentina_san_juan?", description: "returns whether the current time zone matches america/argentina/san/juan.", examples: [ "Time.america_argentina_san_juan?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_argentina_san_juan?", "Time.zone = \"Etc/UTC\" Time.america_argentina_san_juan?" ] }, "america_argentina_san_luis?" => { name: "america_argentina_san_luis?", description: "returns whether the current time zone matches america/argentina/san/luis.", examples: [ "Time.america_argentina_san_luis?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_argentina_san_luis?", "Time.zone = \"Etc/UTC\" Time.america_argentina_san_luis?" ] }, "america_argentina_tucuman?" => { name: "america_argentina_tucuman?", description: "returns whether the current time zone matches america/argentina/tucuman.", examples: [ "Time.america_argentina_tucuman?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_argentina_tucuman?", "Time.zone = \"Etc/UTC\" Time.america_argentina_tucuman?" ] }, "america_argentina_ushuaia?" => { name: "america_argentina_ushuaia?", description: "returns whether the current time zone matches america/argentina/ushuaia.", examples: [ "Time.america_argentina_ushuaia?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_argentina_ushuaia?", "Time.zone = \"Etc/UTC\" Time.america_argentina_ushuaia?" ] }, "america_aruba?" => { name: "america_aruba?", description: "returns whether the current time zone matches america/aruba.", examples: [ "Time.america_aruba?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_aruba?", "Time.zone = \"Etc/UTC\" Time.america_aruba?" ] }, "america_asuncion?" => { name: "america_asuncion?", description: "returns whether the current time zone matches america/asuncion.", examples: [ "Time.america_asuncion?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_asuncion?", "Time.zone = \"Etc/UTC\" Time.america_asuncion?" ] }, "america_atikokan?" => { name: "america_atikokan?", description: "returns whether the current time zone matches america/atikokan.", examples: [ "Time.america_atikokan?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_atikokan?", "Time.zone = \"Etc/UTC\" Time.america_atikokan?" ] }, "america_atka?" => { name: "america_atka?", description: "returns whether the current time zone matches america/atka.", examples: [ "Time.america_atka?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_atka?", "Time.zone = \"Etc/UTC\" Time.america_atka?" ] }, "america_bahia?" => { name: "america_bahia?", description: "returns whether the current time zone matches america/bahia.", examples: [ "Time.america_bahia?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_bahia?", "Time.zone = \"Etc/UTC\" Time.america_bahia?" ] }, "america_bahia_banderas?" => { name: "america_bahia_banderas?", description: "returns whether the current time zone matches america/bahia/banderas.", examples: [ "Time.america_bahia_banderas?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_bahia_banderas?", "Time.zone = \"Etc/UTC\" Time.america_bahia_banderas?" ] }, "america_barbados?" => { name: "america_barbados?", description: "returns whether the current time zone matches america/barbados.", examples: [ "Time.america_barbados?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_barbados?", "Time.zone = \"Etc/UTC\" Time.america_barbados?" ] }, "america_belem?" => { name: "america_belem?", description: "returns whether the current time zone matches america/belem.", examples: [ "Time.america_belem?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_belem?", "Time.zone = \"Etc/UTC\" Time.america_belem?" ] }, "america_belize?" => { name: "america_belize?", description: "returns whether the current time zone matches america/belize.", examples: [ "Time.america_belize?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_belize?", "Time.zone = \"Etc/UTC\" Time.america_belize?" ] }, "america_blanc_minus_sablon?" => { name: "america_blanc_minus_sablon?", description: "returns whether the current time zone matches america/blanc/minus/sablon.", examples: [ "Time.america_blanc_minus_sablon?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_blanc_minus_sablon?", "Time.zone = \"Etc/UTC\" Time.america_blanc_minus_sablon?" ] }, "america_boa_vista?" => { name: "america_boa_vista?", description: "returns whether the current time zone matches america/boa/vista.", examples: [ "Time.america_boa_vista?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_boa_vista?", "Time.zone = \"Etc/UTC\" Time.america_boa_vista?" ] }, "america_bogota?" => { name: "america_bogota?", description: "returns whether the current time zone matches america/bogota.", examples: [ "Time.america_bogota?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_bogota?", "Time.zone = \"Etc/UTC\" Time.america_bogota?" ] }, "america_boise?" => { name: "america_boise?", description: "returns whether the current time zone matches america/boise.", examples: [ "Time.america_boise?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_boise?", "Time.zone = \"Etc/UTC\" Time.america_boise?" ] }, "america_buenos_aires?" => { name: "america_buenos_aires?", description: "returns whether the current time zone matches america/buenos/aires.", examples: [ "Time.america_buenos_aires?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_buenos_aires?", "Time.zone = \"Etc/UTC\" Time.america_buenos_aires?" ] }, "america_cambridge_bay?" => { name: "america_cambridge_bay?", description: "returns whether the current time zone matches america/cambridge/bay.", examples: [ "Time.america_cambridge_bay?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_cambridge_bay?", "Time.zone = \"Etc/UTC\" Time.america_cambridge_bay?" ] }, "america_campo_grande?" => { name: "america_campo_grande?", description: "returns whether the current time zone matches america/campo/grande.", examples: [ "Time.america_campo_grande?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_campo_grande?", "Time.zone = \"Etc/UTC\" Time.america_campo_grande?" ] }, "america_cancun?" => { name: "america_cancun?", description: "returns whether the current time zone matches america/cancun.", examples: [ "Time.america_cancun?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_cancun?", "Time.zone = \"Etc/UTC\" Time.america_cancun?" ] }, "america_caracas?" => { name: "america_caracas?", description: "returns whether the current time zone matches america/caracas.", examples: [ "Time.america_caracas?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_caracas?", "Time.zone = \"Etc/UTC\" Time.america_caracas?" ] }, "america_catamarca?" => { name: "america_catamarca?", description: "returns whether the current time zone matches america/catamarca.", examples: [ "Time.america_catamarca?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_catamarca?", "Time.zone = \"Etc/UTC\" Time.america_catamarca?" ] }, "america_cayenne?" => { name: "america_cayenne?", description: "returns whether the current time zone matches america/cayenne.", examples: [ "Time.america_cayenne?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_cayenne?", "Time.zone = \"Etc/UTC\" Time.america_cayenne?" ] }, "america_cayman?" => { name: "america_cayman?", description: "returns whether the current time zone matches america/cayman.", examples: [ "Time.america_cayman?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_cayman?", "Time.zone = \"Etc/UTC\" Time.america_cayman?" ] }, "america_chicago?" => { name: "america_chicago?", description: "returns whether the current time zone matches america/chicago.", examples: [ "Time.america_chicago?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_chicago?", "Time.zone = \"Etc/UTC\" Time.america_chicago?" ] }, "america_chihuahua?" => { name: "america_chihuahua?", description: "returns whether the current time zone matches america/chihuahua.", examples: [ "Time.america_chihuahua?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_chihuahua?", "Time.zone = \"Etc/UTC\" Time.america_chihuahua?" ] }, "america_ciudad_juarez?" => { name: "america_ciudad_juarez?", description: "returns whether the current time zone matches america/ciudad/juarez.", examples: [ "Time.america_ciudad_juarez?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_ciudad_juarez?", "Time.zone = \"Etc/UTC\" Time.america_ciudad_juarez?" ] }, "america_coral_harbour?" => { name: "america_coral_harbour?", description: "returns whether the current time zone matches america/coral/harbour.", examples: [ "Time.america_coral_harbour?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_coral_harbour?", "Time.zone = \"Etc/UTC\" Time.america_coral_harbour?" ] }, "america_cordoba?" => { name: "america_cordoba?", description: "returns whether the current time zone matches america/cordoba.", examples: [ "Time.america_cordoba?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_cordoba?", "Time.zone = \"Etc/UTC\" Time.america_cordoba?" ] }, "america_costa_rica?" => { name: "america_costa_rica?", description: "returns whether the current time zone matches america/costa/rica.", examples: [ "Time.america_costa_rica?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_costa_rica?", "Time.zone = \"Etc/UTC\" Time.america_costa_rica?" ] }, "america_coyhaique?" => { name: "america_coyhaique?", description: "returns whether the current time zone matches america/coyhaique.", examples: [ "Time.america_coyhaique?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_coyhaique?", "Time.zone = \"Etc/UTC\" Time.america_coyhaique?" ] }, "america_creston?" => { name: "america_creston?", description: "returns whether the current time zone matches america/creston.", examples: [ "Time.america_creston?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_creston?", "Time.zone = \"Etc/UTC\" Time.america_creston?" ] }, "america_cuiaba?" => { name: "america_cuiaba?", description: "returns whether the current time zone matches america/cuiaba.", examples: [ "Time.america_cuiaba?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_cuiaba?", "Time.zone = \"Etc/UTC\" Time.america_cuiaba?" ] }, "america_curacao?" => { name: "america_curacao?", description: "returns whether the current time zone matches america/curacao.", examples: [ "Time.america_curacao?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_curacao?", "Time.zone = \"Etc/UTC\" Time.america_curacao?" ] }, "america_danmarkshavn?" => { name: "america_danmarkshavn?", description: "returns whether the current time zone matches america/danmarkshavn.", examples: [ "Time.america_danmarkshavn?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_danmarkshavn?", "Time.zone = \"Etc/UTC\" Time.america_danmarkshavn?" ] }, "america_dawson?" => { name: "america_dawson?", description: "returns whether the current time zone matches america/dawson.", examples: [ "Time.america_dawson?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_dawson?", "Time.zone = \"Etc/UTC\" Time.america_dawson?" ] }, "america_dawson_creek?" => { name: "america_dawson_creek?", description: "returns whether the current time zone matches america/dawson/creek.", examples: [ "Time.america_dawson_creek?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_dawson_creek?", "Time.zone = \"Etc/UTC\" Time.america_dawson_creek?" ] }, "america_denver?" => { name: "america_denver?", description: "returns whether the current time zone matches america/denver.", examples: [ "Time.america_denver?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_denver?", "Time.zone = \"Etc/UTC\" Time.america_denver?" ] }, "america_detroit?" => { name: "america_detroit?", description: "returns whether the current time zone matches america/detroit.", examples: [ "Time.america_detroit?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_detroit?", "Time.zone = \"Etc/UTC\" Time.america_detroit?" ] }, "america_dominica?" => { name: "america_dominica?", description: "returns whether the current time zone matches america/dominica.", examples: [ "Time.america_dominica?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_dominica?", "Time.zone = \"Etc/UTC\" Time.america_dominica?" ] }, "america_edmonton?" => { name: "america_edmonton?", description: "returns whether the current time zone matches america/edmonton.", examples: [ "Time.america_edmonton?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_edmonton?", "Time.zone = \"Etc/UTC\" Time.america_edmonton?" ] }, "america_eirunepe?" => { name: "america_eirunepe?", description: "returns whether the current time zone matches america/eirunepe.", examples: [ "Time.america_eirunepe?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_eirunepe?", "Time.zone = \"Etc/UTC\" Time.america_eirunepe?" ] }, "america_el_salvador?" => { name: "america_el_salvador?", description: "returns whether the current time zone matches america/el/salvador.", examples: [ "Time.america_el_salvador?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_el_salvador?", "Time.zone = \"Etc/UTC\" Time.america_el_salvador?" ] }, "america_ensenada?" => { name: "america_ensenada?", description: "returns whether the current time zone matches america/ensenada.", examples: [ "Time.america_ensenada?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_ensenada?", "Time.zone = \"Etc/UTC\" Time.america_ensenada?" ] }, "america_fort_nelson?" => { name: "america_fort_nelson?", description: "returns whether the current time zone matches america/fort/nelson.", examples: [ "Time.america_fort_nelson?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_fort_nelson?", "Time.zone = \"Etc/UTC\" Time.america_fort_nelson?" ] }, "america_fort_wayne?" => { name: "america_fort_wayne?", description: "returns whether the current time zone matches america/fort/wayne.", examples: [ "Time.america_fort_wayne?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_fort_wayne?", "Time.zone = \"Etc/UTC\" Time.america_fort_wayne?" ] }, "america_fortaleza?" => { name: "america_fortaleza?", description: "returns whether the current time zone matches america/fortaleza.", examples: [ "Time.america_fortaleza?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_fortaleza?", "Time.zone = \"Etc/UTC\" Time.america_fortaleza?" ] }, "america_glace_bay?" => { name: "america_glace_bay?", description: "returns whether the current time zone matches america/glace/bay.", examples: [ "Time.america_glace_bay?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_glace_bay?", "Time.zone = \"Etc/UTC\" Time.america_glace_bay?" ] }, "america_godthab?" => { name: "america_godthab?", description: "returns whether the current time zone matches america/godthab.", examples: [ "Time.america_godthab?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_godthab?", "Time.zone = \"Etc/UTC\" Time.america_godthab?" ] }, "america_goose_bay?" => { name: "america_goose_bay?", description: "returns whether the current time zone matches america/goose/bay.", examples: [ "Time.america_goose_bay?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_goose_bay?", "Time.zone = \"Etc/UTC\" Time.america_goose_bay?" ] }, "america_grand_turk?" => { name: "america_grand_turk?", description: "returns whether the current time zone matches america/grand/turk.", examples: [ "Time.america_grand_turk?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_grand_turk?", "Time.zone = \"Etc/UTC\" Time.america_grand_turk?" ] }, "america_grenada?" => { name: "america_grenada?", description: "returns whether the current time zone matches america/grenada.", examples: [ "Time.america_grenada?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_grenada?", "Time.zone = \"Etc/UTC\" Time.america_grenada?" ] }, "america_guadeloupe?" => { name: "america_guadeloupe?", description: "returns whether the current time zone matches america/guadeloupe.", examples: [ "Time.america_guadeloupe?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_guadeloupe?", "Time.zone = \"Etc/UTC\" Time.america_guadeloupe?" ] }, "america_guatemala?" => { name: "america_guatemala?", description: "returns whether the current time zone matches america/guatemala.", examples: [ "Time.america_guatemala?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_guatemala?", "Time.zone = \"Etc/UTC\" Time.america_guatemala?" ] }, "america_guayaquil?" => { name: "america_guayaquil?", description: "returns whether the current time zone matches america/guayaquil.", examples: [ "Time.america_guayaquil?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_guayaquil?", "Time.zone = \"Etc/UTC\" Time.america_guayaquil?" ] }, "america_guyana?" => { name: "america_guyana?", description: "returns whether the current time zone matches america/guyana.", examples: [ "Time.america_guyana?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_guyana?", "Time.zone = \"Etc/UTC\" Time.america_guyana?" ] }, "america_halifax?" => { name: "america_halifax?", description: "returns whether the current time zone matches america/halifax.", examples: [ "Time.america_halifax?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_halifax?", "Time.zone = \"Etc/UTC\" Time.america_halifax?" ] }, "america_havana?" => { name: "america_havana?", description: "returns whether the current time zone matches america/havana.", examples: [ "Time.america_havana?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_havana?", "Time.zone = \"Etc/UTC\" Time.america_havana?" ] }, "america_hermosillo?" => { name: "america_hermosillo?", description: "returns whether the current time zone matches america/hermosillo.", examples: [ "Time.america_hermosillo?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_hermosillo?", "Time.zone = \"Etc/UTC\" Time.america_hermosillo?" ] }, "america_indiana_indianapolis?" => { name: "america_indiana_indianapolis?", description: "returns whether the current time zone matches america/indiana/indianapolis.", examples: [ "Time.america_indiana_indianapolis?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_indiana_indianapolis?", "Time.zone = \"Etc/UTC\" Time.america_indiana_indianapolis?" ] }, "america_indiana_knox?" => { name: "america_indiana_knox?", description: "returns whether the current time zone matches america/indiana/knox.", examples: [ "Time.america_indiana_knox?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_indiana_knox?", "Time.zone = \"Etc/UTC\" Time.america_indiana_knox?" ] }, "america_indiana_marengo?" => { name: "america_indiana_marengo?", description: "returns whether the current time zone matches america/indiana/marengo.", examples: [ "Time.america_indiana_marengo?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_indiana_marengo?", "Time.zone = \"Etc/UTC\" Time.america_indiana_marengo?" ] }, "america_indiana_petersburg?" => { name: "america_indiana_petersburg?", description: "returns whether the current time zone matches america/indiana/petersburg.", examples: [ "Time.america_indiana_petersburg?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_indiana_petersburg?", "Time.zone = \"Etc/UTC\" Time.america_indiana_petersburg?" ] }, "america_indiana_tell_city?" => { name: "america_indiana_tell_city?", description: "returns whether the current time zone matches america/indiana/tell/city.", examples: [ "Time.america_indiana_tell_city?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_indiana_tell_city?", "Time.zone = \"Etc/UTC\" Time.america_indiana_tell_city?" ] }, "america_indiana_vevay?" => { name: "america_indiana_vevay?", description: "returns whether the current time zone matches america/indiana/vevay.", examples: [ "Time.america_indiana_vevay?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_indiana_vevay?", "Time.zone = \"Etc/UTC\" Time.america_indiana_vevay?" ] }, "america_indiana_vincennes?" => { name: "america_indiana_vincennes?", description: "returns whether the current time zone matches america/indiana/vincennes.", examples: [ "Time.america_indiana_vincennes?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_indiana_vincennes?", "Time.zone = \"Etc/UTC\" Time.america_indiana_vincennes?" ] }, "america_indiana_winamac?" => { name: "america_indiana_winamac?", description: "returns whether the current time zone matches america/indiana/winamac.", examples: [ "Time.america_indiana_winamac?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_indiana_winamac?", "Time.zone = \"Etc/UTC\" Time.america_indiana_winamac?" ] }, "america_indianapolis?" => { name: "america_indianapolis?", description: "returns whether the current time zone matches america/indianapolis.", examples: [ "Time.america_indianapolis?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_indianapolis?", "Time.zone = \"Etc/UTC\" Time.america_indianapolis?" ] }, "america_inuvik?" => { name: "america_inuvik?", description: "returns whether the current time zone matches america/inuvik.", examples: [ "Time.america_inuvik?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_inuvik?", "Time.zone = \"Etc/UTC\" Time.america_inuvik?" ] }, "america_iqaluit?" => { name: "america_iqaluit?", description: "returns whether the current time zone matches america/iqaluit.", examples: [ "Time.america_iqaluit?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_iqaluit?", "Time.zone = \"Etc/UTC\" Time.america_iqaluit?" ] }, "america_jamaica?" => { name: "america_jamaica?", description: "returns whether the current time zone matches america/jamaica.", examples: [ "Time.america_jamaica?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_jamaica?", "Time.zone = \"Etc/UTC\" Time.america_jamaica?" ] }, "america_jujuy?" => { name: "america_jujuy?", description: "returns whether the current time zone matches america/jujuy.", examples: [ "Time.america_jujuy?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_jujuy?", "Time.zone = \"Etc/UTC\" Time.america_jujuy?" ] }, "america_juneau?" => { name: "america_juneau?", description: "returns whether the current time zone matches america/juneau.", examples: [ "Time.america_juneau?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_juneau?", "Time.zone = \"Etc/UTC\" Time.america_juneau?" ] }, "america_kentucky_louisville?" => { name: "america_kentucky_louisville?", description: "returns whether the current time zone matches america/kentucky/louisville.", examples: [ "Time.america_kentucky_louisville?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_kentucky_louisville?", "Time.zone = \"Etc/UTC\" Time.america_kentucky_louisville?" ] }, "america_kentucky_monticello?" => { name: "america_kentucky_monticello?", description: "returns whether the current time zone matches america/kentucky/monticello.", examples: [ "Time.america_kentucky_monticello?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_kentucky_monticello?", "Time.zone = \"Etc/UTC\" Time.america_kentucky_monticello?" ] }, "america_knox_in?" => { name: "america_knox_in?", description: "returns whether the current time zone matches america/knox/in.", examples: [ "Time.america_knox_in?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_knox_in?", "Time.zone = \"Etc/UTC\" Time.america_knox_in?" ] }, "america_kralendijk?" => { name: "america_kralendijk?", description: "returns whether the current time zone matches america/kralendijk.", examples: [ "Time.america_kralendijk?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_kralendijk?", "Time.zone = \"Etc/UTC\" Time.america_kralendijk?" ] }, "america_la_paz?" => { name: "america_la_paz?", description: "returns whether the current time zone matches america/la/paz.", examples: [ "Time.america_la_paz?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_la_paz?", "Time.zone = \"Etc/UTC\" Time.america_la_paz?" ] }, "america_lima?" => { name: "america_lima?", description: "returns whether the current time zone matches america/lima.", examples: [ "Time.america_lima?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_lima?", "Time.zone = \"Etc/UTC\" Time.america_lima?" ] }, "america_los_angeles?" => { name: "america_los_angeles?", description: "returns whether the current time zone matches america/los/angeles.", examples: [ "Time.america_los_angeles?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_los_angeles?", "Time.zone = \"Etc/UTC\" Time.america_los_angeles?" ] }, "america_louisville?" => { name: "america_louisville?", description: "returns whether the current time zone matches america/louisville.", examples: [ "Time.america_louisville?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_louisville?", "Time.zone = \"Etc/UTC\" Time.america_louisville?" ] }, "america_lower_princes?" => { name: "america_lower_princes?", description: "returns whether the current time zone matches america/lower/princes.", examples: [ "Time.america_lower_princes?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_lower_princes?", "Time.zone = \"Etc/UTC\" Time.america_lower_princes?" ] }, "america_maceio?" => { name: "america_maceio?", description: "returns whether the current time zone matches america/maceio.", examples: [ "Time.america_maceio?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_maceio?", "Time.zone = \"Etc/UTC\" Time.america_maceio?" ] }, "america_managua?" => { name: "america_managua?", description: "returns whether the current time zone matches america/managua.", examples: [ "Time.america_managua?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_managua?", "Time.zone = \"Etc/UTC\" Time.america_managua?" ] }, "america_manaus?" => { name: "america_manaus?", description: "returns whether the current time zone matches america/manaus.", examples: [ "Time.america_manaus?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_manaus?", "Time.zone = \"Etc/UTC\" Time.america_manaus?" ] }, "america_marigot?" => { name: "america_marigot?", description: "returns whether the current time zone matches america/marigot.", examples: [ "Time.america_marigot?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_marigot?", "Time.zone = \"Etc/UTC\" Time.america_marigot?" ] }, "america_martinique?" => { name: "america_martinique?", description: "returns whether the current time zone matches america/martinique.", examples: [ "Time.america_martinique?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_martinique?", "Time.zone = \"Etc/UTC\" Time.america_martinique?" ] }, "america_matamoros?" => { name: "america_matamoros?", description: "returns whether the current time zone matches america/matamoros.", examples: [ "Time.america_matamoros?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_matamoros?", "Time.zone = \"Etc/UTC\" Time.america_matamoros?" ] }, "america_mazatlan?" => { name: "america_mazatlan?", description: "returns whether the current time zone matches america/mazatlan.", examples: [ "Time.america_mazatlan?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_mazatlan?", "Time.zone = \"Etc/UTC\" Time.america_mazatlan?" ] }, "america_mendoza?" => { name: "america_mendoza?", description: "returns whether the current time zone matches america/mendoza.", examples: [ "Time.america_mendoza?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_mendoza?", "Time.zone = \"Etc/UTC\" Time.america_mendoza?" ] }, "america_menominee?" => { name: "america_menominee?", description: "returns whether the current time zone matches america/menominee.", examples: [ "Time.america_menominee?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_menominee?", "Time.zone = \"Etc/UTC\" Time.america_menominee?" ] }, "america_merida?" => { name: "america_merida?", description: "returns whether the current time zone matches america/merida.", examples: [ "Time.america_merida?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_merida?", "Time.zone = \"Etc/UTC\" Time.america_merida?" ] }, "america_metlakatla?" => { name: "america_metlakatla?", description: "returns whether the current time zone matches america/metlakatla.", examples: [ "Time.america_metlakatla?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_metlakatla?", "Time.zone = \"Etc/UTC\" Time.america_metlakatla?" ] }, "america_mexico_city?" => { name: "america_mexico_city?", description: "returns whether the current time zone matches america/mexico/city.", examples: [ "Time.america_mexico_city?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_mexico_city?", "Time.zone = \"Etc/UTC\" Time.america_mexico_city?" ] }, "america_miquelon?" => { name: "america_miquelon?", description: "returns whether the current time zone matches america/miquelon.", examples: [ "Time.america_miquelon?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_miquelon?", "Time.zone = \"Etc/UTC\" Time.america_miquelon?" ] }, "america_moncton?" => { name: "america_moncton?", description: "returns whether the current time zone matches america/moncton.", examples: [ "Time.america_moncton?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_moncton?", "Time.zone = \"Etc/UTC\" Time.america_moncton?" ] }, "america_monterrey?" => { name: "america_monterrey?", description: "returns whether the current time zone matches america/monterrey.", examples: [ "Time.america_monterrey?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_monterrey?", "Time.zone = \"Etc/UTC\" Time.america_monterrey?" ] }, "america_montevideo?" => { name: "america_montevideo?", description: "returns whether the current time zone matches america/montevideo.", examples: [ "Time.america_montevideo?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_montevideo?", "Time.zone = \"Etc/UTC\" Time.america_montevideo?" ] }, "america_montreal?" => { name: "america_montreal?", description: "returns whether the current time zone matches america/montreal.", examples: [ "Time.america_montreal?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_montreal?", "Time.zone = \"Etc/UTC\" Time.america_montreal?" ] }, "america_montserrat?" => { name: "america_montserrat?", description: "returns whether the current time zone matches america/montserrat.", examples: [ "Time.america_montserrat?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_montserrat?", "Time.zone = \"Etc/UTC\" Time.america_montserrat?" ] }, "america_nassau?" => { name: "america_nassau?", description: "returns whether the current time zone matches america/nassau.", examples: [ "Time.america_nassau?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_nassau?", "Time.zone = \"Etc/UTC\" Time.america_nassau?" ] }, "america_new_york?" => { name: "america_new_york?", description: "returns whether the current time zone matches america/new/york.", examples: [ "Time.america_new_york?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_new_york?", "Time.zone = \"Etc/UTC\" Time.america_new_york?" ] }, "america_nipigon?" => { name: "america_nipigon?", description: "returns whether the current time zone matches america/nipigon.", examples: [ "Time.america_nipigon?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_nipigon?", "Time.zone = \"Etc/UTC\" Time.america_nipigon?" ] }, "america_nome?" => { name: "america_nome?", description: "returns whether the current time zone matches america/nome.", examples: [ "Time.america_nome?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_nome?", "Time.zone = \"Etc/UTC\" Time.america_nome?" ] }, "america_noronha?" => { name: "america_noronha?", description: "returns whether the current time zone matches america/noronha.", examples: [ "Time.america_noronha?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_noronha?", "Time.zone = \"Etc/UTC\" Time.america_noronha?" ] }, "america_north_dakota_beulah?" => { name: "america_north_dakota_beulah?", description: "returns whether the current time zone matches america/north/dakota/beulah.", examples: [ "Time.america_north_dakota_beulah?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_north_dakota_beulah?", "Time.zone = \"Etc/UTC\" Time.america_north_dakota_beulah?" ] }, "america_north_dakota_center?" => { name: "america_north_dakota_center?", description: "returns whether the current time zone matches america/north/dakota/center.", examples: [ "Time.america_north_dakota_center?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_north_dakota_center?", "Time.zone = \"Etc/UTC\" Time.america_north_dakota_center?" ] }, "america_north_dakota_new_salem?" => { name: "america_north_dakota_new_salem?", description: "returns whether the current time zone matches america/north/dakota/new/salem.", examples: [ "Time.america_north_dakota_new_salem?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_north_dakota_new_salem?", "Time.zone = \"Etc/UTC\" Time.america_north_dakota_new_salem?" ] }, "america_nuuk?" => { name: "america_nuuk?", description: "returns whether the current time zone matches america/nuuk.", examples: [ "Time.america_nuuk?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_nuuk?", "Time.zone = \"Etc/UTC\" Time.america_nuuk?" ] }, "america_ojinaga?" => { name: "america_ojinaga?", description: "returns whether the current time zone matches america/ojinaga.", examples: [ "Time.america_ojinaga?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_ojinaga?", "Time.zone = \"Etc/UTC\" Time.america_ojinaga?" ] }, "america_panama?" => { name: "america_panama?", description: "returns whether the current time zone matches america/panama.", examples: [ "Time.america_panama?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_panama?", "Time.zone = \"Etc/UTC\" Time.america_panama?" ] }, "america_pangnirtung?" => { name: "america_pangnirtung?", description: "returns whether the current time zone matches america/pangnirtung.", examples: [ "Time.america_pangnirtung?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_pangnirtung?", "Time.zone = \"Etc/UTC\" Time.america_pangnirtung?" ] }, "america_paramaribo?" => { name: "america_paramaribo?", description: "returns whether the current time zone matches america/paramaribo.", examples: [ "Time.america_paramaribo?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_paramaribo?", "Time.zone = \"Etc/UTC\" Time.america_paramaribo?" ] }, "america_phoenix?" => { name: "america_phoenix?", description: "returns whether the current time zone matches america/phoenix.", examples: [ "Time.america_phoenix?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_phoenix?", "Time.zone = \"Etc/UTC\" Time.america_phoenix?" ] }, "america_port_minus_au_minus_prince?" => { name: "america_port_minus_au_minus_prince?", description: "returns whether the current time zone matches america/port/minus/au/minus/prince.", examples: [ "Time.america_port_minus_au_minus_prince?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_port_minus_au_minus_prince?", "Time.zone = \"Etc/UTC\" Time.america_port_minus_au_minus_prince?" ] }, "america_port_of_spain?" => { name: "america_port_of_spain?", description: "returns whether the current time zone matches america/port/of/spain.", examples: [ "Time.america_port_of_spain?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_port_of_spain?", "Time.zone = \"Etc/UTC\" Time.america_port_of_spain?" ] }, "america_porto_acre?" => { name: "america_porto_acre?", description: "returns whether the current time zone matches america/porto/acre.", examples: [ "Time.america_porto_acre?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_porto_acre?", "Time.zone = \"Etc/UTC\" Time.america_porto_acre?" ] }, "america_porto_velho?" => { name: "america_porto_velho?", description: "returns whether the current time zone matches america/porto/velho.", examples: [ "Time.america_porto_velho?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_porto_velho?", "Time.zone = \"Etc/UTC\" Time.america_porto_velho?" ] }, "america_puerto_rico?" => { name: "america_puerto_rico?", description: "returns whether the current time zone matches america/puerto/rico.", examples: [ "Time.america_puerto_rico?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_puerto_rico?", "Time.zone = \"Etc/UTC\" Time.america_puerto_rico?" ] }, "america_punta_arenas?" => { name: "america_punta_arenas?", description: "returns whether the current time zone matches america/punta/arenas.", examples: [ "Time.america_punta_arenas?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_punta_arenas?", "Time.zone = \"Etc/UTC\" Time.america_punta_arenas?" ] }, "america_rainy_river?" => { name: "america_rainy_river?", description: "returns whether the current time zone matches america/rainy/river.", examples: [ "Time.america_rainy_river?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_rainy_river?", "Time.zone = \"Etc/UTC\" Time.america_rainy_river?" ] }, "america_rankin_inlet?" => { name: "america_rankin_inlet?", description: "returns whether the current time zone matches america/rankin/inlet.", examples: [ "Time.america_rankin_inlet?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_rankin_inlet?", "Time.zone = \"Etc/UTC\" Time.america_rankin_inlet?" ] }, "america_recife?" => { name: "america_recife?", description: "returns whether the current time zone matches america/recife.", examples: [ "Time.america_recife?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_recife?", "Time.zone = \"Etc/UTC\" Time.america_recife?" ] }, "america_regina?" => { name: "america_regina?", description: "returns whether the current time zone matches america/regina.", examples: [ "Time.america_regina?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_regina?", "Time.zone = \"Etc/UTC\" Time.america_regina?" ] }, "america_resolute?" => { name: "america_resolute?", description: "returns whether the current time zone matches america/resolute.", examples: [ "Time.america_resolute?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_resolute?", "Time.zone = \"Etc/UTC\" Time.america_resolute?" ] }, "america_rio_branco?" => { name: "america_rio_branco?", description: "returns whether the current time zone matches america/rio/branco.", examples: [ "Time.america_rio_branco?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_rio_branco?", "Time.zone = \"Etc/UTC\" Time.america_rio_branco?" ] }, "america_rosario?" => { name: "america_rosario?", description: "returns whether the current time zone matches america/rosario.", examples: [ "Time.america_rosario?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_rosario?", "Time.zone = \"Etc/UTC\" Time.america_rosario?" ] }, "america_santa_isabel?" => { name: "america_santa_isabel?", description: "returns whether the current time zone matches america/santa/isabel.", examples: [ "Time.america_santa_isabel?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_santa_isabel?", "Time.zone = \"Etc/UTC\" Time.america_santa_isabel?" ] }, "america_santarem?" => { name: "america_santarem?", description: "returns whether the current time zone matches america/santarem.", examples: [ "Time.america_santarem?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_santarem?", "Time.zone = \"Etc/UTC\" Time.america_santarem?" ] }, "america_santiago?" => { name: "america_santiago?", description: "returns whether the current time zone matches america/santiago.", examples: [ "Time.america_santiago?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_santiago?", "Time.zone = \"Etc/UTC\" Time.america_santiago?" ] }, "america_santo_domingo?" => { name: "america_santo_domingo?", description: "returns whether the current time zone matches america/santo/domingo.", examples: [ "Time.america_santo_domingo?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_santo_domingo?", "Time.zone = \"Etc/UTC\" Time.america_santo_domingo?" ] }, "america_sao_paulo?" => { name: "america_sao_paulo?", description: "returns whether the current time zone matches america/sao/paulo.", examples: [ "Time.america_sao_paulo?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_sao_paulo?", "Time.zone = \"Etc/UTC\" Time.america_sao_paulo?" ] }, "america_scoresbysund?" => { name: "america_scoresbysund?", description: "returns whether the current time zone matches america/scoresbysund.", examples: [ "Time.america_scoresbysund?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_scoresbysund?", "Time.zone = \"Etc/UTC\" Time.america_scoresbysund?" ] }, "america_shiprock?" => { name: "america_shiprock?", description: "returns whether the current time zone matches america/shiprock.", examples: [ "Time.america_shiprock?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_shiprock?", "Time.zone = \"Etc/UTC\" Time.america_shiprock?" ] }, "america_sitka?" => { name: "america_sitka?", description: "returns whether the current time zone matches america/sitka.", examples: [ "Time.america_sitka?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_sitka?", "Time.zone = \"Etc/UTC\" Time.america_sitka?" ] }, "america_st_barthelemy?" => { name: "america_st_barthelemy?", description: "returns whether the current time zone matches america/st/barthelemy.", examples: [ "Time.america_st_barthelemy?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_st_barthelemy?", "Time.zone = \"Etc/UTC\" Time.america_st_barthelemy?" ] }, "america_st_johns?" => { name: "america_st_johns?", description: "returns whether the current time zone matches america/st/johns.", examples: [ "Time.america_st_johns?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_st_johns?", "Time.zone = \"Etc/UTC\" Time.america_st_johns?" ] }, "america_st_kitts?" => { name: "america_st_kitts?", description: "returns whether the current time zone matches america/st/kitts.", examples: [ "Time.america_st_kitts?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_st_kitts?", "Time.zone = \"Etc/UTC\" Time.america_st_kitts?" ] }, "america_st_lucia?" => { name: "america_st_lucia?", description: "returns whether the current time zone matches america/st/lucia.", examples: [ "Time.america_st_lucia?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_st_lucia?", "Time.zone = \"Etc/UTC\" Time.america_st_lucia?" ] }, "america_st_thomas?" => { name: "america_st_thomas?", description: "returns whether the current time zone matches america/st/thomas.", examples: [ "Time.america_st_thomas?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_st_thomas?", "Time.zone = \"Etc/UTC\" Time.america_st_thomas?" ] }, "america_st_vincent?" => { name: "america_st_vincent?", description: "returns whether the current time zone matches america/st/vincent.", examples: [ "Time.america_st_vincent?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_st_vincent?", "Time.zone = \"Etc/UTC\" Time.america_st_vincent?" ] }, "america_swift_current?" => { name: "america_swift_current?", description: "returns whether the current time zone matches america/swift/current.", examples: [ "Time.america_swift_current?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_swift_current?", "Time.zone = \"Etc/UTC\" Time.america_swift_current?" ] }, "america_tegucigalpa?" => { name: "america_tegucigalpa?", description: "returns whether the current time zone matches america/tegucigalpa.", examples: [ "Time.america_tegucigalpa?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_tegucigalpa?", "Time.zone = \"Etc/UTC\" Time.america_tegucigalpa?" ] }, "america_thule?" => { name: "america_thule?", description: "returns whether the current time zone matches america/thule.", examples: [ "Time.america_thule?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_thule?", "Time.zone = \"Etc/UTC\" Time.america_thule?" ] }, "america_thunder_bay?" => { name: "america_thunder_bay?", description: "returns whether the current time zone matches america/thunder/bay.", examples: [ "Time.america_thunder_bay?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_thunder_bay?", "Time.zone = \"Etc/UTC\" Time.america_thunder_bay?" ] }, "america_tijuana?" => { name: "america_tijuana?", description: "returns whether the current time zone matches america/tijuana.", examples: [ "Time.america_tijuana?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_tijuana?", "Time.zone = \"Etc/UTC\" Time.america_tijuana?" ] }, "america_toronto?" => { name: "america_toronto?", description: "returns whether the current time zone matches america/toronto.", examples: [ "Time.america_toronto?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_toronto?", "Time.zone = \"Etc/UTC\" Time.america_toronto?" ] }, "america_tortola?" => { name: "america_tortola?", description: "returns whether the current time zone matches america/tortola.", examples: [ "Time.america_tortola?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_tortola?", "Time.zone = \"Etc/UTC\" Time.america_tortola?" ] }, "america_vancouver?" => { name: "america_vancouver?", description: "returns whether the current time zone matches america/vancouver.", examples: [ "Time.america_vancouver?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_vancouver?", "Time.zone = \"Etc/UTC\" Time.america_vancouver?" ] }, "america_virgin?" => { name: "america_virgin?", description: "returns whether the current time zone matches america/virgin.", examples: [ "Time.america_virgin?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_virgin?", "Time.zone = \"Etc/UTC\" Time.america_virgin?" ] }, "america_whitehorse?" => { name: "america_whitehorse?", description: "returns whether the current time zone matches america/whitehorse.", examples: [ "Time.america_whitehorse?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_whitehorse?", "Time.zone = \"Etc/UTC\" Time.america_whitehorse?" ] }, "america_winnipeg?" => { name: "america_winnipeg?", description: "returns whether the current time zone matches america/winnipeg.", examples: [ "Time.america_winnipeg?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_winnipeg?", "Time.zone = \"Etc/UTC\" Time.america_winnipeg?" ] }, "america_yakutat?" => { name: "america_yakutat?", description: "returns whether the current time zone matches america/yakutat.", examples: [ "Time.america_yakutat?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_yakutat?", "Time.zone = \"Etc/UTC\" Time.america_yakutat?" ] }, "america_yellowknife?" => { name: "america_yellowknife?", description: "returns whether the current time zone matches america/yellowknife.", examples: [ "Time.america_yellowknife?", "Time.new(\"2024-03-05 06:10:59 UTC\").america_yellowknife?", "Time.zone = \"Etc/UTC\" Time.america_yellowknife?" ] }, "antarctica_casey?" => { name: "antarctica_casey?", description: "returns whether the current time zone matches antarctica/casey.", examples: [ "Time.antarctica_casey?", "Time.new(\"2024-03-05 06:10:59 UTC\").antarctica_casey?", "Time.zone = \"Etc/UTC\" Time.antarctica_casey?" ] }, "antarctica_davis?" => { name: "antarctica_davis?", description: "returns whether the current time zone matches antarctica/davis.", examples: [ "Time.antarctica_davis?", "Time.new(\"2024-03-05 06:10:59 UTC\").antarctica_davis?", "Time.zone = \"Etc/UTC\" Time.antarctica_davis?" ] }, "antarctica_dumontdurville?" => { name: "antarctica_dumontdurville?", description: "returns whether the current time zone matches antarctica/dumontdurville.", examples: [ "Time.antarctica_dumontdurville?", "Time.new(\"2024-03-05 06:10:59 UTC\").antarctica_dumontdurville?", "Time.zone = \"Etc/UTC\" Time.antarctica_dumontdurville?" ] }, "antarctica_macquarie?" => { name: "antarctica_macquarie?", description: "returns whether the current time zone matches antarctica/macquarie.", examples: [ "Time.antarctica_macquarie?", "Time.new(\"2024-03-05 06:10:59 UTC\").antarctica_macquarie?", "Time.zone = \"Etc/UTC\" Time.antarctica_macquarie?" ] }, "antarctica_mawson?" => { name: "antarctica_mawson?", description: "returns whether the current time zone matches antarctica/mawson.", examples: [ "Time.antarctica_mawson?", "Time.new(\"2024-03-05 06:10:59 UTC\").antarctica_mawson?", "Time.zone = \"Etc/UTC\" Time.antarctica_mawson?" ] }, "antarctica_mcmurdo?" => { name: "antarctica_mcmurdo?", description: "returns whether the current time zone matches antarctica/mcmurdo.", examples: [ "Time.antarctica_mcmurdo?", "Time.new(\"2024-03-05 06:10:59 UTC\").antarctica_mcmurdo?", "Time.zone = \"Etc/UTC\" Time.antarctica_mcmurdo?" ] }, "antarctica_palmer?" => { name: "antarctica_palmer?", description: "returns whether the current time zone matches antarctica/palmer.", examples: [ "Time.antarctica_palmer?", "Time.new(\"2024-03-05 06:10:59 UTC\").antarctica_palmer?", "Time.zone = \"Etc/UTC\" Time.antarctica_palmer?" ] }, "antarctica_rothera?" => { name: "antarctica_rothera?", description: "returns whether the current time zone matches antarctica/rothera.", examples: [ "Time.antarctica_rothera?", "Time.new(\"2024-03-05 06:10:59 UTC\").antarctica_rothera?", "Time.zone = \"Etc/UTC\" Time.antarctica_rothera?" ] }, "antarctica_south_pole?" => { name: "antarctica_south_pole?", description: "returns whether the current time zone matches antarctica/south/pole.", examples: [ "Time.antarctica_south_pole?", "Time.new(\"2024-03-05 06:10:59 UTC\").antarctica_south_pole?", "Time.zone = \"Etc/UTC\" Time.antarctica_south_pole?" ] }, "antarctica_syowa?" => { name: "antarctica_syowa?", description: "returns whether the current time zone matches antarctica/syowa.", examples: [ "Time.antarctica_syowa?", "Time.new(\"2024-03-05 06:10:59 UTC\").antarctica_syowa?", "Time.zone = \"Etc/UTC\" Time.antarctica_syowa?" ] }, "antarctica_troll?" => { name: "antarctica_troll?", description: "returns whether the current time zone matches antarctica/troll.", examples: [ "Time.antarctica_troll?", "Time.new(\"2024-03-05 06:10:59 UTC\").antarctica_troll?", "Time.zone = \"Etc/UTC\" Time.antarctica_troll?" ] }, "antarctica_vostok?" => { name: "antarctica_vostok?", description: "returns whether the current time zone matches antarctica/vostok.", examples: [ "Time.antarctica_vostok?", "Time.new(\"2024-03-05 06:10:59 UTC\").antarctica_vostok?", "Time.zone = \"Etc/UTC\" Time.antarctica_vostok?" ] }, "arctic_longyearbyen?" => { name: "arctic_longyearbyen?", description: "returns whether the current time zone matches arctic/longyearbyen.", examples: [ "Time.arctic_longyearbyen?", "Time.new(\"2024-03-05 06:10:59 UTC\").arctic_longyearbyen?", "Time.zone = \"Etc/UTC\" Time.arctic_longyearbyen?" ] }, "asia_aden?" => { name: "asia_aden?", description: "returns whether the current time zone matches asia/aden.", examples: [ "Time.asia_aden?", "Time.new(\"2024-03-05 06:10:59 UTC\").asia_aden?", "Time.zone = \"Etc/UTC\" Time.asia_aden?" ] }, "asia_almaty?" => { name: "asia_almaty?", description: "returns whether the current time zone matches asia/almaty.", examples: [ "Time.asia_almaty?", "Time.new(\"2024-03-05 06:10:59 UTC\").asia_almaty?", "Time.zone = \"Etc/UTC\" Time.asia_almaty?" ] }, "asia_amman?" => { name: "asia_amman?", description: "returns whether the current time zone matches asia/amman.", examples: [ "Time.asia_amman?", "Time.new(\"2024-03-05 06:10:59 UTC\").asia_amman?", "Time.zone = \"Etc/UTC\" Time.asia_amman?" ] }, "asia_anadyr?" => { name: "asia_anadyr?", description: "returns whether the current time zone matches asia/anadyr.", examples: [ "Time.asia_anadyr?", "Time.new(\"2024-03-05 06:10:59 UTC\").asia_anadyr?", "Time.zone = \"Etc/UTC\" Time.asia_anadyr?" ] }, "asia_aqtau?" => { name: "asia_aqtau?", description: "returns whether the current time zone matches asia/aqtau.", examples: [ "Time.asia_aqtau?", "Time.new(\"2024-03-05 06:10:59 UTC\").asia_aqtau?", "Time.zone = \"Etc/UTC\" Time.asia_aqtau?" ] }, "asia_aqtobe?" => { name: "asia_aqtobe?", description: "returns whether the current time zone matches asia/aqtobe.", examples: [ "Time.asia_aqtobe?", "Time.new(\"2024-03-05 06:10:59 UTC\").asia_aqtobe?", "Time.zone = \"Etc/UTC\" Time.asia_aqtobe?" ] }, "asia_ashgabat?" => { name: "asia_ashgabat?", description: "returns whether the current time zone matches asia/ashgabat.", examples: [ "Time.asia_ashgabat?", "Time.new(\"2024-03-05 06:10:59 UTC\").asia_ashgabat?", "Time.zone = \"Etc/UTC\" Time.asia_ashgabat?" ] }, "asia_ashkhabad?" => { name: "asia_ashkhabad?", description: "returns whether the current time zone matches asia/ashkhabad.", examples: [ "Time.asia_ashkhabad?", "Time.new(\"2024-03-05 06:10:59 UTC\").asia_ashkhabad?", "Time.zone = \"Etc/UTC\" Time.asia_ashkhabad?" ] }, "asia_atyrau?" => { name: "asia_atyrau?", description: "returns whether the current time zone matches asia/atyrau.", examples: [ "Time.asia_atyrau?", "Time.new(\"2024-03-05 06:10:59 UTC\").asia_atyrau?", "Time.zone = \"Etc/UTC\" Time.asia_atyrau?" ] }, "asia_baghdad?" => { name: "asia_baghdad?", description: "returns whether the current time zone matches asia/baghdad.", examples: [ "Time.asia_baghdad?", "Time.new(\"2024-03-05 06:10:59 UTC\").asia_baghdad?", "Time.zone = \"Etc/UTC\" Time.asia_baghdad?" ] }, "asia_bahrain?" => { name: "asia_bahrain?", description: "returns whether the current time zone matches asia/bahrain.", examples: [ "Time.asia_bahrain?", "Time.new(\"2024-03-05 06:10:59 UTC\").asia_bahrain?", "Time.zone = \"Etc/UTC\" Time.asia_bahrain?" ] }, "asia_baku?" => { name: "asia_baku?", description: "returns whether the current time zone matches asia/baku.", examples: [ "Time.asia_baku?", "Time.new(\"2024-03-05 06:10:59 UTC\").asia_baku?", "Time.zone = \"Etc/UTC\" Time.asia_baku?" ] }, "asia_bangkok?" => { name: "asia_bangkok?", description: "returns whether the current time zone matches asia/bangkok.", examples: [ "Time.asia_bangkok?", "Time.new(\"2024-03-05 06:10:59 UTC\").asia_bangkok?", "Time.zone = \"Etc/UTC\" Time.asia_bangkok?" ] }, "asia_barnaul?" => { name: "asia_barnaul?", description: "returns whether the current time zone matches asia/barnaul.", examples: [ "Time.asia_barnaul?", "Time.new(\"2024-03-05 06:10:59 UTC\").asia_barnaul?", "Time.zone = \"Etc/UTC\" Time.asia_barnaul?" ] }, "asia_beirut?" => { name: "asia_beirut?", description: "returns whether the current time zone matches asia/beirut.", examples: [ "Time.asia_beirut?", "Time.new(\"2024-03-05 06:10:59 UTC\").asia_beirut?", "Time.zone = \"Etc/UTC\" Time.asia_beirut?" ] }, "asia_bishkek?" => { name: "asia_bishkek?", description: "returns whether the current time zone matches asia/bishkek.", examples: [ "Time.asia_bishkek?", "Time.new(\"2024-03-05 06:10:59 UTC\").asia_bishkek?", "Time.zone = \"Etc/UTC\" Time.asia_bishkek?" ] }, "asia_brunei?" => { name: "asia_brunei?", description: "returns whether the current time zone matches asia/brunei.", examples: [ "Time.asia_brunei?", "Time.new(\"2024-03-05 06:10:59 UTC\").asia_brunei?", "Time.zone = \"Etc/UTC\" Time.asia_brunei?" ] }, "asia_calcutta?" => { name: "asia_calcutta?", description: "returns whether the current time zone matches asia/calcutta.", examples: [ "Time.asia_calcutta?", "Time.new(\"2024-03-05 06:10:59 UTC\").asia_calcutta?", "Time.zone = \"Etc/UTC\" Time.asia_calcutta?" ] }, "asia_chita?" => { name: "asia_chita?", description: "returns whether the current time zone matches asia/chita.", examples: [ "Time.asia_chita?", "Time.new(\"2024-03-05 06:10:59 UTC\").asia_chita?", "Time.zone = \"Etc/UTC\" Time.asia_chita?" ] }, "asia_choibalsan?" => { name: "asia_choibalsan?", description: "returns whether the current time zone matches asia/choibalsan.", examples: [ "Time.asia_choibalsan?", "Time.new(\"2024-03-05 06:10:59 UTC\").asia_choibalsan?", "Time.zone = \"Etc/UTC\" Time.asia_choibalsan?" ] }, "asia_chongqing?" => { name: "asia_chongqing?", description: "returns whether the current time zone matches asia/chongqing.", examples: [ "Time.asia_chongqing?", "Time.new(\"2024-03-05 06:10:59 UTC\").asia_chongqing?", "Time.zone = \"Etc/UTC\" Time.asia_chongqing?" ] }, "asia_chungking?" => { name: "asia_chungking?", description: "returns whether the current time zone matches asia/chungking.", examples: [ "Time.asia_chungking?", "Time.new(\"2024-03-05 06:10:59 UTC\").asia_chungking?", "Time.zone = \"Etc/UTC\" Time.asia_chungking?" ] }, "asia_colombo?" => { name: "asia_colombo?", description: "returns whether the current time zone matches asia/colombo.", examples: [ "Time.asia_colombo?", "Time.new(\"2024-03-05 06:10:59 UTC\").asia_colombo?", "Time.zone = \"Etc/UTC\" Time.asia_colombo?" ] }, "asia_dacca?" => { name: "asia_dacca?", description: "returns whether the current time zone matches asia/dacca.", examples: [ "Time.asia_dacca?", "Time.new(\"2024-03-05 06:10:59 UTC\").asia_dacca?", "Time.zone = \"Etc/UTC\" Time.asia_dacca?" ] }, "asia_damascus?" => { name: "asia_damascus?", description: "returns whether the current time zone matches asia/damascus.", examples: [ "Time.asia_damascus?", "Time.new(\"2024-03-05 06:10:59 UTC\").asia_damascus?", "Time.zone = \"Etc/UTC\" Time.asia_damascus?" ] }, "asia_dhaka?" => { name: "asia_dhaka?", description: "returns whether the current time zone matches asia/dhaka.", examples: [ "Time.asia_dhaka?", "Time.new(\"2024-03-05 06:10:59 UTC\").asia_dhaka?", "Time.zone = \"Etc/UTC\" Time.asia_dhaka?" ] }, "asia_dili?" => { name: "asia_dili?", description: "returns whether the current time zone matches asia/dili.", examples: [ "Time.asia_dili?", "Time.new(\"2024-03-05 06:10:59 UTC\").asia_dili?", "Time.zone = \"Etc/UTC\" Time.asia_dili?" ] }, "asia_dubai?" => { name: "asia_dubai?", description: "returns whether the current time zone matches asia/dubai.", examples: [ "Time.asia_dubai?", "Time.new(\"2024-03-05 06:10:59 UTC\").asia_dubai?", "Time.zone = \"Etc/UTC\" Time.asia_dubai?" ] }, "asia_dushanbe?" => { name: "asia_dushanbe?", description: "returns whether the current time zone matches asia/dushanbe.", examples: [ "Time.asia_dushanbe?", "Time.new(\"2024-03-05 06:10:59 UTC\").asia_dushanbe?", "Time.zone = \"Etc/UTC\" Time.asia_dushanbe?" ] }, "asia_famagusta?" => { name: "asia_famagusta?", description: "returns whether the current time zone matches asia/famagusta.", examples: [ "Time.asia_famagusta?", "Time.new(\"2024-03-05 06:10:59 UTC\").asia_famagusta?", "Time.zone = \"Etc/UTC\" Time.asia_famagusta?" ] }, "asia_gaza?" => { name: "asia_gaza?", description: "returns whether the current time zone matches asia/gaza.", examples: [ "Time.asia_gaza?", "Time.new(\"2024-03-05 06:10:59 UTC\").asia_gaza?", "Time.zone = \"Etc/UTC\" Time.asia_gaza?" ] }, "asia_harbin?" => { name: "asia_harbin?", description: "returns whether the current time zone matches asia/harbin.", examples: [ "Time.asia_harbin?", "Time.new(\"2024-03-05 06:10:59 UTC\").asia_harbin?", "Time.zone = \"Etc/UTC\" Time.asia_harbin?" ] }, "asia_hebron?" => { name: "asia_hebron?", description: "returns whether the current time zone matches asia/hebron.", examples: [ "Time.asia_hebron?", "Time.new(\"2024-03-05 06:10:59 UTC\").asia_hebron?", "Time.zone = \"Etc/UTC\" Time.asia_hebron?" ] }, "asia_ho_chi_minh?" => { name: "asia_ho_chi_minh?", description: "returns whether the current time zone matches asia/ho/chi/minh.", examples: [ "Time.asia_ho_chi_minh?", "Time.new(\"2024-03-05 06:10:59 UTC\").asia_ho_chi_minh?", "Time.zone = \"Etc/UTC\" Time.asia_ho_chi_minh?" ] }, "asia_hong_kong?" => { name: "asia_hong_kong?", description: "returns whether the current time zone matches asia/hong/kong.", examples: [ "Time.asia_hong_kong?", "Time.new(\"2024-03-05 06:10:59 UTC\").asia_hong_kong?", "Time.zone = \"Etc/UTC\" Time.asia_hong_kong?" ] }, "asia_hovd?" => { name: "asia_hovd?", description: "returns whether the current time zone matches asia/hovd.", examples: [ "Time.asia_hovd?", "Time.new(\"2024-03-05 06:10:59 UTC\").asia_hovd?", "Time.zone = \"Etc/UTC\" Time.asia_hovd?" ] }, "asia_irkutsk?" => { name: "asia_irkutsk?", description: "returns whether the current time zone matches asia/irkutsk.", examples: [ "Time.asia_irkutsk?", "Time.new(\"2024-03-05 06:10:59 UTC\").asia_irkutsk?", "Time.zone = \"Etc/UTC\" Time.asia_irkutsk?" ] }, "asia_istanbul?" => { name: "asia_istanbul?", description: "returns whether the current time zone matches asia/istanbul.", examples: [ "Time.asia_istanbul?", "Time.new(\"2024-03-05 06:10:59 UTC\").asia_istanbul?", "Time.zone = \"Etc/UTC\" Time.asia_istanbul?" ] }, "asia_jakarta?" => { name: "asia_jakarta?", description: "returns whether the current time zone matches asia/jakarta.", examples: [ "Time.asia_jakarta?", "Time.new(\"2024-03-05 06:10:59 UTC\").asia_jakarta?", "Time.zone = \"Etc/UTC\" Time.asia_jakarta?" ] }, "asia_jayapura?" => { name: "asia_jayapura?", description: "returns whether the current time zone matches asia/jayapura.", examples: [ "Time.asia_jayapura?", "Time.new(\"2024-03-05 06:10:59 UTC\").asia_jayapura?", "Time.zone = \"Etc/UTC\" Time.asia_jayapura?" ] }, "asia_jerusalem?" => { name: "asia_jerusalem?", description: "returns whether the current time zone matches asia/jerusalem.", examples: [ "Time.asia_jerusalem?", "Time.new(\"2024-03-05 06:10:59 UTC\").asia_jerusalem?", "Time.zone = \"Etc/UTC\" Time.asia_jerusalem?" ] }, "asia_kabul?" => { name: "asia_kabul?", description: "returns whether the current time zone matches asia/kabul.", examples: [ "Time.asia_kabul?", "Time.new(\"2024-03-05 06:10:59 UTC\").asia_kabul?", "Time.zone = \"Etc/UTC\" Time.asia_kabul?" ] }, "asia_kamchatka?" => { name: "asia_kamchatka?", description: "returns whether the current time zone matches asia/kamchatka.", examples: [ "Time.asia_kamchatka?", "Time.new(\"2024-03-05 06:10:59 UTC\").asia_kamchatka?", "Time.zone = \"Etc/UTC\" Time.asia_kamchatka?" ] }, "asia_karachi?" => { name: "asia_karachi?", description: "returns whether the current time zone matches asia/karachi.", examples: [ "Time.asia_karachi?", "Time.new(\"2024-03-05 06:10:59 UTC\").asia_karachi?", "Time.zone = \"Etc/UTC\" Time.asia_karachi?" ] }, "asia_kashgar?" => { name: "asia_kashgar?", description: "returns whether the current time zone matches asia/kashgar.", examples: [ "Time.asia_kashgar?", "Time.new(\"2024-03-05 06:10:59 UTC\").asia_kashgar?", "Time.zone = \"Etc/UTC\" Time.asia_kashgar?" ] }, "asia_kathmandu?" => { name: "asia_kathmandu?", description: "returns whether the current time zone matches asia/kathmandu.", examples: [ "Time.asia_kathmandu?", "Time.new(\"2024-03-05 06:10:59 UTC\").asia_kathmandu?", "Time.zone = \"Etc/UTC\" Time.asia_kathmandu?" ] }, "asia_katmandu?" => { name: "asia_katmandu?", description: "returns whether the current time zone matches asia/katmandu.", examples: [ "Time.asia_katmandu?", "Time.new(\"2024-03-05 06:10:59 UTC\").asia_katmandu?", "Time.zone = \"Etc/UTC\" Time.asia_katmandu?" ] }, "asia_khandyga?" => { name: "asia_khandyga?", description: "returns whether the current time zone matches asia/khandyga.", examples: [ "Time.asia_khandyga?", "Time.new(\"2024-03-05 06:10:59 UTC\").asia_khandyga?", "Time.zone = \"Etc/UTC\" Time.asia_khandyga?" ] }, "asia_kolkata?" => { name: "asia_kolkata?", description: "returns whether the current time zone matches asia/kolkata.", examples: [ "Time.asia_kolkata?", "Time.new(\"2024-03-05 06:10:59 UTC\").asia_kolkata?", "Time.zone = \"Etc/UTC\" Time.asia_kolkata?" ] }, "asia_krasnoyarsk?" => { name: "asia_krasnoyarsk?", description: "returns whether the current time zone matches asia/krasnoyarsk.", examples: [ "Time.asia_krasnoyarsk?", "Time.new(\"2024-03-05 06:10:59 UTC\").asia_krasnoyarsk?", "Time.zone = \"Etc/UTC\" Time.asia_krasnoyarsk?" ] }, "asia_kuala_lumpur?" => { name: "asia_kuala_lumpur?", description: "returns whether the current time zone matches asia/kuala/lumpur.", examples: [ "Time.asia_kuala_lumpur?", "Time.new(\"2024-03-05 06:10:59 UTC\").asia_kuala_lumpur?", "Time.zone = \"Etc/UTC\" Time.asia_kuala_lumpur?" ] }, "asia_kuching?" => { name: "asia_kuching?", description: "returns whether the current time zone matches asia/kuching.", examples: [ "Time.asia_kuching?", "Time.new(\"2024-03-05 06:10:59 UTC\").asia_kuching?", "Time.zone = \"Etc/UTC\" Time.asia_kuching?" ] }, "asia_kuwait?" => { name: "asia_kuwait?", description: "returns whether the current time zone matches asia/kuwait.", examples: [ "Time.asia_kuwait?", "Time.new(\"2024-03-05 06:10:59 UTC\").asia_kuwait?", "Time.zone = \"Etc/UTC\" Time.asia_kuwait?" ] }, "asia_macao?" => { name: "asia_macao?", description: "returns whether the current time zone matches asia/macao.", examples: [ "Time.asia_macao?", "Time.new(\"2024-03-05 06:10:59 UTC\").asia_macao?", "Time.zone = \"Etc/UTC\" Time.asia_macao?" ] }, "asia_macau?" => { name: "asia_macau?", description: "returns whether the current time zone matches asia/macau.", examples: [ "Time.asia_macau?", "Time.new(\"2024-03-05 06:10:59 UTC\").asia_macau?", "Time.zone = \"Etc/UTC\" Time.asia_macau?" ] }, "asia_magadan?" => { name: "asia_magadan?", description: "returns whether the current time zone matches asia/magadan.", examples: [ "Time.asia_magadan?", "Time.new(\"2024-03-05 06:10:59 UTC\").asia_magadan?", "Time.zone = \"Etc/UTC\" Time.asia_magadan?" ] }, "asia_makassar?" => { name: "asia_makassar?", description: "returns whether the current time zone matches asia/makassar.", examples: [ "Time.asia_makassar?", "Time.new(\"2024-03-05 06:10:59 UTC\").asia_makassar?", "Time.zone = \"Etc/UTC\" Time.asia_makassar?" ] }, "asia_manila?" => { name: "asia_manila?", description: "returns whether the current time zone matches asia/manila.", examples: [ "Time.asia_manila?", "Time.new(\"2024-03-05 06:10:59 UTC\").asia_manila?", "Time.zone = \"Etc/UTC\" Time.asia_manila?" ] }, "asia_muscat?" => { name: "asia_muscat?", description: "returns whether the current time zone matches asia/muscat.", examples: [ "Time.asia_muscat?", "Time.new(\"2024-03-05 06:10:59 UTC\").asia_muscat?", "Time.zone = \"Etc/UTC\" Time.asia_muscat?" ] }, "asia_nicosia?" => { name: "asia_nicosia?", description: "returns whether the current time zone matches asia/nicosia.", examples: [ "Time.asia_nicosia?", "Time.new(\"2024-03-05 06:10:59 UTC\").asia_nicosia?", "Time.zone = \"Etc/UTC\" Time.asia_nicosia?" ] }, "asia_novokuznetsk?" => { name: "asia_novokuznetsk?", description: "returns whether the current time zone matches asia/novokuznetsk.", examples: [ "Time.asia_novokuznetsk?", "Time.new(\"2024-03-05 06:10:59 UTC\").asia_novokuznetsk?", "Time.zone = \"Etc/UTC\" Time.asia_novokuznetsk?" ] }, "asia_novosibirsk?" => { name: "asia_novosibirsk?", description: "returns whether the current time zone matches asia/novosibirsk.", examples: [ "Time.asia_novosibirsk?", "Time.new(\"2024-03-05 06:10:59 UTC\").asia_novosibirsk?", "Time.zone = \"Etc/UTC\" Time.asia_novosibirsk?" ] }, "asia_omsk?" => { name: "asia_omsk?", description: "returns whether the current time zone matches asia/omsk.", examples: [ "Time.asia_omsk?", "Time.new(\"2024-03-05 06:10:59 UTC\").asia_omsk?", "Time.zone = \"Etc/UTC\" Time.asia_omsk?" ] }, "asia_oral?" => { name: "asia_oral?", description: "returns whether the current time zone matches asia/oral.", examples: [ "Time.asia_oral?", "Time.new(\"2024-03-05 06:10:59 UTC\").asia_oral?", "Time.zone = \"Etc/UTC\" Time.asia_oral?" ] }, "asia_phnom_penh?" => { name: "asia_phnom_penh?", description: "returns whether the current time zone matches asia/phnom/penh.", examples: [ "Time.asia_phnom_penh?", "Time.new(\"2024-03-05 06:10:59 UTC\").asia_phnom_penh?", "Time.zone = \"Etc/UTC\" Time.asia_phnom_penh?" ] }, "asia_pontianak?" => { name: "asia_pontianak?", description: "returns whether the current time zone matches asia/pontianak.", examples: [ "Time.asia_pontianak?", "Time.new(\"2024-03-05 06:10:59 UTC\").asia_pontianak?", "Time.zone = \"Etc/UTC\" Time.asia_pontianak?" ] }, "asia_pyongyang?" => { name: "asia_pyongyang?", description: "returns whether the current time zone matches asia/pyongyang.", examples: [ "Time.asia_pyongyang?", "Time.new(\"2024-03-05 06:10:59 UTC\").asia_pyongyang?", "Time.zone = \"Etc/UTC\" Time.asia_pyongyang?" ] }, "asia_qatar?" => { name: "asia_qatar?", description: "returns whether the current time zone matches asia/qatar.", examples: [ "Time.asia_qatar?", "Time.new(\"2024-03-05 06:10:59 UTC\").asia_qatar?", "Time.zone = \"Etc/UTC\" Time.asia_qatar?" ] }, "asia_qostanay?" => { name: "asia_qostanay?", description: "returns whether the current time zone matches asia/qostanay.", examples: [ "Time.asia_qostanay?", "Time.new(\"2024-03-05 06:10:59 UTC\").asia_qostanay?", "Time.zone = \"Etc/UTC\" Time.asia_qostanay?" ] }, "asia_qyzylorda?" => { name: "asia_qyzylorda?", description: "returns whether the current time zone matches asia/qyzylorda.", examples: [ "Time.asia_qyzylorda?", "Time.new(\"2024-03-05 06:10:59 UTC\").asia_qyzylorda?", "Time.zone = \"Etc/UTC\" Time.asia_qyzylorda?" ] }, "asia_rangoon?" => { name: "asia_rangoon?", description: "returns whether the current time zone matches asia/rangoon.", examples: [ "Time.asia_rangoon?", "Time.new(\"2024-03-05 06:10:59 UTC\").asia_rangoon?", "Time.zone = \"Etc/UTC\" Time.asia_rangoon?" ] }, "asia_riyadh?" => { name: "asia_riyadh?", description: "returns whether the current time zone matches asia/riyadh.", examples: [ "Time.asia_riyadh?", "Time.new(\"2024-03-05 06:10:59 UTC\").asia_riyadh?", "Time.zone = \"Etc/UTC\" Time.asia_riyadh?" ] }, "asia_saigon?" => { name: "asia_saigon?", description: "returns whether the current time zone matches asia/saigon.", examples: [ "Time.asia_saigon?", "Time.new(\"2024-03-05 06:10:59 UTC\").asia_saigon?", "Time.zone = \"Etc/UTC\" Time.asia_saigon?" ] }, "asia_sakhalin?" => { name: "asia_sakhalin?", description: "returns whether the current time zone matches asia/sakhalin.", examples: [ "Time.asia_sakhalin?", "Time.new(\"2024-03-05 06:10:59 UTC\").asia_sakhalin?", "Time.zone = \"Etc/UTC\" Time.asia_sakhalin?" ] }, "asia_samarkand?" => { name: "asia_samarkand?", description: "returns whether the current time zone matches asia/samarkand.", examples: [ "Time.asia_samarkand?", "Time.new(\"2024-03-05 06:10:59 UTC\").asia_samarkand?", "Time.zone = \"Etc/UTC\" Time.asia_samarkand?" ] }, "asia_seoul?" => { name: "asia_seoul?", description: "returns whether the current time zone matches asia/seoul.", examples: [ "Time.asia_seoul?", "Time.new(\"2024-03-05 06:10:59 UTC\").asia_seoul?", "Time.zone = \"Etc/UTC\" Time.asia_seoul?" ] }, "asia_shanghai?" => { name: "asia_shanghai?", description: "returns whether the current time zone matches asia/shanghai.", examples: [ "Time.asia_shanghai?", "Time.new(\"2024-03-05 06:10:59 UTC\").asia_shanghai?", "Time.zone = \"Etc/UTC\" Time.asia_shanghai?" ] }, "asia_singapore?" => { name: "asia_singapore?", description: "returns whether the current time zone matches asia/singapore.", examples: [ "Time.asia_singapore?", "Time.new(\"2024-03-05 06:10:59 UTC\").asia_singapore?", "Time.zone = \"Etc/UTC\" Time.asia_singapore?" ] }, "asia_srednekolymsk?" => { name: "asia_srednekolymsk?", description: "returns whether the current time zone matches asia/srednekolymsk.", examples: [ "Time.asia_srednekolymsk?", "Time.new(\"2024-03-05 06:10:59 UTC\").asia_srednekolymsk?", "Time.zone = \"Etc/UTC\" Time.asia_srednekolymsk?" ] }, "asia_taipei?" => { name: "asia_taipei?", description: "returns whether the current time zone matches asia/taipei.", examples: [ "Time.asia_taipei?", "Time.new(\"2024-03-05 06:10:59 UTC\").asia_taipei?", "Time.zone = \"Etc/UTC\" Time.asia_taipei?" ] }, "asia_tashkent?" => { name: "asia_tashkent?", description: "returns whether the current time zone matches asia/tashkent.", examples: [ "Time.asia_tashkent?", "Time.new(\"2024-03-05 06:10:59 UTC\").asia_tashkent?", "Time.zone = \"Etc/UTC\" Time.asia_tashkent?" ] }, "asia_tbilisi?" => { name: "asia_tbilisi?", description: "returns whether the current time zone matches asia/tbilisi.", examples: [ "Time.asia_tbilisi?", "Time.new(\"2024-03-05 06:10:59 UTC\").asia_tbilisi?", "Time.zone = \"Etc/UTC\" Time.asia_tbilisi?" ] }, "asia_tehran?" => { name: "asia_tehran?", description: "returns whether the current time zone matches asia/tehran.", examples: [ "Time.asia_tehran?", "Time.new(\"2024-03-05 06:10:59 UTC\").asia_tehran?", "Time.zone = \"Etc/UTC\" Time.asia_tehran?" ] }, "asia_tel_aviv?" => { name: "asia_tel_aviv?", description: "returns whether the current time zone matches asia/tel/aviv.", examples: [ "Time.asia_tel_aviv?", "Time.new(\"2024-03-05 06:10:59 UTC\").asia_tel_aviv?", "Time.zone = \"Etc/UTC\" Time.asia_tel_aviv?" ] }, "asia_thimbu?" => { name: "asia_thimbu?", description: "returns whether the current time zone matches asia/thimbu.", examples: [ "Time.asia_thimbu?", "Time.new(\"2024-03-05 06:10:59 UTC\").asia_thimbu?", "Time.zone = \"Etc/UTC\" Time.asia_thimbu?" ] }, "asia_thimphu?" => { name: "asia_thimphu?", description: "returns whether the current time zone matches asia/thimphu.", examples: [ "Time.asia_thimphu?", "Time.new(\"2024-03-05 06:10:59 UTC\").asia_thimphu?", "Time.zone = \"Etc/UTC\" Time.asia_thimphu?" ] }, "asia_tokyo?" => { name: "asia_tokyo?", description: "returns whether the current time zone matches asia/tokyo.", examples: [ "Time.asia_tokyo?", "Time.new(\"2024-03-05 06:10:59 UTC\").asia_tokyo?", "Time.zone = \"Etc/UTC\" Time.asia_tokyo?" ] }, "asia_tomsk?" => { name: "asia_tomsk?", description: "returns whether the current time zone matches asia/tomsk.", examples: [ "Time.asia_tomsk?", "Time.new(\"2024-03-05 06:10:59 UTC\").asia_tomsk?", "Time.zone = \"Etc/UTC\" Time.asia_tomsk?" ] }, "asia_ujung_pandang?" => { name: "asia_ujung_pandang?", description: "returns whether the current time zone matches asia/ujung/pandang.", examples: [ "Time.asia_ujung_pandang?", "Time.new(\"2024-03-05 06:10:59 UTC\").asia_ujung_pandang?", "Time.zone = \"Etc/UTC\" Time.asia_ujung_pandang?" ] }, "asia_ulaanbaatar?" => { name: "asia_ulaanbaatar?", description: "returns whether the current time zone matches asia/ulaanbaatar.", examples: [ "Time.asia_ulaanbaatar?", "Time.new(\"2024-03-05 06:10:59 UTC\").asia_ulaanbaatar?", "Time.zone = \"Etc/UTC\" Time.asia_ulaanbaatar?" ] }, "asia_ulan_bator?" => { name: "asia_ulan_bator?", description: "returns whether the current time zone matches asia/ulan/bator.", examples: [ "Time.asia_ulan_bator?", "Time.new(\"2024-03-05 06:10:59 UTC\").asia_ulan_bator?", "Time.zone = \"Etc/UTC\" Time.asia_ulan_bator?" ] }, "asia_urumqi?" => { name: "asia_urumqi?", description: "returns whether the current time zone matches asia/urumqi.", examples: [ "Time.asia_urumqi?", "Time.new(\"2024-03-05 06:10:59 UTC\").asia_urumqi?", "Time.zone = \"Etc/UTC\" Time.asia_urumqi?" ] }, "asia_ust_minus_nera?" => { name: "asia_ust_minus_nera?", description: "returns whether the current time zone matches asia/ust/minus/nera.", examples: [ "Time.asia_ust_minus_nera?", "Time.new(\"2024-03-05 06:10:59 UTC\").asia_ust_minus_nera?", "Time.zone = \"Etc/UTC\" Time.asia_ust_minus_nera?" ] }, "asia_vientiane?" => { name: "asia_vientiane?", description: "returns whether the current time zone matches asia/vientiane.", examples: [ "Time.asia_vientiane?", "Time.new(\"2024-03-05 06:10:59 UTC\").asia_vientiane?", "Time.zone = \"Etc/UTC\" Time.asia_vientiane?" ] }, "asia_vladivostok?" => { name: "asia_vladivostok?", description: "returns whether the current time zone matches asia/vladivostok.", examples: [ "Time.asia_vladivostok?", "Time.new(\"2024-03-05 06:10:59 UTC\").asia_vladivostok?", "Time.zone = \"Etc/UTC\" Time.asia_vladivostok?" ] }, "asia_yakutsk?" => { name: "asia_yakutsk?", description: "returns whether the current time zone matches asia/yakutsk.", examples: [ "Time.asia_yakutsk?", "Time.new(\"2024-03-05 06:10:59 UTC\").asia_yakutsk?", "Time.zone = \"Etc/UTC\" Time.asia_yakutsk?" ] }, "asia_yangon?" => { name: "asia_yangon?", description: "returns whether the current time zone matches asia/yangon.", examples: [ "Time.asia_yangon?", "Time.new(\"2024-03-05 06:10:59 UTC\").asia_yangon?", "Time.zone = \"Etc/UTC\" Time.asia_yangon?" ] }, "asia_yekaterinburg?" => { name: "asia_yekaterinburg?", description: "returns whether the current time zone matches asia/yekaterinburg.", examples: [ "Time.asia_yekaterinburg?", "Time.new(\"2024-03-05 06:10:59 UTC\").asia_yekaterinburg?", "Time.zone = \"Etc/UTC\" Time.asia_yekaterinburg?" ] }, "asia_yerevan?" => { name: "asia_yerevan?", description: "returns whether the current time zone matches asia/yerevan.", examples: [ "Time.asia_yerevan?", "Time.new(\"2024-03-05 06:10:59 UTC\").asia_yerevan?", "Time.zone = \"Etc/UTC\" Time.asia_yerevan?" ] }, "atlantic_azores?" => { name: "atlantic_azores?", description: "returns whether the current time zone matches atlantic/azores.", examples: [ "Time.atlantic_azores?", "Time.new(\"2024-03-05 06:10:59 UTC\").atlantic_azores?", "Time.zone = \"Etc/UTC\" Time.atlantic_azores?" ] }, "atlantic_bermuda?" => { name: "atlantic_bermuda?", description: "returns whether the current time zone matches atlantic/bermuda.", examples: [ "Time.atlantic_bermuda?", "Time.new(\"2024-03-05 06:10:59 UTC\").atlantic_bermuda?", "Time.zone = \"Etc/UTC\" Time.atlantic_bermuda?" ] }, "atlantic_canary?" => { name: "atlantic_canary?", description: "returns whether the current time zone matches atlantic/canary.", examples: [ "Time.atlantic_canary?", "Time.new(\"2024-03-05 06:10:59 UTC\").atlantic_canary?", "Time.zone = \"Etc/UTC\" Time.atlantic_canary?" ] }, "atlantic_cape_verde?" => { name: "atlantic_cape_verde?", description: "returns whether the current time zone matches atlantic/cape/verde.", examples: [ "Time.atlantic_cape_verde?", "Time.new(\"2024-03-05 06:10:59 UTC\").atlantic_cape_verde?", "Time.zone = \"Etc/UTC\" Time.atlantic_cape_verde?" ] }, "atlantic_faeroe?" => { name: "atlantic_faeroe?", description: "returns whether the current time zone matches atlantic/faeroe.", examples: [ "Time.atlantic_faeroe?", "Time.new(\"2024-03-05 06:10:59 UTC\").atlantic_faeroe?", "Time.zone = \"Etc/UTC\" Time.atlantic_faeroe?" ] }, "atlantic_faroe?" => { name: "atlantic_faroe?", description: "returns whether the current time zone matches atlantic/faroe.", examples: [ "Time.atlantic_faroe?", "Time.new(\"2024-03-05 06:10:59 UTC\").atlantic_faroe?", "Time.zone = \"Etc/UTC\" Time.atlantic_faroe?" ] }, "atlantic_jan_mayen?" => { name: "atlantic_jan_mayen?", description: "returns whether the current time zone matches atlantic/jan/mayen.", examples: [ "Time.atlantic_jan_mayen?", "Time.new(\"2024-03-05 06:10:59 UTC\").atlantic_jan_mayen?", "Time.zone = \"Etc/UTC\" Time.atlantic_jan_mayen?" ] }, "atlantic_madeira?" => { name: "atlantic_madeira?", description: "returns whether the current time zone matches atlantic/madeira.", examples: [ "Time.atlantic_madeira?", "Time.new(\"2024-03-05 06:10:59 UTC\").atlantic_madeira?", "Time.zone = \"Etc/UTC\" Time.atlantic_madeira?" ] }, "atlantic_reykjavik?" => { name: "atlantic_reykjavik?", description: "returns whether the current time zone matches atlantic/reykjavik.", examples: [ "Time.atlantic_reykjavik?", "Time.new(\"2024-03-05 06:10:59 UTC\").atlantic_reykjavik?", "Time.zone = \"Etc/UTC\" Time.atlantic_reykjavik?" ] }, "atlantic_south_georgia?" => { name: "atlantic_south_georgia?", description: "returns whether the current time zone matches atlantic/south/georgia.", examples: [ "Time.atlantic_south_georgia?", "Time.new(\"2024-03-05 06:10:59 UTC\").atlantic_south_georgia?", "Time.zone = \"Etc/UTC\" Time.atlantic_south_georgia?" ] }, "atlantic_st_helena?" => { name: "atlantic_st_helena?", description: "returns whether the current time zone matches atlantic/st/helena.", examples: [ "Time.atlantic_st_helena?", "Time.new(\"2024-03-05 06:10:59 UTC\").atlantic_st_helena?", "Time.zone = \"Etc/UTC\" Time.atlantic_st_helena?" ] }, "atlantic_stanley?" => { name: "atlantic_stanley?", description: "returns whether the current time zone matches atlantic/stanley.", examples: [ "Time.atlantic_stanley?", "Time.new(\"2024-03-05 06:10:59 UTC\").atlantic_stanley?", "Time.zone = \"Etc/UTC\" Time.atlantic_stanley?" ] }, "australia_act?" => { name: "australia_act?", description: "returns whether the current time zone matches australia/act.", examples: [ "Time.australia_act?", "Time.new(\"2024-03-05 06:10:59 UTC\").australia_act?", "Time.zone = \"Etc/UTC\" Time.australia_act?" ] }, "australia_adelaide?" => { name: "australia_adelaide?", description: "returns whether the current time zone matches australia/adelaide.", examples: [ "Time.australia_adelaide?", "Time.new(\"2024-03-05 06:10:59 UTC\").australia_adelaide?", "Time.zone = \"Etc/UTC\" Time.australia_adelaide?" ] }, "australia_brisbane?" => { name: "australia_brisbane?", description: "returns whether the current time zone matches australia/brisbane.", examples: [ "Time.australia_brisbane?", "Time.new(\"2024-03-05 06:10:59 UTC\").australia_brisbane?", "Time.zone = \"Etc/UTC\" Time.australia_brisbane?" ] }, "australia_broken_hill?" => { name: "australia_broken_hill?", description: "returns whether the current time zone matches australia/broken/hill.", examples: [ "Time.australia_broken_hill?", "Time.new(\"2024-03-05 06:10:59 UTC\").australia_broken_hill?", "Time.zone = \"Etc/UTC\" Time.australia_broken_hill?" ] }, "australia_canberra?" => { name: "australia_canberra?", description: "returns whether the current time zone matches australia/canberra.", examples: [ "Time.australia_canberra?", "Time.new(\"2024-03-05 06:10:59 UTC\").australia_canberra?", "Time.zone = \"Etc/UTC\" Time.australia_canberra?" ] }, "australia_currie?" => { name: "australia_currie?", description: "returns whether the current time zone matches australia/currie.", examples: [ "Time.australia_currie?", "Time.new(\"2024-03-05 06:10:59 UTC\").australia_currie?", "Time.zone = \"Etc/UTC\" Time.australia_currie?" ] }, "australia_darwin?" => { name: "australia_darwin?", description: "returns whether the current time zone matches australia/darwin.", examples: [ "Time.australia_darwin?", "Time.new(\"2024-03-05 06:10:59 UTC\").australia_darwin?", "Time.zone = \"Etc/UTC\" Time.australia_darwin?" ] }, "australia_eucla?" => { name: "australia_eucla?", description: "returns whether the current time zone matches australia/eucla.", examples: [ "Time.australia_eucla?", "Time.new(\"2024-03-05 06:10:59 UTC\").australia_eucla?", "Time.zone = \"Etc/UTC\" Time.australia_eucla?" ] }, "australia_hobart?" => { name: "australia_hobart?", description: "returns whether the current time zone matches australia/hobart.", examples: [ "Time.australia_hobart?", "Time.new(\"2024-03-05 06:10:59 UTC\").australia_hobart?", "Time.zone = \"Etc/UTC\" Time.australia_hobart?" ] }, "australia_lhi?" => { name: "australia_lhi?", description: "returns whether the current time zone matches australia/lhi.", examples: [ "Time.australia_lhi?", "Time.new(\"2024-03-05 06:10:59 UTC\").australia_lhi?", "Time.zone = \"Etc/UTC\" Time.australia_lhi?" ] }, "australia_lindeman?" => { name: "australia_lindeman?", description: "returns whether the current time zone matches australia/lindeman.", examples: [ "Time.australia_lindeman?", "Time.new(\"2024-03-05 06:10:59 UTC\").australia_lindeman?", "Time.zone = \"Etc/UTC\" Time.australia_lindeman?" ] }, "australia_lord_howe?" => { name: "australia_lord_howe?", description: "returns whether the current time zone matches australia/lord/howe.", examples: [ "Time.australia_lord_howe?", "Time.new(\"2024-03-05 06:10:59 UTC\").australia_lord_howe?", "Time.zone = \"Etc/UTC\" Time.australia_lord_howe?" ] }, "australia_melbourne?" => { name: "australia_melbourne?", description: "returns whether the current time zone matches australia/melbourne.", examples: [ "Time.australia_melbourne?", "Time.new(\"2024-03-05 06:10:59 UTC\").australia_melbourne?", "Time.zone = \"Etc/UTC\" Time.australia_melbourne?" ] }, "australia_nsw?" => { name: "australia_nsw?", description: "returns whether the current time zone matches australia/nsw.", examples: [ "Time.australia_nsw?", "Time.new(\"2024-03-05 06:10:59 UTC\").australia_nsw?", "Time.zone = \"Etc/UTC\" Time.australia_nsw?" ] }, "australia_north?" => { name: "australia_north?", description: "returns whether the current time zone matches australia/north.", examples: [ "Time.australia_north?", "Time.new(\"2024-03-05 06:10:59 UTC\").australia_north?", "Time.zone = \"Etc/UTC\" Time.australia_north?" ] }, "australia_perth?" => { name: "australia_perth?", description: "returns whether the current time zone matches australia/perth.", examples: [ "Time.australia_perth?", "Time.new(\"2024-03-05 06:10:59 UTC\").australia_perth?", "Time.zone = \"Etc/UTC\" Time.australia_perth?" ] }, "australia_queensland?" => { name: "australia_queensland?", description: "returns whether the current time zone matches australia/queensland.", examples: [ "Time.australia_queensland?", "Time.new(\"2024-03-05 06:10:59 UTC\").australia_queensland?", "Time.zone = \"Etc/UTC\" Time.australia_queensland?" ] }, "australia_south?" => { name: "australia_south?", description: "returns whether the current time zone matches australia/south.", examples: [ "Time.australia_south?", "Time.new(\"2024-03-05 06:10:59 UTC\").australia_south?", "Time.zone = \"Etc/UTC\" Time.australia_south?" ] }, "australia_sydney?" => { name: "australia_sydney?", description: "returns whether the current time zone matches australia/sydney.", examples: [ "Time.australia_sydney?", "Time.new(\"2024-03-05 06:10:59 UTC\").australia_sydney?", "Time.zone = \"Etc/UTC\" Time.australia_sydney?" ] }, "australia_tasmania?" => { name: "australia_tasmania?", description: "returns whether the current time zone matches australia/tasmania.", examples: [ "Time.australia_tasmania?", "Time.new(\"2024-03-05 06:10:59 UTC\").australia_tasmania?", "Time.zone = \"Etc/UTC\" Time.australia_tasmania?" ] }, "australia_victoria?" => { name: "australia_victoria?", description: "returns whether the current time zone matches australia/victoria.", examples: [ "Time.australia_victoria?", "Time.new(\"2024-03-05 06:10:59 UTC\").australia_victoria?", "Time.zone = \"Etc/UTC\" Time.australia_victoria?" ] }, "australia_west?" => { name: "australia_west?", description: "returns whether the current time zone matches australia/west.", examples: [ "Time.australia_west?", "Time.new(\"2024-03-05 06:10:59 UTC\").australia_west?", "Time.zone = \"Etc/UTC\" Time.australia_west?" ] }, "australia_yancowinna?" => { name: "australia_yancowinna?", description: "returns whether the current time zone matches australia/yancowinna.", examples: [ "Time.australia_yancowinna?", "Time.new(\"2024-03-05 06:10:59 UTC\").australia_yancowinna?", "Time.zone = \"Etc/UTC\" Time.australia_yancowinna?" ] }, "brazil_acre?" => { name: "brazil_acre?", description: "returns whether the current time zone matches brazil/acre.", examples: [ "Time.brazil_acre?", "Time.new(\"2024-03-05 06:10:59 UTC\").brazil_acre?", "Time.zone = \"Etc/UTC\" Time.brazil_acre?" ] }, "brazil_denoronha?" => { name: "brazil_denoronha?", description: "returns whether the current time zone matches brazil/denoronha.", examples: [ "Time.brazil_denoronha?", "Time.new(\"2024-03-05 06:10:59 UTC\").brazil_denoronha?", "Time.zone = \"Etc/UTC\" Time.brazil_denoronha?" ] }, "brazil_east?" => { name: "brazil_east?", description: "returns whether the current time zone matches brazil/east.", examples: [ "Time.brazil_east?", "Time.new(\"2024-03-05 06:10:59 UTC\").brazil_east?", "Time.zone = \"Etc/UTC\" Time.brazil_east?" ] }, "brazil_west?" => { name: "brazil_west?", description: "returns whether the current time zone matches brazil/west.", examples: [ "Time.brazil_west?", "Time.new(\"2024-03-05 06:10:59 UTC\").brazil_west?", "Time.zone = \"Etc/UTC\" Time.brazil_west?" ] }, "cet?" => { name: "cet?", description: "returns whether the current time zone matches cet.", examples: [ "Time.cet?", "Time.new(\"2024-03-05 06:10:59 UTC\").cet?", "Time.zone = \"Etc/UTC\" Time.cet?" ] }, "cst6cdt?" => { name: "cst6cdt?", description: "returns whether the current time zone matches cst6cdt.", examples: [ "Time.cst6cdt?", "Time.new(\"2024-03-05 06:10:59 UTC\").cst6cdt?", "Time.zone = \"Etc/UTC\" Time.cst6cdt?" ] }, "canada_atlantic?" => { name: "canada_atlantic?", description: "returns whether the current time zone matches canada/atlantic.", examples: [ "Time.canada_atlantic?", "Time.new(\"2024-03-05 06:10:59 UTC\").canada_atlantic?", "Time.zone = \"Etc/UTC\" Time.canada_atlantic?" ] }, "canada_central?" => { name: "canada_central?", description: "returns whether the current time zone matches canada/central.", examples: [ "Time.canada_central?", "Time.new(\"2024-03-05 06:10:59 UTC\").canada_central?", "Time.zone = \"Etc/UTC\" Time.canada_central?" ] }, "canada_eastern?" => { name: "canada_eastern?", description: "returns whether the current time zone matches canada/eastern.", examples: [ "Time.canada_eastern?", "Time.new(\"2024-03-05 06:10:59 UTC\").canada_eastern?", "Time.zone = \"Etc/UTC\" Time.canada_eastern?" ] }, "canada_mountain?" => { name: "canada_mountain?", description: "returns whether the current time zone matches canada/mountain.", examples: [ "Time.canada_mountain?", "Time.new(\"2024-03-05 06:10:59 UTC\").canada_mountain?", "Time.zone = \"Etc/UTC\" Time.canada_mountain?" ] }, "canada_newfoundland?" => { name: "canada_newfoundland?", description: "returns whether the current time zone matches canada/newfoundland.", examples: [ "Time.canada_newfoundland?", "Time.new(\"2024-03-05 06:10:59 UTC\").canada_newfoundland?", "Time.zone = \"Etc/UTC\" Time.canada_newfoundland?" ] }, "canada_pacific?" => { name: "canada_pacific?", description: "returns whether the current time zone matches canada/pacific.", examples: [ "Time.canada_pacific?", "Time.new(\"2024-03-05 06:10:59 UTC\").canada_pacific?", "Time.zone = \"Etc/UTC\" Time.canada_pacific?" ] }, "canada_saskatchewan?" => { name: "canada_saskatchewan?", description: "returns whether the current time zone matches canada/saskatchewan.", examples: [ "Time.canada_saskatchewan?", "Time.new(\"2024-03-05 06:10:59 UTC\").canada_saskatchewan?", "Time.zone = \"Etc/UTC\" Time.canada_saskatchewan?" ] }, "canada_yukon?" => { name: "canada_yukon?", description: "returns whether the current time zone matches canada/yukon.", examples: [ "Time.canada_yukon?", "Time.new(\"2024-03-05 06:10:59 UTC\").canada_yukon?", "Time.zone = \"Etc/UTC\" Time.canada_yukon?" ] }, "chile_continental?" => { name: "chile_continental?", description: "returns whether the current time zone matches chile/continental.", examples: [ "Time.chile_continental?", "Time.new(\"2024-03-05 06:10:59 UTC\").chile_continental?", "Time.zone = \"Etc/UTC\" Time.chile_continental?" ] }, "chile_easterisland?" => { name: "chile_easterisland?", description: "returns whether the current time zone matches chile/easterisland.", examples: [ "Time.chile_easterisland?", "Time.new(\"2024-03-05 06:10:59 UTC\").chile_easterisland?", "Time.zone = \"Etc/UTC\" Time.chile_easterisland?" ] }, "cuba?" => { name: "cuba?", description: "returns whether the current time zone matches cuba.", examples: [ "Time.cuba?", "Time.new(\"2024-03-05 06:10:59 UTC\").cuba?", "Time.zone = \"Etc/UTC\" Time.cuba?" ] }, "eet?" => { name: "eet?", description: "returns whether the current time zone matches eet.", examples: [ "Time.eet?", "Time.new(\"2024-03-05 06:10:59 UTC\").eet?", "Time.zone = \"Etc/UTC\" Time.eet?" ] }, "est?" => { name: "est?", description: "returns whether the current time zone matches est.", examples: [ "Time.est?", "Time.new(\"2024-03-05 06:10:59 UTC\").est?", "Time.zone = \"Etc/UTC\" Time.est?" ] }, "est5edt?" => { name: "est5edt?", description: "returns whether the current time zone matches est5edt.", examples: [ "Time.est5edt?", "Time.new(\"2024-03-05 06:10:59 UTC\").est5edt?", "Time.zone = \"Etc/UTC\" Time.est5edt?" ] }, "egypt?" => { name: "egypt?", description: "returns whether the current time zone matches egypt.", examples: [ "Time.egypt?", "Time.new(\"2024-03-05 06:10:59 UTC\").egypt?", "Time.zone = \"Etc/UTC\" Time.egypt?" ] }, "eire?" => { name: "eire?", description: "returns whether the current time zone matches eire.", examples: [ "Time.eire?", "Time.new(\"2024-03-05 06:10:59 UTC\").eire?", "Time.zone = \"Etc/UTC\" Time.eire?" ] }, "etc_gmt?" => { name: "etc_gmt?", description: "returns whether the current time zone matches etc/gmt.", examples: [ "Time.etc_gmt?", "Time.new(\"2024-03-05 06:10:59 UTC\").etc_gmt?", "Time.zone = \"Etc/UTC\" Time.etc_gmt?" ] }, "etc_gmt_plus_0?" => { name: "etc_gmt_plus_0?", description: "returns whether the current time zone matches etc/gmt/plus/0.", examples: [ "Time.etc_gmt_plus_0?", "Time.new(\"2024-03-05 06:10:59 UTC\").etc_gmt_plus_0?", "Time.zone = \"Etc/UTC\" Time.etc_gmt_plus_0?" ] }, "etc_gmt_plus_1?" => { name: "etc_gmt_plus_1?", description: "returns whether the current time zone matches etc/gmt/plus/1.", examples: [ "Time.etc_gmt_plus_1?", "Time.new(\"2024-03-05 06:10:59 UTC\").etc_gmt_plus_1?", "Time.zone = \"Etc/UTC\" Time.etc_gmt_plus_1?" ] }, "etc_gmt_plus_10?" => { name: "etc_gmt_plus_10?", description: "returns whether the current time zone matches etc/gmt/plus/10.", examples: [ "Time.etc_gmt_plus_10?", "Time.new(\"2024-03-05 06:10:59 UTC\").etc_gmt_plus_10?", "Time.zone = \"Etc/UTC\" Time.etc_gmt_plus_10?" ] }, "etc_gmt_plus_11?" => { name: "etc_gmt_plus_11?", description: "returns whether the current time zone matches etc/gmt/plus/11.", examples: [ "Time.etc_gmt_plus_11?", "Time.new(\"2024-03-05 06:10:59 UTC\").etc_gmt_plus_11?", "Time.zone = \"Etc/UTC\" Time.etc_gmt_plus_11?" ] }, "etc_gmt_plus_12?" => { name: "etc_gmt_plus_12?", description: "returns whether the current time zone matches etc/gmt/plus/12.", examples: [ "Time.etc_gmt_plus_12?", "Time.new(\"2024-03-05 06:10:59 UTC\").etc_gmt_plus_12?", "Time.zone = \"Etc/UTC\" Time.etc_gmt_plus_12?" ] }, "etc_gmt_plus_2?" => { name: "etc_gmt_plus_2?", description: "returns whether the current time zone matches etc/gmt/plus/2.", examples: [ "Time.etc_gmt_plus_2?", "Time.new(\"2024-03-05 06:10:59 UTC\").etc_gmt_plus_2?", "Time.zone = \"Etc/UTC\" Time.etc_gmt_plus_2?" ] }, "etc_gmt_plus_3?" => { name: "etc_gmt_plus_3?", description: "returns whether the current time zone matches etc/gmt/plus/3.", examples: [ "Time.etc_gmt_plus_3?", "Time.new(\"2024-03-05 06:10:59 UTC\").etc_gmt_plus_3?", "Time.zone = \"Etc/UTC\" Time.etc_gmt_plus_3?" ] }, "etc_gmt_plus_4?" => { name: "etc_gmt_plus_4?", description: "returns whether the current time zone matches etc/gmt/plus/4.", examples: [ "Time.etc_gmt_plus_4?", "Time.new(\"2024-03-05 06:10:59 UTC\").etc_gmt_plus_4?", "Time.zone = \"Etc/UTC\" Time.etc_gmt_plus_4?" ] }, "etc_gmt_plus_5?" => { name: "etc_gmt_plus_5?", description: "returns whether the current time zone matches etc/gmt/plus/5.", examples: [ "Time.etc_gmt_plus_5?", "Time.new(\"2024-03-05 06:10:59 UTC\").etc_gmt_plus_5?", "Time.zone = \"Etc/UTC\" Time.etc_gmt_plus_5?" ] }, "etc_gmt_plus_6?" => { name: "etc_gmt_plus_6?", description: "returns whether the current time zone matches etc/gmt/plus/6.", examples: [ "Time.etc_gmt_plus_6?", "Time.new(\"2024-03-05 06:10:59 UTC\").etc_gmt_plus_6?", "Time.zone = \"Etc/UTC\" Time.etc_gmt_plus_6?" ] }, "etc_gmt_plus_7?" => { name: "etc_gmt_plus_7?", description: "returns whether the current time zone matches etc/gmt/plus/7.", examples: [ "Time.etc_gmt_plus_7?", "Time.new(\"2024-03-05 06:10:59 UTC\").etc_gmt_plus_7?", "Time.zone = \"Etc/UTC\" Time.etc_gmt_plus_7?" ] }, "etc_gmt_plus_8?" => { name: "etc_gmt_plus_8?", description: "returns whether the current time zone matches etc/gmt/plus/8.", examples: [ "Time.etc_gmt_plus_8?", "Time.new(\"2024-03-05 06:10:59 UTC\").etc_gmt_plus_8?", "Time.zone = \"Etc/UTC\" Time.etc_gmt_plus_8?" ] }, "etc_gmt_plus_9?" => { name: "etc_gmt_plus_9?", description: "returns whether the current time zone matches etc/gmt/plus/9.", examples: [ "Time.etc_gmt_plus_9?", "Time.new(\"2024-03-05 06:10:59 UTC\").etc_gmt_plus_9?", "Time.zone = \"Etc/UTC\" Time.etc_gmt_plus_9?" ] }, "etc_gmt_minus_0?" => { name: "etc_gmt_minus_0?", description: "returns whether the current time zone matches etc/gmt/minus/0.", examples: [ "Time.etc_gmt_minus_0?", "Time.new(\"2024-03-05 06:10:59 UTC\").etc_gmt_minus_0?", "Time.zone = \"Etc/UTC\" Time.etc_gmt_minus_0?" ] }, "etc_gmt_minus_1?" => { name: "etc_gmt_minus_1?", description: "returns whether the current time zone matches etc/gmt/minus/1.", examples: [ "Time.etc_gmt_minus_1?", "Time.new(\"2024-03-05 06:10:59 UTC\").etc_gmt_minus_1?", "Time.zone = \"Etc/UTC\" Time.etc_gmt_minus_1?" ] }, "etc_gmt_minus_10?" => { name: "etc_gmt_minus_10?", description: "returns whether the current time zone matches etc/gmt/minus/10.", examples: [ "Time.etc_gmt_minus_10?", "Time.new(\"2024-03-05 06:10:59 UTC\").etc_gmt_minus_10?", "Time.zone = \"Etc/UTC\" Time.etc_gmt_minus_10?" ] }, "etc_gmt_minus_11?" => { name: "etc_gmt_minus_11?", description: "returns whether the current time zone matches etc/gmt/minus/11.", examples: [ "Time.etc_gmt_minus_11?", "Time.new(\"2024-03-05 06:10:59 UTC\").etc_gmt_minus_11?", "Time.zone = \"Etc/UTC\" Time.etc_gmt_minus_11?" ] }, "etc_gmt_minus_12?" => { name: "etc_gmt_minus_12?", description: "returns whether the current time zone matches etc/gmt/minus/12.", examples: [ "Time.etc_gmt_minus_12?", "Time.new(\"2024-03-05 06:10:59 UTC\").etc_gmt_minus_12?", "Time.zone = \"Etc/UTC\" Time.etc_gmt_minus_12?" ] }, "etc_gmt_minus_13?" => { name: "etc_gmt_minus_13?", description: "returns whether the current time zone matches etc/gmt/minus/13.", examples: [ "Time.etc_gmt_minus_13?", "Time.new(\"2024-03-05 06:10:59 UTC\").etc_gmt_minus_13?", "Time.zone = \"Etc/UTC\" Time.etc_gmt_minus_13?" ] }, "etc_gmt_minus_14?" => { name: "etc_gmt_minus_14?", description: "returns whether the current time zone matches etc/gmt/minus/14.", examples: [ "Time.etc_gmt_minus_14?", "Time.new(\"2024-03-05 06:10:59 UTC\").etc_gmt_minus_14?", "Time.zone = \"Etc/UTC\" Time.etc_gmt_minus_14?" ] }, "etc_gmt_minus_2?" => { name: "etc_gmt_minus_2?", description: "returns whether the current time zone matches etc/gmt/minus/2.", examples: [ "Time.etc_gmt_minus_2?", "Time.new(\"2024-03-05 06:10:59 UTC\").etc_gmt_minus_2?", "Time.zone = \"Etc/UTC\" Time.etc_gmt_minus_2?" ] }, "etc_gmt_minus_3?" => { name: "etc_gmt_minus_3?", description: "returns whether the current time zone matches etc/gmt/minus/3.", examples: [ "Time.etc_gmt_minus_3?", "Time.new(\"2024-03-05 06:10:59 UTC\").etc_gmt_minus_3?", "Time.zone = \"Etc/UTC\" Time.etc_gmt_minus_3?" ] }, "etc_gmt_minus_4?" => { name: "etc_gmt_minus_4?", description: "returns whether the current time zone matches etc/gmt/minus/4.", examples: [ "Time.etc_gmt_minus_4?", "Time.new(\"2024-03-05 06:10:59 UTC\").etc_gmt_minus_4?", "Time.zone = \"Etc/UTC\" Time.etc_gmt_minus_4?" ] }, "etc_gmt_minus_5?" => { name: "etc_gmt_minus_5?", description: "returns whether the current time zone matches etc/gmt/minus/5.", examples: [ "Time.etc_gmt_minus_5?", "Time.new(\"2024-03-05 06:10:59 UTC\").etc_gmt_minus_5?", "Time.zone = \"Etc/UTC\" Time.etc_gmt_minus_5?" ] }, "etc_gmt_minus_6?" => { name: "etc_gmt_minus_6?", description: "returns whether the current time zone matches etc/gmt/minus/6.", examples: [ "Time.etc_gmt_minus_6?", "Time.new(\"2024-03-05 06:10:59 UTC\").etc_gmt_minus_6?", "Time.zone = \"Etc/UTC\" Time.etc_gmt_minus_6?" ] }, "etc_gmt_minus_7?" => { name: "etc_gmt_minus_7?", description: "returns whether the current time zone matches etc/gmt/minus/7.", examples: [ "Time.etc_gmt_minus_7?", "Time.new(\"2024-03-05 06:10:59 UTC\").etc_gmt_minus_7?", "Time.zone = \"Etc/UTC\" Time.etc_gmt_minus_7?" ] }, "etc_gmt_minus_8?" => { name: "etc_gmt_minus_8?", description: "returns whether the current time zone matches etc/gmt/minus/8.", examples: [ "Time.etc_gmt_minus_8?", "Time.new(\"2024-03-05 06:10:59 UTC\").etc_gmt_minus_8?", "Time.zone = \"Etc/UTC\" Time.etc_gmt_minus_8?" ] }, "etc_gmt_minus_9?" => { name: "etc_gmt_minus_9?", description: "returns whether the current time zone matches etc/gmt/minus/9.", examples: [ "Time.etc_gmt_minus_9?", "Time.new(\"2024-03-05 06:10:59 UTC\").etc_gmt_minus_9?", "Time.zone = \"Etc/UTC\" Time.etc_gmt_minus_9?" ] }, "etc_gmt0?" => { name: "etc_gmt0?", description: "returns whether the current time zone matches etc/gmt0.", examples: [ "Time.etc_gmt0?", "Time.new(\"2024-03-05 06:10:59 UTC\").etc_gmt0?", "Time.zone = \"Etc/UTC\" Time.etc_gmt0?" ] }, "etc_greenwich?" => { name: "etc_greenwich?", description: "returns whether the current time zone matches etc/greenwich.", examples: [ "Time.etc_greenwich?", "Time.new(\"2024-03-05 06:10:59 UTC\").etc_greenwich?", "Time.zone = \"Etc/UTC\" Time.etc_greenwich?" ] }, "etc_uct?" => { name: "etc_uct?", description: "returns whether the current time zone matches etc/uct.", examples: [ "Time.etc_uct?", "Time.new(\"2024-03-05 06:10:59 UTC\").etc_uct?", "Time.zone = \"Etc/UTC\" Time.etc_uct?" ] }, "etc_utc?" => { name: "etc_utc?", description: "returns whether the current time zone matches etc/utc.", examples: [ "Time.etc_utc?", "Time.new(\"2024-03-05 06:10:59 UTC\").etc_utc?", "Time.zone = \"Etc/UTC\" Time.etc_utc?" ] }, "etc_universal?" => { name: "etc_universal?", description: "returns whether the current time zone matches etc/universal.", examples: [ "Time.etc_universal?", "Time.new(\"2024-03-05 06:10:59 UTC\").etc_universal?", "Time.zone = \"Etc/UTC\" Time.etc_universal?" ] }, "etc_zulu?" => { name: "etc_zulu?", description: "returns whether the current time zone matches etc/zulu.", examples: [ "Time.etc_zulu?", "Time.new(\"2024-03-05 06:10:59 UTC\").etc_zulu?", "Time.zone = \"Etc/UTC\" Time.etc_zulu?" ] }, "europe_amsterdam?" => { name: "europe_amsterdam?", description: "returns whether the current time zone matches europe/amsterdam.", examples: [ "Time.europe_amsterdam?", "Time.new(\"2024-03-05 06:10:59 UTC\").europe_amsterdam?", "Time.zone = \"Etc/UTC\" Time.europe_amsterdam?" ] }, "europe_andorra?" => { name: "europe_andorra?", description: "returns whether the current time zone matches europe/andorra.", examples: [ "Time.europe_andorra?", "Time.new(\"2024-03-05 06:10:59 UTC\").europe_andorra?", "Time.zone = \"Etc/UTC\" Time.europe_andorra?" ] }, "europe_astrakhan?" => { name: "europe_astrakhan?", description: "returns whether the current time zone matches europe/astrakhan.", examples: [ "Time.europe_astrakhan?", "Time.new(\"2024-03-05 06:10:59 UTC\").europe_astrakhan?", "Time.zone = \"Etc/UTC\" Time.europe_astrakhan?" ] }, "europe_athens?" => { name: "europe_athens?", description: "returns whether the current time zone matches europe/athens.", examples: [ "Time.europe_athens?", "Time.new(\"2024-03-05 06:10:59 UTC\").europe_athens?", "Time.zone = \"Etc/UTC\" Time.europe_athens?" ] }, "europe_belfast?" => { name: "europe_belfast?", description: "returns whether the current time zone matches europe/belfast.", examples: [ "Time.europe_belfast?", "Time.new(\"2024-03-05 06:10:59 UTC\").europe_belfast?", "Time.zone = \"Etc/UTC\" Time.europe_belfast?" ] }, "europe_belgrade?" => { name: "europe_belgrade?", description: "returns whether the current time zone matches europe/belgrade.", examples: [ "Time.europe_belgrade?", "Time.new(\"2024-03-05 06:10:59 UTC\").europe_belgrade?", "Time.zone = \"Etc/UTC\" Time.europe_belgrade?" ] }, "europe_berlin?" => { name: "europe_berlin?", description: "returns whether the current time zone matches europe/berlin.", examples: [ "Time.europe_berlin?", "Time.new(\"2024-03-05 06:10:59 UTC\").europe_berlin?", "Time.zone = \"Etc/UTC\" Time.europe_berlin?" ] }, "europe_bratislava?" => { name: "europe_bratislava?", description: "returns whether the current time zone matches europe/bratislava.", examples: [ "Time.europe_bratislava?", "Time.new(\"2024-03-05 06:10:59 UTC\").europe_bratislava?", "Time.zone = \"Etc/UTC\" Time.europe_bratislava?" ] }, "europe_brussels?" => { name: "europe_brussels?", description: "returns whether the current time zone matches europe/brussels.", examples: [ "Time.europe_brussels?", "Time.new(\"2024-03-05 06:10:59 UTC\").europe_brussels?", "Time.zone = \"Etc/UTC\" Time.europe_brussels?" ] }, "europe_bucharest?" => { name: "europe_bucharest?", description: "returns whether the current time zone matches europe/bucharest.", examples: [ "Time.europe_bucharest?", "Time.new(\"2024-03-05 06:10:59 UTC\").europe_bucharest?", "Time.zone = \"Etc/UTC\" Time.europe_bucharest?" ] }, "europe_budapest?" => { name: "europe_budapest?", description: "returns whether the current time zone matches europe/budapest.", examples: [ "Time.europe_budapest?", "Time.new(\"2024-03-05 06:10:59 UTC\").europe_budapest?", "Time.zone = \"Etc/UTC\" Time.europe_budapest?" ] }, "europe_busingen?" => { name: "europe_busingen?", description: "returns whether the current time zone matches europe/busingen.", examples: [ "Time.europe_busingen?", "Time.new(\"2024-03-05 06:10:59 UTC\").europe_busingen?", "Time.zone = \"Etc/UTC\" Time.europe_busingen?" ] }, "europe_chisinau?" => { name: "europe_chisinau?", description: "returns whether the current time zone matches europe/chisinau.", examples: [ "Time.europe_chisinau?", "Time.new(\"2024-03-05 06:10:59 UTC\").europe_chisinau?", "Time.zone = \"Etc/UTC\" Time.europe_chisinau?" ] }, "europe_copenhagen?" => { name: "europe_copenhagen?", description: "returns whether the current time zone matches europe/copenhagen.", examples: [ "Time.europe_copenhagen?", "Time.new(\"2024-03-05 06:10:59 UTC\").europe_copenhagen?", "Time.zone = \"Etc/UTC\" Time.europe_copenhagen?" ] }, "europe_dublin?" => { name: "europe_dublin?", description: "returns whether the current time zone matches europe/dublin.", examples: [ "Time.europe_dublin?", "Time.new(\"2024-03-05 06:10:59 UTC\").europe_dublin?", "Time.zone = \"Etc/UTC\" Time.europe_dublin?" ] }, "europe_gibraltar?" => { name: "europe_gibraltar?", description: "returns whether the current time zone matches europe/gibraltar.", examples: [ "Time.europe_gibraltar?", "Time.new(\"2024-03-05 06:10:59 UTC\").europe_gibraltar?", "Time.zone = \"Etc/UTC\" Time.europe_gibraltar?" ] }, "europe_guernsey?" => { name: "europe_guernsey?", description: "returns whether the current time zone matches europe/guernsey.", examples: [ "Time.europe_guernsey?", "Time.new(\"2024-03-05 06:10:59 UTC\").europe_guernsey?", "Time.zone = \"Etc/UTC\" Time.europe_guernsey?" ] }, "europe_helsinki?" => { name: "europe_helsinki?", description: "returns whether the current time zone matches europe/helsinki.", examples: [ "Time.europe_helsinki?", "Time.new(\"2024-03-05 06:10:59 UTC\").europe_helsinki?", "Time.zone = \"Etc/UTC\" Time.europe_helsinki?" ] }, "europe_isle_of_man?" => { name: "europe_isle_of_man?", description: "returns whether the current time zone matches europe/isle/of/man.", examples: [ "Time.europe_isle_of_man?", "Time.new(\"2024-03-05 06:10:59 UTC\").europe_isle_of_man?", "Time.zone = \"Etc/UTC\" Time.europe_isle_of_man?" ] }, "europe_istanbul?" => { name: "europe_istanbul?", description: "returns whether the current time zone matches europe/istanbul.", examples: [ "Time.europe_istanbul?", "Time.new(\"2024-03-05 06:10:59 UTC\").europe_istanbul?", "Time.zone = \"Etc/UTC\" Time.europe_istanbul?" ] }, "europe_jersey?" => { name: "europe_jersey?", description: "returns whether the current time zone matches europe/jersey.", examples: [ "Time.europe_jersey?", "Time.new(\"2024-03-05 06:10:59 UTC\").europe_jersey?", "Time.zone = \"Etc/UTC\" Time.europe_jersey?" ] }, "europe_kaliningrad?" => { name: "europe_kaliningrad?", description: "returns whether the current time zone matches europe/kaliningrad.", examples: [ "Time.europe_kaliningrad?", "Time.new(\"2024-03-05 06:10:59 UTC\").europe_kaliningrad?", "Time.zone = \"Etc/UTC\" Time.europe_kaliningrad?" ] }, "europe_kiev?" => { name: "europe_kiev?", description: "returns whether the current time zone matches europe/kiev.", examples: [ "Time.europe_kiev?", "Time.new(\"2024-03-05 06:10:59 UTC\").europe_kiev?", "Time.zone = \"Etc/UTC\" Time.europe_kiev?" ] }, "europe_kirov?" => { name: "europe_kirov?", description: "returns whether the current time zone matches europe/kirov.", examples: [ "Time.europe_kirov?", "Time.new(\"2024-03-05 06:10:59 UTC\").europe_kirov?", "Time.zone = \"Etc/UTC\" Time.europe_kirov?" ] }, "europe_kyiv?" => { name: "europe_kyiv?", description: "returns whether the current time zone matches europe/kyiv.", examples: [ "Time.europe_kyiv?", "Time.new(\"2024-03-05 06:10:59 UTC\").europe_kyiv?", "Time.zone = \"Etc/UTC\" Time.europe_kyiv?" ] }, "europe_lisbon?" => { name: "europe_lisbon?", description: "returns whether the current time zone matches europe/lisbon.", examples: [ "Time.europe_lisbon?", "Time.new(\"2024-03-05 06:10:59 UTC\").europe_lisbon?", "Time.zone = \"Etc/UTC\" Time.europe_lisbon?" ] }, "europe_ljubljana?" => { name: "europe_ljubljana?", description: "returns whether the current time zone matches europe/ljubljana.", examples: [ "Time.europe_ljubljana?", "Time.new(\"2024-03-05 06:10:59 UTC\").europe_ljubljana?", "Time.zone = \"Etc/UTC\" Time.europe_ljubljana?" ] }, "europe_london?" => { name: "europe_london?", description: "returns whether the current time zone matches europe/london.", examples: [ "Time.europe_london?", "Time.new(\"2024-03-05 06:10:59 UTC\").europe_london?", "Time.zone = \"Etc/UTC\" Time.europe_london?" ] }, "europe_luxembourg?" => { name: "europe_luxembourg?", description: "returns whether the current time zone matches europe/luxembourg.", examples: [ "Time.europe_luxembourg?", "Time.new(\"2024-03-05 06:10:59 UTC\").europe_luxembourg?", "Time.zone = \"Etc/UTC\" Time.europe_luxembourg?" ] }, "europe_madrid?" => { name: "europe_madrid?", description: "returns whether the current time zone matches europe/madrid.", examples: [ "Time.europe_madrid?", "Time.new(\"2024-03-05 06:10:59 UTC\").europe_madrid?", "Time.zone = \"Etc/UTC\" Time.europe_madrid?" ] }, "europe_malta?" => { name: "europe_malta?", description: "returns whether the current time zone matches europe/malta.", examples: [ "Time.europe_malta?", "Time.new(\"2024-03-05 06:10:59 UTC\").europe_malta?", "Time.zone = \"Etc/UTC\" Time.europe_malta?" ] }, "europe_mariehamn?" => { name: "europe_mariehamn?", description: "returns whether the current time zone matches europe/mariehamn.", examples: [ "Time.europe_mariehamn?", "Time.new(\"2024-03-05 06:10:59 UTC\").europe_mariehamn?", "Time.zone = \"Etc/UTC\" Time.europe_mariehamn?" ] }, "europe_minsk?" => { name: "europe_minsk?", description: "returns whether the current time zone matches europe/minsk.", examples: [ "Time.europe_minsk?", "Time.new(\"2024-03-05 06:10:59 UTC\").europe_minsk?", "Time.zone = \"Etc/UTC\" Time.europe_minsk?" ] }, "europe_monaco?" => { name: "europe_monaco?", description: "returns whether the current time zone matches europe/monaco.", examples: [ "Time.europe_monaco?", "Time.new(\"2024-03-05 06:10:59 UTC\").europe_monaco?", "Time.zone = \"Etc/UTC\" Time.europe_monaco?" ] }, "europe_moscow?" => { name: "europe_moscow?", description: "returns whether the current time zone matches europe/moscow.", examples: [ "Time.europe_moscow?", "Time.new(\"2024-03-05 06:10:59 UTC\").europe_moscow?", "Time.zone = \"Etc/UTC\" Time.europe_moscow?" ] }, "europe_nicosia?" => { name: "europe_nicosia?", description: "returns whether the current time zone matches europe/nicosia.", examples: [ "Time.europe_nicosia?", "Time.new(\"2024-03-05 06:10:59 UTC\").europe_nicosia?", "Time.zone = \"Etc/UTC\" Time.europe_nicosia?" ] }, "europe_oslo?" => { name: "europe_oslo?", description: "returns whether the current time zone matches europe/oslo.", examples: [ "Time.europe_oslo?", "Time.new(\"2024-03-05 06:10:59 UTC\").europe_oslo?", "Time.zone = \"Etc/UTC\" Time.europe_oslo?" ] }, "europe_paris?" => { name: "europe_paris?", description: "returns whether the current time zone matches europe/paris.", examples: [ "Time.europe_paris?", "Time.new(\"2024-03-05 06:10:59 UTC\").europe_paris?", "Time.zone = \"Etc/UTC\" Time.europe_paris?" ] }, "europe_podgorica?" => { name: "europe_podgorica?", description: "returns whether the current time zone matches europe/podgorica.", examples: [ "Time.europe_podgorica?", "Time.new(\"2024-03-05 06:10:59 UTC\").europe_podgorica?", "Time.zone = \"Etc/UTC\" Time.europe_podgorica?" ] }, "europe_prague?" => { name: "europe_prague?", description: "returns whether the current time zone matches europe/prague.", examples: [ "Time.europe_prague?", "Time.new(\"2024-03-05 06:10:59 UTC\").europe_prague?", "Time.zone = \"Etc/UTC\" Time.europe_prague?" ] }, "europe_riga?" => { name: "europe_riga?", description: "returns whether the current time zone matches europe/riga.", examples: [ "Time.europe_riga?", "Time.new(\"2024-03-05 06:10:59 UTC\").europe_riga?", "Time.zone = \"Etc/UTC\" Time.europe_riga?" ] }, "europe_rome?" => { name: "europe_rome?", description: "returns whether the current time zone matches europe/rome.", examples: [ "Time.europe_rome?", "Time.new(\"2024-03-05 06:10:59 UTC\").europe_rome?", "Time.zone = \"Etc/UTC\" Time.europe_rome?" ] }, "europe_samara?" => { name: "europe_samara?", description: "returns whether the current time zone matches europe/samara.", examples: [ "Time.europe_samara?", "Time.new(\"2024-03-05 06:10:59 UTC\").europe_samara?", "Time.zone = \"Etc/UTC\" Time.europe_samara?" ] }, "europe_san_marino?" => { name: "europe_san_marino?", description: "returns whether the current time zone matches europe/san/marino.", examples: [ "Time.europe_san_marino?", "Time.new(\"2024-03-05 06:10:59 UTC\").europe_san_marino?", "Time.zone = \"Etc/UTC\" Time.europe_san_marino?" ] }, "europe_sarajevo?" => { name: "europe_sarajevo?", description: "returns whether the current time zone matches europe/sarajevo.", examples: [ "Time.europe_sarajevo?", "Time.new(\"2024-03-05 06:10:59 UTC\").europe_sarajevo?", "Time.zone = \"Etc/UTC\" Time.europe_sarajevo?" ] }, "europe_saratov?" => { name: "europe_saratov?", description: "returns whether the current time zone matches europe/saratov.", examples: [ "Time.europe_saratov?", "Time.new(\"2024-03-05 06:10:59 UTC\").europe_saratov?", "Time.zone = \"Etc/UTC\" Time.europe_saratov?" ] }, "europe_simferopol?" => { name: "europe_simferopol?", description: "returns whether the current time zone matches europe/simferopol.", examples: [ "Time.europe_simferopol?", "Time.new(\"2024-03-05 06:10:59 UTC\").europe_simferopol?", "Time.zone = \"Etc/UTC\" Time.europe_simferopol?" ] }, "europe_skopje?" => { name: "europe_skopje?", description: "returns whether the current time zone matches europe/skopje.", examples: [ "Time.europe_skopje?", "Time.new(\"2024-03-05 06:10:59 UTC\").europe_skopje?", "Time.zone = \"Etc/UTC\" Time.europe_skopje?" ] }, "europe_sofia?" => { name: "europe_sofia?", description: "returns whether the current time zone matches europe/sofia.", examples: [ "Time.europe_sofia?", "Time.new(\"2024-03-05 06:10:59 UTC\").europe_sofia?", "Time.zone = \"Etc/UTC\" Time.europe_sofia?" ] }, "europe_stockholm?" => { name: "europe_stockholm?", description: "returns whether the current time zone matches europe/stockholm.", examples: [ "Time.europe_stockholm?", "Time.new(\"2024-03-05 06:10:59 UTC\").europe_stockholm?", "Time.zone = \"Etc/UTC\" Time.europe_stockholm?" ] }, "europe_tallinn?" => { name: "europe_tallinn?", description: "returns whether the current time zone matches europe/tallinn.", examples: [ "Time.europe_tallinn?", "Time.new(\"2024-03-05 06:10:59 UTC\").europe_tallinn?", "Time.zone = \"Etc/UTC\" Time.europe_tallinn?" ] }, "europe_tirane?" => { name: "europe_tirane?", description: "returns whether the current time zone matches europe/tirane.", examples: [ "Time.europe_tirane?", "Time.new(\"2024-03-05 06:10:59 UTC\").europe_tirane?", "Time.zone = \"Etc/UTC\" Time.europe_tirane?" ] }, "europe_tiraspol?" => { name: "europe_tiraspol?", description: "returns whether the current time zone matches europe/tiraspol.", examples: [ "Time.europe_tiraspol?", "Time.new(\"2024-03-05 06:10:59 UTC\").europe_tiraspol?", "Time.zone = \"Etc/UTC\" Time.europe_tiraspol?" ] }, "europe_ulyanovsk?" => { name: "europe_ulyanovsk?", description: "returns whether the current time zone matches europe/ulyanovsk.", examples: [ "Time.europe_ulyanovsk?", "Time.new(\"2024-03-05 06:10:59 UTC\").europe_ulyanovsk?", "Time.zone = \"Etc/UTC\" Time.europe_ulyanovsk?" ] }, "europe_uzhgorod?" => { name: "europe_uzhgorod?", description: "returns whether the current time zone matches europe/uzhgorod.", examples: [ "Time.europe_uzhgorod?", "Time.new(\"2024-03-05 06:10:59 UTC\").europe_uzhgorod?", "Time.zone = \"Etc/UTC\" Time.europe_uzhgorod?" ] }, "europe_vaduz?" => { name: "europe_vaduz?", description: "returns whether the current time zone matches europe/vaduz.", examples: [ "Time.europe_vaduz?", "Time.new(\"2024-03-05 06:10:59 UTC\").europe_vaduz?", "Time.zone = \"Etc/UTC\" Time.europe_vaduz?" ] }, "europe_vatican?" => { name: "europe_vatican?", description: "returns whether the current time zone matches europe/vatican.", examples: [ "Time.europe_vatican?", "Time.new(\"2024-03-05 06:10:59 UTC\").europe_vatican?", "Time.zone = \"Etc/UTC\" Time.europe_vatican?" ] }, "europe_vienna?" => { name: "europe_vienna?", description: "returns whether the current time zone matches europe/vienna.", examples: [ "Time.europe_vienna?", "Time.new(\"2024-03-05 06:10:59 UTC\").europe_vienna?", "Time.zone = \"Etc/UTC\" Time.europe_vienna?" ] }, "europe_vilnius?" => { name: "europe_vilnius?", description: "returns whether the current time zone matches europe/vilnius.", examples: [ "Time.europe_vilnius?", "Time.new(\"2024-03-05 06:10:59 UTC\").europe_vilnius?", "Time.zone = \"Etc/UTC\" Time.europe_vilnius?" ] }, "europe_volgograd?" => { name: "europe_volgograd?", description: "returns whether the current time zone matches europe/volgograd.", examples: [ "Time.europe_volgograd?", "Time.new(\"2024-03-05 06:10:59 UTC\").europe_volgograd?", "Time.zone = \"Etc/UTC\" Time.europe_volgograd?" ] }, "europe_warsaw?" => { name: "europe_warsaw?", description: "returns whether the current time zone matches europe/warsaw.", examples: [ "Time.europe_warsaw?", "Time.new(\"2024-03-05 06:10:59 UTC\").europe_warsaw?", "Time.zone = \"Etc/UTC\" Time.europe_warsaw?" ] }, "europe_zagreb?" => { name: "europe_zagreb?", description: "returns whether the current time zone matches europe/zagreb.", examples: [ "Time.europe_zagreb?", "Time.new(\"2024-03-05 06:10:59 UTC\").europe_zagreb?", "Time.zone = \"Etc/UTC\" Time.europe_zagreb?" ] }, "europe_zaporozhye?" => { name: "europe_zaporozhye?", description: "returns whether the current time zone matches europe/zaporozhye.", examples: [ "Time.europe_zaporozhye?", "Time.new(\"2024-03-05 06:10:59 UTC\").europe_zaporozhye?", "Time.zone = \"Etc/UTC\" Time.europe_zaporozhye?" ] }, "europe_zurich?" => { name: "europe_zurich?", description: "returns whether the current time zone matches europe/zurich.", examples: [ "Time.europe_zurich?", "Time.new(\"2024-03-05 06:10:59 UTC\").europe_zurich?", "Time.zone = \"Etc/UTC\" Time.europe_zurich?" ] }, "factory?" => { name: "factory?", description: "returns whether the current time zone matches factory.", examples: [ "Time.factory?", "Time.new(\"2024-03-05 06:10:59 UTC\").factory?", "Time.zone = \"Etc/UTC\" Time.factory?" ] }, "gb?" => { name: "gb?", description: "returns whether the current time zone matches gb.", examples: [ "Time.gb?", "Time.new(\"2024-03-05 06:10:59 UTC\").gb?", "Time.zone = \"Etc/UTC\" Time.gb?" ] }, "gb_minus_eire?" => { name: "gb_minus_eire?", description: "returns whether the current time zone matches gb/minus/eire.", examples: [ "Time.gb_minus_eire?", "Time.new(\"2024-03-05 06:10:59 UTC\").gb_minus_eire?", "Time.zone = \"Etc/UTC\" Time.gb_minus_eire?" ] }, "gmt?" => { name: "gmt?", description: "returns whether the current time zone matches gmt.", examples: [ "Time.gmt?", "Time.new(\"2024-03-05 06:10:59 UTC\").gmt?", "Time.zone = \"Etc/UTC\" Time.gmt?" ] }, "gmt_plus_0?" => { name: "gmt_plus_0?", description: "returns whether the current time zone matches gmt/plus/0.", examples: [ "Time.gmt_plus_0?", "Time.new(\"2024-03-05 06:10:59 UTC\").gmt_plus_0?", "Time.zone = \"Etc/UTC\" Time.gmt_plus_0?" ] }, "gmt_minus_0?" => { name: "gmt_minus_0?", description: "returns whether the current time zone matches gmt/minus/0.", examples: [ "Time.gmt_minus_0?", "Time.new(\"2024-03-05 06:10:59 UTC\").gmt_minus_0?", "Time.zone = \"Etc/UTC\" Time.gmt_minus_0?" ] }, "gmt0?" => { name: "gmt0?", description: "returns whether the current time zone matches gmt0.", examples: [ "Time.gmt0?", "Time.new(\"2024-03-05 06:10:59 UTC\").gmt0?", "Time.zone = \"Etc/UTC\" Time.gmt0?" ] }, "greenwich?" => { name: "greenwich?", description: "returns whether the current time zone matches greenwich.", examples: [ "Time.greenwich?", "Time.new(\"2024-03-05 06:10:59 UTC\").greenwich?", "Time.zone = \"Etc/UTC\" Time.greenwich?" ] }, "hst?" => { name: "hst?", description: "returns whether the current time zone matches hst.", examples: [ "Time.hst?", "Time.new(\"2024-03-05 06:10:59 UTC\").hst?", "Time.zone = \"Etc/UTC\" Time.hst?" ] }, "hongkong?" => { name: "hongkong?", description: "returns whether the current time zone matches hongkong.", examples: [ "Time.hongkong?", "Time.new(\"2024-03-05 06:10:59 UTC\").hongkong?", "Time.zone = \"Etc/UTC\" Time.hongkong?" ] }, "iceland?" => { name: "iceland?", description: "returns whether the current time zone matches iceland.", examples: [ "Time.iceland?", "Time.new(\"2024-03-05 06:10:59 UTC\").iceland?", "Time.zone = \"Etc/UTC\" Time.iceland?" ] }, "indian_antananarivo?" => { name: "indian_antananarivo?", description: "returns whether the current time zone matches indian/antananarivo.", examples: [ "Time.indian_antananarivo?", "Time.new(\"2024-03-05 06:10:59 UTC\").indian_antananarivo?", "Time.zone = \"Etc/UTC\" Time.indian_antananarivo?" ] }, "indian_chagos?" => { name: "indian_chagos?", description: "returns whether the current time zone matches indian/chagos.", examples: [ "Time.indian_chagos?", "Time.new(\"2024-03-05 06:10:59 UTC\").indian_chagos?", "Time.zone = \"Etc/UTC\" Time.indian_chagos?" ] }, "indian_christmas?" => { name: "indian_christmas?", description: "returns whether the current time zone matches indian/christmas.", examples: [ "Time.indian_christmas?", "Time.new(\"2024-03-05 06:10:59 UTC\").indian_christmas?", "Time.zone = \"Etc/UTC\" Time.indian_christmas?" ] }, "indian_cocos?" => { name: "indian_cocos?", description: "returns whether the current time zone matches indian/cocos.", examples: [ "Time.indian_cocos?", "Time.new(\"2024-03-05 06:10:59 UTC\").indian_cocos?", "Time.zone = \"Etc/UTC\" Time.indian_cocos?" ] }, "indian_comoro?" => { name: "indian_comoro?", description: "returns whether the current time zone matches indian/comoro.", examples: [ "Time.indian_comoro?", "Time.new(\"2024-03-05 06:10:59 UTC\").indian_comoro?", "Time.zone = \"Etc/UTC\" Time.indian_comoro?" ] }, "indian_kerguelen?" => { name: "indian_kerguelen?", description: "returns whether the current time zone matches indian/kerguelen.", examples: [ "Time.indian_kerguelen?", "Time.new(\"2024-03-05 06:10:59 UTC\").indian_kerguelen?", "Time.zone = \"Etc/UTC\" Time.indian_kerguelen?" ] }, "indian_mahe?" => { name: "indian_mahe?", description: "returns whether the current time zone matches indian/mahe.", examples: [ "Time.indian_mahe?", "Time.new(\"2024-03-05 06:10:59 UTC\").indian_mahe?", "Time.zone = \"Etc/UTC\" Time.indian_mahe?" ] }, "indian_maldives?" => { name: "indian_maldives?", description: "returns whether the current time zone matches indian/maldives.", examples: [ "Time.indian_maldives?", "Time.new(\"2024-03-05 06:10:59 UTC\").indian_maldives?", "Time.zone = \"Etc/UTC\" Time.indian_maldives?" ] }, "indian_mauritius?" => { name: "indian_mauritius?", description: "returns whether the current time zone matches indian/mauritius.", examples: [ "Time.indian_mauritius?", "Time.new(\"2024-03-05 06:10:59 UTC\").indian_mauritius?", "Time.zone = \"Etc/UTC\" Time.indian_mauritius?" ] }, "indian_mayotte?" => { name: "indian_mayotte?", description: "returns whether the current time zone matches indian/mayotte.", examples: [ "Time.indian_mayotte?", "Time.new(\"2024-03-05 06:10:59 UTC\").indian_mayotte?", "Time.zone = \"Etc/UTC\" Time.indian_mayotte?" ] }, "indian_reunion?" => { name: "indian_reunion?", description: "returns whether the current time zone matches indian/reunion.", examples: [ "Time.indian_reunion?", "Time.new(\"2024-03-05 06:10:59 UTC\").indian_reunion?", "Time.zone = \"Etc/UTC\" Time.indian_reunion?" ] }, "iran?" => { name: "iran?", description: "returns whether the current time zone matches iran.", examples: [ "Time.iran?", "Time.new(\"2024-03-05 06:10:59 UTC\").iran?", "Time.zone = \"Etc/UTC\" Time.iran?" ] }, "israel?" => { name: "israel?", description: "returns whether the current time zone matches israel.", examples: [ "Time.israel?", "Time.new(\"2024-03-05 06:10:59 UTC\").israel?", "Time.zone = \"Etc/UTC\" Time.israel?" ] }, "jamaica?" => { name: "jamaica?", description: "returns whether the current time zone matches jamaica.", examples: [ "Time.jamaica?", "Time.new(\"2024-03-05 06:10:59 UTC\").jamaica?", "Time.zone = \"Etc/UTC\" Time.jamaica?" ] }, "japan?" => { name: "japan?", description: "returns whether the current time zone matches japan.", examples: [ "Time.japan?", "Time.new(\"2024-03-05 06:10:59 UTC\").japan?", "Time.zone = \"Etc/UTC\" Time.japan?" ] }, "kwajalein?" => { name: "kwajalein?", description: "returns whether the current time zone matches kwajalein.", examples: [ "Time.kwajalein?", "Time.new(\"2024-03-05 06:10:59 UTC\").kwajalein?", "Time.zone = \"Etc/UTC\" Time.kwajalein?" ] }, "libya?" => { name: "libya?", description: "returns whether the current time zone matches libya.", examples: [ "Time.libya?", "Time.new(\"2024-03-05 06:10:59 UTC\").libya?", "Time.zone = \"Etc/UTC\" Time.libya?" ] }, "met?" => { name: "met?", description: "returns whether the current time zone matches met.", examples: [ "Time.met?", "Time.new(\"2024-03-05 06:10:59 UTC\").met?", "Time.zone = \"Etc/UTC\" Time.met?" ] }, "mst?" => { name: "mst?", description: "returns whether the current time zone matches mst.", examples: [ "Time.mst?", "Time.new(\"2024-03-05 06:10:59 UTC\").mst?", "Time.zone = \"Etc/UTC\" Time.mst?" ] }, "mst7mdt?" => { name: "mst7mdt?", description: "returns whether the current time zone matches mst7mdt.", examples: [ "Time.mst7mdt?", "Time.new(\"2024-03-05 06:10:59 UTC\").mst7mdt?", "Time.zone = \"Etc/UTC\" Time.mst7mdt?" ] }, "mexico_bajanorte?" => { name: "mexico_bajanorte?", description: "returns whether the current time zone matches mexico/bajanorte.", examples: [ "Time.mexico_bajanorte?", "Time.new(\"2024-03-05 06:10:59 UTC\").mexico_bajanorte?", "Time.zone = \"Etc/UTC\" Time.mexico_bajanorte?" ] }, "mexico_bajasur?" => { name: "mexico_bajasur?", description: "returns whether the current time zone matches mexico/bajasur.", examples: [ "Time.mexico_bajasur?", "Time.new(\"2024-03-05 06:10:59 UTC\").mexico_bajasur?", "Time.zone = \"Etc/UTC\" Time.mexico_bajasur?" ] }, "mexico_general?" => { name: "mexico_general?", description: "returns whether the current time zone matches mexico/general.", examples: [ "Time.mexico_general?", "Time.new(\"2024-03-05 06:10:59 UTC\").mexico_general?", "Time.zone = \"Etc/UTC\" Time.mexico_general?" ] }, "nz?" => { name: "nz?", description: "returns whether the current time zone matches nz.", examples: [ "Time.nz?", "Time.new(\"2024-03-05 06:10:59 UTC\").nz?", "Time.zone = \"Etc/UTC\" Time.nz?" ] }, "nz_minus_chat?" => { name: "nz_minus_chat?", description: "returns whether the current time zone matches nz/minus/chat.", examples: [ "Time.nz_minus_chat?", "Time.new(\"2024-03-05 06:10:59 UTC\").nz_minus_chat?", "Time.zone = \"Etc/UTC\" Time.nz_minus_chat?" ] }, "navajo?" => { name: "navajo?", description: "returns whether the current time zone matches navajo.", examples: [ "Time.navajo?", "Time.new(\"2024-03-05 06:10:59 UTC\").navajo?", "Time.zone = \"Etc/UTC\" Time.navajo?" ] }, "prc?" => { name: "prc?", description: "returns whether the current time zone matches prc.", examples: [ "Time.prc?", "Time.new(\"2024-03-05 06:10:59 UTC\").prc?", "Time.zone = \"Etc/UTC\" Time.prc?" ] }, "pst8pdt?" => { name: "pst8pdt?", description: "returns whether the current time zone matches pst8pdt.", examples: [ "Time.pst8pdt?", "Time.new(\"2024-03-05 06:10:59 UTC\").pst8pdt?", "Time.zone = \"Etc/UTC\" Time.pst8pdt?" ] }, "pacific_apia?" => { name: "pacific_apia?", description: "returns whether the current time zone matches pacific/apia.", examples: [ "Time.pacific_apia?", "Time.new(\"2024-03-05 06:10:59 UTC\").pacific_apia?", "Time.zone = \"Etc/UTC\" Time.pacific_apia?" ] }, "pacific_auckland?" => { name: "pacific_auckland?", description: "returns whether the current time zone matches pacific/auckland.", examples: [ "Time.pacific_auckland?", "Time.new(\"2024-03-05 06:10:59 UTC\").pacific_auckland?", "Time.zone = \"Etc/UTC\" Time.pacific_auckland?" ] }, "pacific_bougainville?" => { name: "pacific_bougainville?", description: "returns whether the current time zone matches pacific/bougainville.", examples: [ "Time.pacific_bougainville?", "Time.new(\"2024-03-05 06:10:59 UTC\").pacific_bougainville?", "Time.zone = \"Etc/UTC\" Time.pacific_bougainville?" ] }, "pacific_chatham?" => { name: "pacific_chatham?", description: "returns whether the current time zone matches pacific/chatham.", examples: [ "Time.pacific_chatham?", "Time.new(\"2024-03-05 06:10:59 UTC\").pacific_chatham?", "Time.zone = \"Etc/UTC\" Time.pacific_chatham?" ] }, "pacific_chuuk?" => { name: "pacific_chuuk?", description: "returns whether the current time zone matches pacific/chuuk.", examples: [ "Time.pacific_chuuk?", "Time.new(\"2024-03-05 06:10:59 UTC\").pacific_chuuk?", "Time.zone = \"Etc/UTC\" Time.pacific_chuuk?" ] }, "pacific_easter?" => { name: "pacific_easter?", description: "returns whether the current time zone matches pacific/easter.", examples: [ "Time.pacific_easter?", "Time.new(\"2024-03-05 06:10:59 UTC\").pacific_easter?", "Time.zone = \"Etc/UTC\" Time.pacific_easter?" ] }, "pacific_efate?" => { name: "pacific_efate?", description: "returns whether the current time zone matches pacific/efate.", examples: [ "Time.pacific_efate?", "Time.new(\"2024-03-05 06:10:59 UTC\").pacific_efate?", "Time.zone = \"Etc/UTC\" Time.pacific_efate?" ] }, "pacific_enderbury?" => { name: "pacific_enderbury?", description: "returns whether the current time zone matches pacific/enderbury.", examples: [ "Time.pacific_enderbury?", "Time.new(\"2024-03-05 06:10:59 UTC\").pacific_enderbury?", "Time.zone = \"Etc/UTC\" Time.pacific_enderbury?" ] }, "pacific_fakaofo?" => { name: "pacific_fakaofo?", description: "returns whether the current time zone matches pacific/fakaofo.", examples: [ "Time.pacific_fakaofo?", "Time.new(\"2024-03-05 06:10:59 UTC\").pacific_fakaofo?", "Time.zone = \"Etc/UTC\" Time.pacific_fakaofo?" ] }, "pacific_fiji?" => { name: "pacific_fiji?", description: "returns whether the current time zone matches pacific/fiji.", examples: [ "Time.pacific_fiji?", "Time.new(\"2024-03-05 06:10:59 UTC\").pacific_fiji?", "Time.zone = \"Etc/UTC\" Time.pacific_fiji?" ] }, "pacific_funafuti?" => { name: "pacific_funafuti?", description: "returns whether the current time zone matches pacific/funafuti.", examples: [ "Time.pacific_funafuti?", "Time.new(\"2024-03-05 06:10:59 UTC\").pacific_funafuti?", "Time.zone = \"Etc/UTC\" Time.pacific_funafuti?" ] }, "pacific_galapagos?" => { name: "pacific_galapagos?", description: "returns whether the current time zone matches pacific/galapagos.", examples: [ "Time.pacific_galapagos?", "Time.new(\"2024-03-05 06:10:59 UTC\").pacific_galapagos?", "Time.zone = \"Etc/UTC\" Time.pacific_galapagos?" ] }, "pacific_gambier?" => { name: "pacific_gambier?", description: "returns whether the current time zone matches pacific/gambier.", examples: [ "Time.pacific_gambier?", "Time.new(\"2024-03-05 06:10:59 UTC\").pacific_gambier?", "Time.zone = \"Etc/UTC\" Time.pacific_gambier?" ] }, "pacific_guadalcanal?" => { name: "pacific_guadalcanal?", description: "returns whether the current time zone matches pacific/guadalcanal.", examples: [ "Time.pacific_guadalcanal?", "Time.new(\"2024-03-05 06:10:59 UTC\").pacific_guadalcanal?", "Time.zone = \"Etc/UTC\" Time.pacific_guadalcanal?" ] }, "pacific_guam?" => { name: "pacific_guam?", description: "returns whether the current time zone matches pacific/guam.", examples: [ "Time.pacific_guam?", "Time.new(\"2024-03-05 06:10:59 UTC\").pacific_guam?", "Time.zone = \"Etc/UTC\" Time.pacific_guam?" ] }, "pacific_honolulu?" => { name: "pacific_honolulu?", description: "returns whether the current time zone matches pacific/honolulu.", examples: [ "Time.pacific_honolulu?", "Time.new(\"2024-03-05 06:10:59 UTC\").pacific_honolulu?", "Time.zone = \"Etc/UTC\" Time.pacific_honolulu?" ] }, "pacific_johnston?" => { name: "pacific_johnston?", description: "returns whether the current time zone matches pacific/johnston.", examples: [ "Time.pacific_johnston?", "Time.new(\"2024-03-05 06:10:59 UTC\").pacific_johnston?", "Time.zone = \"Etc/UTC\" Time.pacific_johnston?" ] }, "pacific_kanton?" => { name: "pacific_kanton?", description: "returns whether the current time zone matches pacific/kanton.", examples: [ "Time.pacific_kanton?", "Time.new(\"2024-03-05 06:10:59 UTC\").pacific_kanton?", "Time.zone = \"Etc/UTC\" Time.pacific_kanton?" ] }, "pacific_kiritimati?" => { name: "pacific_kiritimati?", description: "returns whether the current time zone matches pacific/kiritimati.", examples: [ "Time.pacific_kiritimati?", "Time.new(\"2024-03-05 06:10:59 UTC\").pacific_kiritimati?", "Time.zone = \"Etc/UTC\" Time.pacific_kiritimati?" ] }, "pacific_kosrae?" => { name: "pacific_kosrae?", description: "returns whether the current time zone matches pacific/kosrae.", examples: [ "Time.pacific_kosrae?", "Time.new(\"2024-03-05 06:10:59 UTC\").pacific_kosrae?", "Time.zone = \"Etc/UTC\" Time.pacific_kosrae?" ] }, "pacific_kwajalein?" => { name: "pacific_kwajalein?", description: "returns whether the current time zone matches pacific/kwajalein.", examples: [ "Time.pacific_kwajalein?", "Time.new(\"2024-03-05 06:10:59 UTC\").pacific_kwajalein?", "Time.zone = \"Etc/UTC\" Time.pacific_kwajalein?" ] }, "pacific_majuro?" => { name: "pacific_majuro?", description: "returns whether the current time zone matches pacific/majuro.", examples: [ "Time.pacific_majuro?", "Time.new(\"2024-03-05 06:10:59 UTC\").pacific_majuro?", "Time.zone = \"Etc/UTC\" Time.pacific_majuro?" ] }, "pacific_marquesas?" => { name: "pacific_marquesas?", description: "returns whether the current time zone matches pacific/marquesas.", examples: [ "Time.pacific_marquesas?", "Time.new(\"2024-03-05 06:10:59 UTC\").pacific_marquesas?", "Time.zone = \"Etc/UTC\" Time.pacific_marquesas?" ] }, "pacific_midway?" => { name: "pacific_midway?", description: "returns whether the current time zone matches pacific/midway.", examples: [ "Time.pacific_midway?", "Time.new(\"2024-03-05 06:10:59 UTC\").pacific_midway?", "Time.zone = \"Etc/UTC\" Time.pacific_midway?" ] }, "pacific_nauru?" => { name: "pacific_nauru?", description: "returns whether the current time zone matches pacific/nauru.", examples: [ "Time.pacific_nauru?", "Time.new(\"2024-03-05 06:10:59 UTC\").pacific_nauru?", "Time.zone = \"Etc/UTC\" Time.pacific_nauru?" ] }, "pacific_niue?" => { name: "pacific_niue?", description: "returns whether the current time zone matches pacific/niue.", examples: [ "Time.pacific_niue?", "Time.new(\"2024-03-05 06:10:59 UTC\").pacific_niue?", "Time.zone = \"Etc/UTC\" Time.pacific_niue?" ] }, "pacific_norfolk?" => { name: "pacific_norfolk?", description: "returns whether the current time zone matches pacific/norfolk.", examples: [ "Time.pacific_norfolk?", "Time.new(\"2024-03-05 06:10:59 UTC\").pacific_norfolk?", "Time.zone = \"Etc/UTC\" Time.pacific_norfolk?" ] }, "pacific_noumea?" => { name: "pacific_noumea?", description: "returns whether the current time zone matches pacific/noumea.", examples: [ "Time.pacific_noumea?", "Time.new(\"2024-03-05 06:10:59 UTC\").pacific_noumea?", "Time.zone = \"Etc/UTC\" Time.pacific_noumea?" ] }, "pacific_pago_pago?" => { name: "pacific_pago_pago?", description: "returns whether the current time zone matches pacific/pago/pago.", examples: [ "Time.pacific_pago_pago?", "Time.new(\"2024-03-05 06:10:59 UTC\").pacific_pago_pago?", "Time.zone = \"Etc/UTC\" Time.pacific_pago_pago?" ] }, "pacific_palau?" => { name: "pacific_palau?", description: "returns whether the current time zone matches pacific/palau.", examples: [ "Time.pacific_palau?", "Time.new(\"2024-03-05 06:10:59 UTC\").pacific_palau?", "Time.zone = \"Etc/UTC\" Time.pacific_palau?" ] }, "pacific_pitcairn?" => { name: "pacific_pitcairn?", description: "returns whether the current time zone matches pacific/pitcairn.", examples: [ "Time.pacific_pitcairn?", "Time.new(\"2024-03-05 06:10:59 UTC\").pacific_pitcairn?", "Time.zone = \"Etc/UTC\" Time.pacific_pitcairn?" ] }, "pacific_pohnpei?" => { name: "pacific_pohnpei?", description: "returns whether the current time zone matches pacific/pohnpei.", examples: [ "Time.pacific_pohnpei?", "Time.new(\"2024-03-05 06:10:59 UTC\").pacific_pohnpei?", "Time.zone = \"Etc/UTC\" Time.pacific_pohnpei?" ] }, "pacific_ponape?" => { name: "pacific_ponape?", description: "returns whether the current time zone matches pacific/ponape.", examples: [ "Time.pacific_ponape?", "Time.new(\"2024-03-05 06:10:59 UTC\").pacific_ponape?", "Time.zone = \"Etc/UTC\" Time.pacific_ponape?" ] }, "pacific_port_moresby?" => { name: "pacific_port_moresby?", description: "returns whether the current time zone matches pacific/port/moresby.", examples: [ "Time.pacific_port_moresby?", "Time.new(\"2024-03-05 06:10:59 UTC\").pacific_port_moresby?", "Time.zone = \"Etc/UTC\" Time.pacific_port_moresby?" ] }, "pacific_rarotonga?" => { name: "pacific_rarotonga?", description: "returns whether the current time zone matches pacific/rarotonga.", examples: [ "Time.pacific_rarotonga?", "Time.new(\"2024-03-05 06:10:59 UTC\").pacific_rarotonga?", "Time.zone = \"Etc/UTC\" Time.pacific_rarotonga?" ] }, "pacific_saipan?" => { name: "pacific_saipan?", description: "returns whether the current time zone matches pacific/saipan.", examples: [ "Time.pacific_saipan?", "Time.new(\"2024-03-05 06:10:59 UTC\").pacific_saipan?", "Time.zone = \"Etc/UTC\" Time.pacific_saipan?" ] }, "pacific_samoa?" => { name: "pacific_samoa?", description: "returns whether the current time zone matches pacific/samoa.", examples: [ "Time.pacific_samoa?", "Time.new(\"2024-03-05 06:10:59 UTC\").pacific_samoa?", "Time.zone = \"Etc/UTC\" Time.pacific_samoa?" ] }, "pacific_tahiti?" => { name: "pacific_tahiti?", description: "returns whether the current time zone matches pacific/tahiti.", examples: [ "Time.pacific_tahiti?", "Time.new(\"2024-03-05 06:10:59 UTC\").pacific_tahiti?", "Time.zone = \"Etc/UTC\" Time.pacific_tahiti?" ] }, "pacific_tarawa?" => { name: "pacific_tarawa?", description: "returns whether the current time zone matches pacific/tarawa.", examples: [ "Time.pacific_tarawa?", "Time.new(\"2024-03-05 06:10:59 UTC\").pacific_tarawa?", "Time.zone = \"Etc/UTC\" Time.pacific_tarawa?" ] }, "pacific_tongatapu?" => { name: "pacific_tongatapu?", description: "returns whether the current time zone matches pacific/tongatapu.", examples: [ "Time.pacific_tongatapu?", "Time.new(\"2024-03-05 06:10:59 UTC\").pacific_tongatapu?", "Time.zone = \"Etc/UTC\" Time.pacific_tongatapu?" ] }, "pacific_truk?" => { name: "pacific_truk?", description: "returns whether the current time zone matches pacific/truk.", examples: [ "Time.pacific_truk?", "Time.new(\"2024-03-05 06:10:59 UTC\").pacific_truk?", "Time.zone = \"Etc/UTC\" Time.pacific_truk?" ] }, "pacific_wake?" => { name: "pacific_wake?", description: "returns whether the current time zone matches pacific/wake.", examples: [ "Time.pacific_wake?", "Time.new(\"2024-03-05 06:10:59 UTC\").pacific_wake?", "Time.zone = \"Etc/UTC\" Time.pacific_wake?" ] }, "pacific_wallis?" => { name: "pacific_wallis?", description: "returns whether the current time zone matches pacific/wallis.", examples: [ "Time.pacific_wallis?", "Time.new(\"2024-03-05 06:10:59 UTC\").pacific_wallis?", "Time.zone = \"Etc/UTC\" Time.pacific_wallis?" ] }, "pacific_yap?" => { name: "pacific_yap?", description: "returns whether the current time zone matches pacific/yap.", examples: [ "Time.pacific_yap?", "Time.new(\"2024-03-05 06:10:59 UTC\").pacific_yap?", "Time.zone = \"Etc/UTC\" Time.pacific_yap?" ] }, "poland?" => { name: "poland?", description: "returns whether the current time zone matches poland.", examples: [ "Time.poland?", "Time.new(\"2024-03-05 06:10:59 UTC\").poland?", "Time.zone = \"Etc/UTC\" Time.poland?" ] }, "portugal?" => { name: "portugal?", description: "returns whether the current time zone matches portugal.", examples: [ "Time.portugal?", "Time.new(\"2024-03-05 06:10:59 UTC\").portugal?", "Time.zone = \"Etc/UTC\" Time.portugal?" ] }, "roc?" => { name: "roc?", description: "returns whether the current time zone matches roc.", examples: [ "Time.roc?", "Time.new(\"2024-03-05 06:10:59 UTC\").roc?", "Time.zone = \"Etc/UTC\" Time.roc?" ] }, "rok?" => { name: "rok?", description: "returns whether the current time zone matches rok.", examples: [ "Time.rok?", "Time.new(\"2024-03-05 06:10:59 UTC\").rok?", "Time.zone = \"Etc/UTC\" Time.rok?" ] }, "singapore?" => { name: "singapore?", description: "returns whether the current time zone matches singapore.", examples: [ "Time.singapore?", "Time.new(\"2024-03-05 06:10:59 UTC\").singapore?", "Time.zone = \"Etc/UTC\" Time.singapore?" ] }, "turkey?" => { name: "turkey?", description: "returns whether the current time zone matches turkey.", examples: [ "Time.turkey?", "Time.new(\"2024-03-05 06:10:59 UTC\").turkey?", "Time.zone = \"Etc/UTC\" Time.turkey?" ] }, "uct?" => { name: "uct?", description: "returns whether the current time zone matches uct.", examples: [ "Time.uct?", "Time.new(\"2024-03-05 06:10:59 UTC\").uct?", "Time.zone = \"Etc/UTC\" Time.uct?" ] }, "us_alaska?" => { name: "us_alaska?", description: "returns whether the current time zone matches us/alaska.", examples: [ "Time.us_alaska?", "Time.new(\"2024-03-05 06:10:59 UTC\").us_alaska?", "Time.zone = \"Etc/UTC\" Time.us_alaska?" ] }, "us_aleutian?" => { name: "us_aleutian?", description: "returns whether the current time zone matches us/aleutian.", examples: [ "Time.us_aleutian?", "Time.new(\"2024-03-05 06:10:59 UTC\").us_aleutian?", "Time.zone = \"Etc/UTC\" Time.us_aleutian?" ] }, "us_arizona?" => { name: "us_arizona?", description: "returns whether the current time zone matches us/arizona.", examples: [ "Time.us_arizona?", "Time.new(\"2024-03-05 06:10:59 UTC\").us_arizona?", "Time.zone = \"Etc/UTC\" Time.us_arizona?" ] }, "us_central?" => { name: "us_central?", description: "returns whether the current time zone matches us/central.", examples: [ "Time.us_central?", "Time.new(\"2024-03-05 06:10:59 UTC\").us_central?", "Time.zone = \"Etc/UTC\" Time.us_central?" ] }, "us_east_minus_indiana?" => { name: "us_east_minus_indiana?", description: "returns whether the current time zone matches us/east/minus/indiana.", examples: [ "Time.us_east_minus_indiana?", "Time.new(\"2024-03-05 06:10:59 UTC\").us_east_minus_indiana?", "Time.zone = \"Etc/UTC\" Time.us_east_minus_indiana?" ] }, "us_eastern?" => { name: "us_eastern?", description: "returns whether the current time zone matches us/eastern.", examples: [ "Time.us_eastern?", "Time.new(\"2024-03-05 06:10:59 UTC\").us_eastern?", "Time.zone = \"Etc/UTC\" Time.us_eastern?" ] }, "us_hawaii?" => { name: "us_hawaii?", description: "returns whether the current time zone matches us/hawaii.", examples: [ "Time.us_hawaii?", "Time.new(\"2024-03-05 06:10:59 UTC\").us_hawaii?", "Time.zone = \"Etc/UTC\" Time.us_hawaii?" ] }, "us_indiana_minus_starke?" => { name: "us_indiana_minus_starke?", description: "returns whether the current time zone matches us/indiana/minus/starke.", examples: [ "Time.us_indiana_minus_starke?", "Time.new(\"2024-03-05 06:10:59 UTC\").us_indiana_minus_starke?", "Time.zone = \"Etc/UTC\" Time.us_indiana_minus_starke?" ] }, "us_michigan?" => { name: "us_michigan?", description: "returns whether the current time zone matches us/michigan.", examples: [ "Time.us_michigan?", "Time.new(\"2024-03-05 06:10:59 UTC\").us_michigan?", "Time.zone = \"Etc/UTC\" Time.us_michigan?" ] }, "us_mountain?" => { name: "us_mountain?", description: "returns whether the current time zone matches us/mountain.", examples: [ "Time.us_mountain?", "Time.new(\"2024-03-05 06:10:59 UTC\").us_mountain?", "Time.zone = \"Etc/UTC\" Time.us_mountain?" ] }, "us_pacific?" => { name: "us_pacific?", description: "returns whether the current time zone matches us/pacific.", examples: [ "Time.us_pacific?", "Time.new(\"2024-03-05 06:10:59 UTC\").us_pacific?", "Time.zone = \"Etc/UTC\" Time.us_pacific?" ] }, "us_samoa?" => { name: "us_samoa?", description: "returns whether the current time zone matches us/samoa.", examples: [ "Time.us_samoa?", "Time.new(\"2024-03-05 06:10:59 UTC\").us_samoa?", "Time.zone = \"Etc/UTC\" Time.us_samoa?" ] }, "universal?" => { name: "universal?", description: "returns whether the current time zone matches universal.", examples: [ "Time.universal?", "Time.new(\"2024-03-05 06:10:59 UTC\").universal?", "Time.zone = \"Etc/UTC\" Time.universal?" ] }, "w_minus_su?" => { name: "w_minus_su?", description: "returns whether the current time zone matches w/minus/su.", examples: [ "Time.w_minus_su?", "Time.new(\"2024-03-05 06:10:59 UTC\").w_minus_su?", "Time.zone = \"Etc/UTC\" Time.w_minus_su?" ] }, "wet?" => { name: "wet?", description: "returns whether the current time zone matches wet.", examples: [ "Time.wet?", "Time.new(\"2024-03-05 06:10:59 UTC\").wet?", "Time.zone = \"Etc/UTC\" Time.wet?" ] }, "zulu?" => { name: "zulu?", description: "returns whether the current time zone matches zulu.", examples: [ "Time.zulu?", "Time.new(\"2024-03-05 06:10:59 UTC\").zulu?", "Time.zone = \"Etc/UTC\" Time.zulu?" ] } }.freeze
Constants inherited from Code::Object
Constants included from Concerns::Shared
Concerns::Shared::COMPOUND_ASSIGNMENT_OPERATORS, Concerns::Shared::OPERATOR_METHOD_ALIASES, Concerns::Shared::SHARED_OPERATORS
Instance Attribute Summary
Attributes included from Concerns::Shared
Class Method Summary collapse
- .call(**args) ⇒ Object
- .code_zone ⇒ Object
- .code_zone_assign(value) ⇒ Object
- .function_documentation(scope) ⇒ Object
Instance Method Summary collapse
- #call(**args) ⇒ Object
- #code_add(year: nil, years: nil, month: nil, months: nil, day: nil, days: nil, week_day: nil, week_days: nil, week: nil, weeks: nil, hour: nil, hours: nil, minute: nil, minutes: nil, second: nil, seconds: nil) ⇒ Object
- #code_africa_abidjan? ⇒ Boolean
- #code_africa_accra? ⇒ Boolean
- #code_africa_addis_ababa? ⇒ Boolean
- #code_africa_algiers? ⇒ Boolean
- #code_africa_asmara? ⇒ Boolean
- #code_africa_asmera? ⇒ Boolean
- #code_africa_bamako? ⇒ Boolean
- #code_africa_bangui? ⇒ Boolean
- #code_africa_banjul? ⇒ Boolean
- #code_africa_bissau? ⇒ Boolean
- #code_africa_blantyre? ⇒ Boolean
- #code_africa_brazzaville? ⇒ Boolean
- #code_africa_bujumbura? ⇒ Boolean
- #code_africa_cairo? ⇒ Boolean
- #code_africa_casablanca? ⇒ Boolean
- #code_africa_ceuta? ⇒ Boolean
- #code_africa_conakry? ⇒ Boolean
- #code_africa_dakar? ⇒ Boolean
- #code_africa_dar_es_salaam? ⇒ Boolean
- #code_africa_djibouti? ⇒ Boolean
- #code_africa_douala? ⇒ Boolean
- #code_africa_el_aaiun? ⇒ Boolean
- #code_africa_freetown? ⇒ Boolean
- #code_africa_gaborone? ⇒ Boolean
- #code_africa_harare? ⇒ Boolean
- #code_africa_johannesburg? ⇒ Boolean
- #code_africa_juba? ⇒ Boolean
- #code_africa_kampala? ⇒ Boolean
- #code_africa_khartoum? ⇒ Boolean
- #code_africa_kigali? ⇒ Boolean
- #code_africa_kinshasa? ⇒ Boolean
- #code_africa_lagos? ⇒ Boolean
- #code_africa_libreville? ⇒ Boolean
- #code_africa_lome? ⇒ Boolean
- #code_africa_luanda? ⇒ Boolean
- #code_africa_lubumbashi? ⇒ Boolean
- #code_africa_lusaka? ⇒ Boolean
- #code_africa_malabo? ⇒ Boolean
- #code_africa_maputo? ⇒ Boolean
- #code_africa_maseru? ⇒ Boolean
- #code_africa_mbabane? ⇒ Boolean
- #code_africa_mogadishu? ⇒ Boolean
- #code_africa_monrovia? ⇒ Boolean
- #code_africa_nairobi? ⇒ Boolean
- #code_africa_ndjamena? ⇒ Boolean
- #code_africa_niamey? ⇒ Boolean
- #code_africa_nouakchott? ⇒ Boolean
- #code_africa_ouagadougou? ⇒ Boolean
- #code_africa_porto_minus_novo? ⇒ Boolean
- #code_africa_sao_tome? ⇒ Boolean
- #code_africa_timbuktu? ⇒ Boolean
- #code_africa_tripoli? ⇒ Boolean
- #code_africa_tunis? ⇒ Boolean
- #code_africa_windhoek? ⇒ Boolean
- #code_after?(other = nil) ⇒ Boolean
- #code_america_adak? ⇒ Boolean
- #code_america_anchorage? ⇒ Boolean
- #code_america_anguilla? ⇒ Boolean
- #code_america_antigua? ⇒ Boolean
- #code_america_araguaina? ⇒ Boolean
- #code_america_argentina_buenos_aires? ⇒ Boolean
- #code_america_argentina_catamarca? ⇒ Boolean
- #code_america_argentina_comodrivadavia? ⇒ Boolean
- #code_america_argentina_cordoba? ⇒ Boolean
- #code_america_argentina_jujuy? ⇒ Boolean
- #code_america_argentina_la_rioja? ⇒ Boolean
- #code_america_argentina_mendoza? ⇒ Boolean
- #code_america_argentina_rio_gallegos? ⇒ Boolean
- #code_america_argentina_salta? ⇒ Boolean
- #code_america_argentina_san_juan? ⇒ Boolean
- #code_america_argentina_san_luis? ⇒ Boolean
- #code_america_argentina_tucuman? ⇒ Boolean
- #code_america_argentina_ushuaia? ⇒ Boolean
- #code_america_aruba? ⇒ Boolean
- #code_america_asuncion? ⇒ Boolean
- #code_america_atikokan? ⇒ Boolean
- #code_america_atka? ⇒ Boolean
- #code_america_bahia? ⇒ Boolean
- #code_america_bahia_banderas? ⇒ Boolean
- #code_america_barbados? ⇒ Boolean
- #code_america_belem? ⇒ Boolean
- #code_america_belize? ⇒ Boolean
- #code_america_blanc_minus_sablon? ⇒ Boolean
- #code_america_boa_vista? ⇒ Boolean
- #code_america_bogota? ⇒ Boolean
- #code_america_boise? ⇒ Boolean
- #code_america_buenos_aires? ⇒ Boolean
- #code_america_cambridge_bay? ⇒ Boolean
- #code_america_campo_grande? ⇒ Boolean
- #code_america_cancun? ⇒ Boolean
- #code_america_caracas? ⇒ Boolean
- #code_america_catamarca? ⇒ Boolean
- #code_america_cayenne? ⇒ Boolean
- #code_america_cayman? ⇒ Boolean
- #code_america_chicago? ⇒ Boolean
- #code_america_chihuahua? ⇒ Boolean
- #code_america_ciudad_juarez? ⇒ Boolean
- #code_america_coral_harbour? ⇒ Boolean
- #code_america_cordoba? ⇒ Boolean
- #code_america_costa_rica? ⇒ Boolean
- #code_america_coyhaique? ⇒ Boolean
- #code_america_creston? ⇒ Boolean
- #code_america_cuiaba? ⇒ Boolean
- #code_america_curacao? ⇒ Boolean
- #code_america_danmarkshavn? ⇒ Boolean
- #code_america_dawson? ⇒ Boolean
- #code_america_dawson_creek? ⇒ Boolean
- #code_america_denver? ⇒ Boolean
- #code_america_detroit? ⇒ Boolean
- #code_america_dominica? ⇒ Boolean
- #code_america_edmonton? ⇒ Boolean
- #code_america_eirunepe? ⇒ Boolean
- #code_america_el_salvador? ⇒ Boolean
- #code_america_ensenada? ⇒ Boolean
- #code_america_fort_nelson? ⇒ Boolean
- #code_america_fort_wayne? ⇒ Boolean
- #code_america_fortaleza? ⇒ Boolean
- #code_america_glace_bay? ⇒ Boolean
- #code_america_godthab? ⇒ Boolean
- #code_america_goose_bay? ⇒ Boolean
- #code_america_grand_turk? ⇒ Boolean
- #code_america_grenada? ⇒ Boolean
- #code_america_guadeloupe? ⇒ Boolean
- #code_america_guatemala? ⇒ Boolean
- #code_america_guayaquil? ⇒ Boolean
- #code_america_guyana? ⇒ Boolean
- #code_america_halifax? ⇒ Boolean
- #code_america_havana? ⇒ Boolean
- #code_america_hermosillo? ⇒ Boolean
- #code_america_indiana_indianapolis? ⇒ Boolean
- #code_america_indiana_knox? ⇒ Boolean
- #code_america_indiana_marengo? ⇒ Boolean
- #code_america_indiana_petersburg? ⇒ Boolean
- #code_america_indiana_tell_city? ⇒ Boolean
- #code_america_indiana_vevay? ⇒ Boolean
- #code_america_indiana_vincennes? ⇒ Boolean
- #code_america_indiana_winamac? ⇒ Boolean
- #code_america_indianapolis? ⇒ Boolean
- #code_america_inuvik? ⇒ Boolean
- #code_america_iqaluit? ⇒ Boolean
- #code_america_jamaica? ⇒ Boolean
- #code_america_jujuy? ⇒ Boolean
- #code_america_juneau? ⇒ Boolean
- #code_america_kentucky_louisville? ⇒ Boolean
- #code_america_kentucky_monticello? ⇒ Boolean
- #code_america_knox_in? ⇒ Boolean
- #code_america_kralendijk? ⇒ Boolean
- #code_america_la_paz? ⇒ Boolean
- #code_america_lima? ⇒ Boolean
- #code_america_los_angeles? ⇒ Boolean
- #code_america_louisville? ⇒ Boolean
- #code_america_lower_princes? ⇒ Boolean
- #code_america_maceio? ⇒ Boolean
- #code_america_managua? ⇒ Boolean
- #code_america_manaus? ⇒ Boolean
- #code_america_marigot? ⇒ Boolean
- #code_america_martinique? ⇒ Boolean
- #code_america_matamoros? ⇒ Boolean
- #code_america_mazatlan? ⇒ Boolean
- #code_america_mendoza? ⇒ Boolean
- #code_america_menominee? ⇒ Boolean
- #code_america_merida? ⇒ Boolean
- #code_america_metlakatla? ⇒ Boolean
- #code_america_mexico_city? ⇒ Boolean
- #code_america_miquelon? ⇒ Boolean
- #code_america_moncton? ⇒ Boolean
- #code_america_monterrey? ⇒ Boolean
- #code_america_montevideo? ⇒ Boolean
- #code_america_montreal? ⇒ Boolean
- #code_america_montserrat? ⇒ Boolean
- #code_america_nassau? ⇒ Boolean
- #code_america_new_york? ⇒ Boolean
- #code_america_nipigon? ⇒ Boolean
- #code_america_nome? ⇒ Boolean
- #code_america_noronha? ⇒ Boolean
- #code_america_north_dakota_beulah? ⇒ Boolean
- #code_america_north_dakota_center? ⇒ Boolean
- #code_america_north_dakota_new_salem? ⇒ Boolean
- #code_america_nuuk? ⇒ Boolean
- #code_america_ojinaga? ⇒ Boolean
- #code_america_panama? ⇒ Boolean
- #code_america_pangnirtung? ⇒ Boolean
- #code_america_paramaribo? ⇒ Boolean
- #code_america_phoenix? ⇒ Boolean
- #code_america_port_minus_au_minus_prince? ⇒ Boolean
- #code_america_port_of_spain? ⇒ Boolean
- #code_america_porto_acre? ⇒ Boolean
- #code_america_porto_velho? ⇒ Boolean
- #code_america_puerto_rico? ⇒ Boolean
- #code_america_punta_arenas? ⇒ Boolean
- #code_america_rainy_river? ⇒ Boolean
- #code_america_rankin_inlet? ⇒ Boolean
- #code_america_recife? ⇒ Boolean
- #code_america_regina? ⇒ Boolean
- #code_america_resolute? ⇒ Boolean
- #code_america_rio_branco? ⇒ Boolean
- #code_america_rosario? ⇒ Boolean
- #code_america_santa_isabel? ⇒ Boolean
- #code_america_santarem? ⇒ Boolean
- #code_america_santiago? ⇒ Boolean
- #code_america_santo_domingo? ⇒ Boolean
- #code_america_sao_paulo? ⇒ Boolean
- #code_america_scoresbysund? ⇒ Boolean
- #code_america_shiprock? ⇒ Boolean
- #code_america_sitka? ⇒ Boolean
- #code_america_st_barthelemy? ⇒ Boolean
- #code_america_st_johns? ⇒ Boolean
- #code_america_st_kitts? ⇒ Boolean
- #code_america_st_lucia? ⇒ Boolean
- #code_america_st_thomas? ⇒ Boolean
- #code_america_st_vincent? ⇒ Boolean
- #code_america_swift_current? ⇒ Boolean
- #code_america_tegucigalpa? ⇒ Boolean
- #code_america_thule? ⇒ Boolean
- #code_america_thunder_bay? ⇒ Boolean
- #code_america_tijuana? ⇒ Boolean
- #code_america_toronto? ⇒ Boolean
- #code_america_tortola? ⇒ Boolean
- #code_america_vancouver? ⇒ Boolean
- #code_america_virgin? ⇒ Boolean
- #code_america_whitehorse? ⇒ Boolean
- #code_america_winnipeg? ⇒ Boolean
- #code_america_yakutat? ⇒ Boolean
- #code_america_yellowknife? ⇒ Boolean
- #code_antarctica_casey? ⇒ Boolean
- #code_antarctica_davis? ⇒ Boolean
- #code_antarctica_dumontdurville? ⇒ Boolean
- #code_antarctica_macquarie? ⇒ Boolean
- #code_antarctica_mawson? ⇒ Boolean
- #code_antarctica_mcmurdo? ⇒ Boolean
- #code_antarctica_palmer? ⇒ Boolean
- #code_antarctica_rothera? ⇒ Boolean
- #code_antarctica_south_pole? ⇒ Boolean
- #code_antarctica_syowa? ⇒ Boolean
- #code_antarctica_troll? ⇒ Boolean
- #code_antarctica_vostok? ⇒ Boolean
- #code_april? ⇒ Boolean
- #code_arctic_longyearbyen? ⇒ Boolean
- #code_asia_aden? ⇒ Boolean
- #code_asia_almaty? ⇒ Boolean
- #code_asia_amman? ⇒ Boolean
- #code_asia_anadyr? ⇒ Boolean
- #code_asia_aqtau? ⇒ Boolean
- #code_asia_aqtobe? ⇒ Boolean
- #code_asia_ashgabat? ⇒ Boolean
- #code_asia_ashkhabad? ⇒ Boolean
- #code_asia_atyrau? ⇒ Boolean
- #code_asia_baghdad? ⇒ Boolean
- #code_asia_bahrain? ⇒ Boolean
- #code_asia_baku? ⇒ Boolean
- #code_asia_bangkok? ⇒ Boolean
- #code_asia_barnaul? ⇒ Boolean
- #code_asia_beirut? ⇒ Boolean
- #code_asia_bishkek? ⇒ Boolean
- #code_asia_brunei? ⇒ Boolean
- #code_asia_calcutta? ⇒ Boolean
- #code_asia_chita? ⇒ Boolean
- #code_asia_choibalsan? ⇒ Boolean
- #code_asia_chongqing? ⇒ Boolean
- #code_asia_chungking? ⇒ Boolean
- #code_asia_colombo? ⇒ Boolean
- #code_asia_dacca? ⇒ Boolean
- #code_asia_damascus? ⇒ Boolean
- #code_asia_dhaka? ⇒ Boolean
- #code_asia_dili? ⇒ Boolean
- #code_asia_dubai? ⇒ Boolean
- #code_asia_dushanbe? ⇒ Boolean
- #code_asia_famagusta? ⇒ Boolean
- #code_asia_gaza? ⇒ Boolean
- #code_asia_harbin? ⇒ Boolean
- #code_asia_hebron? ⇒ Boolean
- #code_asia_ho_chi_minh? ⇒ Boolean
- #code_asia_hong_kong? ⇒ Boolean
- #code_asia_hovd? ⇒ Boolean
- #code_asia_irkutsk? ⇒ Boolean
- #code_asia_istanbul? ⇒ Boolean
- #code_asia_jakarta? ⇒ Boolean
- #code_asia_jayapura? ⇒ Boolean
- #code_asia_jerusalem? ⇒ Boolean
- #code_asia_kabul? ⇒ Boolean
- #code_asia_kamchatka? ⇒ Boolean
- #code_asia_karachi? ⇒ Boolean
- #code_asia_kashgar? ⇒ Boolean
- #code_asia_kathmandu? ⇒ Boolean
- #code_asia_katmandu? ⇒ Boolean
- #code_asia_khandyga? ⇒ Boolean
- #code_asia_kolkata? ⇒ Boolean
- #code_asia_krasnoyarsk? ⇒ Boolean
- #code_asia_kuala_lumpur? ⇒ Boolean
- #code_asia_kuching? ⇒ Boolean
- #code_asia_kuwait? ⇒ Boolean
- #code_asia_macao? ⇒ Boolean
- #code_asia_macau? ⇒ Boolean
- #code_asia_magadan? ⇒ Boolean
- #code_asia_makassar? ⇒ Boolean
- #code_asia_manila? ⇒ Boolean
- #code_asia_muscat? ⇒ Boolean
- #code_asia_nicosia? ⇒ Boolean
- #code_asia_novokuznetsk? ⇒ Boolean
- #code_asia_novosibirsk? ⇒ Boolean
- #code_asia_omsk? ⇒ Boolean
- #code_asia_oral? ⇒ Boolean
- #code_asia_phnom_penh? ⇒ Boolean
- #code_asia_pontianak? ⇒ Boolean
- #code_asia_pyongyang? ⇒ Boolean
- #code_asia_qatar? ⇒ Boolean
- #code_asia_qostanay? ⇒ Boolean
- #code_asia_qyzylorda? ⇒ Boolean
- #code_asia_rangoon? ⇒ Boolean
- #code_asia_riyadh? ⇒ Boolean
- #code_asia_saigon? ⇒ Boolean
- #code_asia_sakhalin? ⇒ Boolean
- #code_asia_samarkand? ⇒ Boolean
- #code_asia_seoul? ⇒ Boolean
- #code_asia_shanghai? ⇒ Boolean
- #code_asia_singapore? ⇒ Boolean
- #code_asia_srednekolymsk? ⇒ Boolean
- #code_asia_taipei? ⇒ Boolean
- #code_asia_tashkent? ⇒ Boolean
- #code_asia_tbilisi? ⇒ Boolean
- #code_asia_tehran? ⇒ Boolean
- #code_asia_tel_aviv? ⇒ Boolean
- #code_asia_thimbu? ⇒ Boolean
- #code_asia_thimphu? ⇒ Boolean
- #code_asia_tokyo? ⇒ Boolean
- #code_asia_tomsk? ⇒ Boolean
- #code_asia_ujung_pandang? ⇒ Boolean
- #code_asia_ulaanbaatar? ⇒ Boolean
- #code_asia_ulan_bator? ⇒ Boolean
- #code_asia_urumqi? ⇒ Boolean
- #code_asia_ust_minus_nera? ⇒ Boolean
- #code_asia_vientiane? ⇒ Boolean
- #code_asia_vladivostok? ⇒ Boolean
- #code_asia_yakutsk? ⇒ Boolean
- #code_asia_yangon? ⇒ Boolean
- #code_asia_yekaterinburg? ⇒ Boolean
- #code_asia_yerevan? ⇒ Boolean
- #code_atlantic_azores? ⇒ Boolean
- #code_atlantic_bermuda? ⇒ Boolean
- #code_atlantic_canary? ⇒ Boolean
- #code_atlantic_cape_verde? ⇒ Boolean
- #code_atlantic_faeroe? ⇒ Boolean
- #code_atlantic_faroe? ⇒ Boolean
- #code_atlantic_jan_mayen? ⇒ Boolean
- #code_atlantic_madeira? ⇒ Boolean
- #code_atlantic_reykjavik? ⇒ Boolean
- #code_atlantic_south_georgia? ⇒ Boolean
- #code_atlantic_st_helena? ⇒ Boolean
- #code_atlantic_stanley? ⇒ Boolean
- #code_august? ⇒ Boolean
- #code_australia_act? ⇒ Boolean
- #code_australia_adelaide? ⇒ Boolean
- #code_australia_brisbane? ⇒ Boolean
- #code_australia_broken_hill? ⇒ Boolean
- #code_australia_canberra? ⇒ Boolean
- #code_australia_currie? ⇒ Boolean
- #code_australia_darwin? ⇒ Boolean
- #code_australia_eucla? ⇒ Boolean
- #code_australia_hobart? ⇒ Boolean
- #code_australia_lhi? ⇒ Boolean
- #code_australia_lindeman? ⇒ Boolean
- #code_australia_lord_howe? ⇒ Boolean
- #code_australia_melbourne? ⇒ Boolean
- #code_australia_north? ⇒ Boolean
- #code_australia_nsw? ⇒ Boolean
- #code_australia_perth? ⇒ Boolean
- #code_australia_queensland? ⇒ Boolean
- #code_australia_south? ⇒ Boolean
- #code_australia_sydney? ⇒ Boolean
- #code_australia_tasmania? ⇒ Boolean
- #code_australia_victoria? ⇒ Boolean
- #code_australia_west? ⇒ Boolean
- #code_australia_yancowinna? ⇒ Boolean
- #code_before?(other = nil) ⇒ Boolean
- #code_beginning_of_day ⇒ Object
- #code_brazil_acre? ⇒ Boolean
- #code_brazil_denoronha? ⇒ Boolean
- #code_brazil_east? ⇒ Boolean
- #code_brazil_west? ⇒ Boolean
- #code_canada_atlantic? ⇒ Boolean
- #code_canada_central? ⇒ Boolean
- #code_canada_eastern? ⇒ Boolean
- #code_canada_mountain? ⇒ Boolean
- #code_canada_newfoundland? ⇒ Boolean
- #code_canada_pacific? ⇒ Boolean
- #code_canada_saskatchewan? ⇒ Boolean
- #code_canada_yukon? ⇒ Boolean
- #code_cet? ⇒ Boolean
- #code_change(year: nil, years: nil, month: nil, months: nil, day: nil, days: nil, week_day: nil, week_days: nil, week: nil, weeks: nil, hour: nil, hours: nil, minute: nil, minutes: nil, second: nil, seconds: nil) ⇒ Object
- #code_chile_continental? ⇒ Boolean
- #code_chile_easterisland? ⇒ Boolean
- #code_cst6cdt? ⇒ Boolean
- #code_cuba? ⇒ Boolean
- #code_current ⇒ Object
- #code_day ⇒ Object
- #code_days ⇒ Object
- #code_december? ⇒ Boolean
- #code_eet? ⇒ Boolean
- #code_egypt? ⇒ Boolean
- #code_eire? ⇒ Boolean
- #code_end_of_day ⇒ Object
- #code_est5edt? ⇒ Boolean
- #code_est? ⇒ Boolean
- #code_etc_gmt0? ⇒ Boolean
- #code_etc_gmt? ⇒ Boolean
- #code_etc_gmt_minus_0? ⇒ Boolean
- #code_etc_gmt_minus_10? ⇒ Boolean
- #code_etc_gmt_minus_11? ⇒ Boolean
- #code_etc_gmt_minus_12? ⇒ Boolean
- #code_etc_gmt_minus_13? ⇒ Boolean
- #code_etc_gmt_minus_14? ⇒ Boolean
- #code_etc_gmt_minus_1? ⇒ Boolean
- #code_etc_gmt_minus_2? ⇒ Boolean
- #code_etc_gmt_minus_3? ⇒ Boolean
- #code_etc_gmt_minus_4? ⇒ Boolean
- #code_etc_gmt_minus_5? ⇒ Boolean
- #code_etc_gmt_minus_6? ⇒ Boolean
- #code_etc_gmt_minus_7? ⇒ Boolean
- #code_etc_gmt_minus_8? ⇒ Boolean
- #code_etc_gmt_minus_9? ⇒ Boolean
- #code_etc_gmt_plus_0? ⇒ Boolean
- #code_etc_gmt_plus_10? ⇒ Boolean
- #code_etc_gmt_plus_11? ⇒ Boolean
- #code_etc_gmt_plus_12? ⇒ Boolean
- #code_etc_gmt_plus_1? ⇒ Boolean
- #code_etc_gmt_plus_2? ⇒ Boolean
- #code_etc_gmt_plus_3? ⇒ Boolean
- #code_etc_gmt_plus_4? ⇒ Boolean
- #code_etc_gmt_plus_5? ⇒ Boolean
- #code_etc_gmt_plus_6? ⇒ Boolean
- #code_etc_gmt_plus_7? ⇒ Boolean
- #code_etc_gmt_plus_8? ⇒ Boolean
- #code_etc_gmt_plus_9? ⇒ Boolean
- #code_etc_greenwich? ⇒ Boolean
- #code_etc_uct? ⇒ Boolean
- #code_etc_universal? ⇒ Boolean
- #code_etc_utc? ⇒ Boolean
- #code_etc_zulu? ⇒ Boolean
- #code_europe_amsterdam? ⇒ Boolean
- #code_europe_andorra? ⇒ Boolean
- #code_europe_astrakhan? ⇒ Boolean
- #code_europe_athens? ⇒ Boolean
- #code_europe_belfast? ⇒ Boolean
- #code_europe_belgrade? ⇒ Boolean
- #code_europe_berlin? ⇒ Boolean
- #code_europe_bratislava? ⇒ Boolean
- #code_europe_brussels? ⇒ Boolean
- #code_europe_bucharest? ⇒ Boolean
- #code_europe_budapest? ⇒ Boolean
- #code_europe_busingen? ⇒ Boolean
- #code_europe_chisinau? ⇒ Boolean
- #code_europe_copenhagen? ⇒ Boolean
- #code_europe_dublin? ⇒ Boolean
- #code_europe_gibraltar? ⇒ Boolean
- #code_europe_guernsey? ⇒ Boolean
- #code_europe_helsinki? ⇒ Boolean
- #code_europe_isle_of_man? ⇒ Boolean
- #code_europe_istanbul? ⇒ Boolean
- #code_europe_jersey? ⇒ Boolean
- #code_europe_kaliningrad? ⇒ Boolean
- #code_europe_kiev? ⇒ Boolean
- #code_europe_kirov? ⇒ Boolean
- #code_europe_kyiv? ⇒ Boolean
- #code_europe_lisbon? ⇒ Boolean
- #code_europe_ljubljana? ⇒ Boolean
- #code_europe_london? ⇒ Boolean
- #code_europe_luxembourg? ⇒ Boolean
- #code_europe_madrid? ⇒ Boolean
- #code_europe_malta? ⇒ Boolean
- #code_europe_mariehamn? ⇒ Boolean
- #code_europe_minsk? ⇒ Boolean
- #code_europe_monaco? ⇒ Boolean
- #code_europe_moscow? ⇒ Boolean
- #code_europe_nicosia? ⇒ Boolean
- #code_europe_oslo? ⇒ Boolean
- #code_europe_paris? ⇒ Boolean
- #code_europe_podgorica? ⇒ Boolean
- #code_europe_prague? ⇒ Boolean
- #code_europe_riga? ⇒ Boolean
- #code_europe_rome? ⇒ Boolean
- #code_europe_samara? ⇒ Boolean
- #code_europe_san_marino? ⇒ Boolean
- #code_europe_sarajevo? ⇒ Boolean
- #code_europe_saratov? ⇒ Boolean
- #code_europe_simferopol? ⇒ Boolean
- #code_europe_skopje? ⇒ Boolean
- #code_europe_sofia? ⇒ Boolean
- #code_europe_stockholm? ⇒ Boolean
- #code_europe_tallinn? ⇒ Boolean
- #code_europe_tirane? ⇒ Boolean
- #code_europe_tiraspol? ⇒ Boolean
- #code_europe_ulyanovsk? ⇒ Boolean
- #code_europe_uzhgorod? ⇒ Boolean
- #code_europe_vaduz? ⇒ Boolean
- #code_europe_vatican? ⇒ Boolean
- #code_europe_vienna? ⇒ Boolean
- #code_europe_vilnius? ⇒ Boolean
- #code_europe_volgograd? ⇒ Boolean
- #code_europe_warsaw? ⇒ Boolean
- #code_europe_zagreb? ⇒ Boolean
- #code_europe_zaporozhye? ⇒ Boolean
- #code_europe_zurich? ⇒ Boolean
- #code_factory? ⇒ Boolean
- #code_february? ⇒ Boolean
- #code_format(format, locale: nil) ⇒ Object
- #code_friday? ⇒ Boolean
- #code_future? ⇒ Boolean
- #code_gb? ⇒ Boolean
- #code_gb_minus_eire? ⇒ Boolean
- #code_gmt0? ⇒ Boolean
- #code_gmt? ⇒ Boolean
- #code_gmt_minus_0? ⇒ Boolean
- #code_gmt_plus_0? ⇒ Boolean
- #code_greenwich? ⇒ Boolean
- #code_hongkong? ⇒ Boolean
- #code_hour ⇒ Object
- #code_hours ⇒ Object
- #code_hst? ⇒ Boolean
- #code_iceland? ⇒ Boolean
- #code_indian_antananarivo? ⇒ Boolean
- #code_indian_chagos? ⇒ Boolean
- #code_indian_christmas? ⇒ Boolean
- #code_indian_cocos? ⇒ Boolean
- #code_indian_comoro? ⇒ Boolean
- #code_indian_kerguelen? ⇒ Boolean
- #code_indian_mahe? ⇒ Boolean
- #code_indian_maldives? ⇒ Boolean
- #code_indian_mauritius? ⇒ Boolean
- #code_indian_mayotte? ⇒ Boolean
- #code_indian_reunion? ⇒ Boolean
- #code_iran? ⇒ Boolean
- #code_iso ⇒ Object
- #code_iso8601 ⇒ Object
- #code_israel? ⇒ Boolean
- #code_jamaica? ⇒ Boolean
- #code_january? ⇒ Boolean
- #code_japan? ⇒ Boolean
- #code_july? ⇒ Boolean
- #code_june? ⇒ Boolean
- #code_kwajalein? ⇒ Boolean
- #code_libya? ⇒ Boolean
- #code_local ⇒ Object
- #code_march? ⇒ Boolean
- #code_may? ⇒ Boolean
- #code_met? ⇒ Boolean
- #code_mexico_bajanorte? ⇒ Boolean
- #code_mexico_bajasur? ⇒ Boolean
- #code_mexico_general? ⇒ Boolean
- #code_millisecond ⇒ Object
- #code_milliseconds ⇒ Object
- #code_minute ⇒ Object
- #code_minutes ⇒ Object
- #code_monday? ⇒ Boolean
- #code_month ⇒ Object
- #code_month_day ⇒ Object
- #code_months ⇒ Object
- #code_mst7mdt? ⇒ Boolean
- #code_mst? ⇒ Boolean
- #code_nanosecond ⇒ Object
- #code_nanoseconds ⇒ Object
- #code_navajo? ⇒ Boolean
- #code_november? ⇒ Boolean
- #code_now ⇒ Object
- #code_nz? ⇒ Boolean
- #code_nz_minus_chat? ⇒ Boolean
- #code_october? ⇒ Boolean
- #code_pacific_apia? ⇒ Boolean
- #code_pacific_auckland? ⇒ Boolean
- #code_pacific_bougainville? ⇒ Boolean
- #code_pacific_chatham? ⇒ Boolean
- #code_pacific_chuuk? ⇒ Boolean
- #code_pacific_easter? ⇒ Boolean
- #code_pacific_efate? ⇒ Boolean
- #code_pacific_enderbury? ⇒ Boolean
- #code_pacific_fakaofo? ⇒ Boolean
- #code_pacific_fiji? ⇒ Boolean
- #code_pacific_funafuti? ⇒ Boolean
- #code_pacific_galapagos? ⇒ Boolean
- #code_pacific_gambier? ⇒ Boolean
- #code_pacific_guadalcanal? ⇒ Boolean
- #code_pacific_guam? ⇒ Boolean
- #code_pacific_honolulu? ⇒ Boolean
- #code_pacific_johnston? ⇒ Boolean
- #code_pacific_kanton? ⇒ Boolean
- #code_pacific_kiritimati? ⇒ Boolean
- #code_pacific_kosrae? ⇒ Boolean
- #code_pacific_kwajalein? ⇒ Boolean
- #code_pacific_majuro? ⇒ Boolean
- #code_pacific_marquesas? ⇒ Boolean
- #code_pacific_midway? ⇒ Boolean
- #code_pacific_nauru? ⇒ Boolean
- #code_pacific_niue? ⇒ Boolean
- #code_pacific_norfolk? ⇒ Boolean
- #code_pacific_noumea? ⇒ Boolean
- #code_pacific_pago_pago? ⇒ Boolean
- #code_pacific_palau? ⇒ Boolean
- #code_pacific_pitcairn? ⇒ Boolean
- #code_pacific_pohnpei? ⇒ Boolean
- #code_pacific_ponape? ⇒ Boolean
- #code_pacific_port_moresby? ⇒ Boolean
- #code_pacific_rarotonga? ⇒ Boolean
- #code_pacific_saipan? ⇒ Boolean
- #code_pacific_samoa? ⇒ Boolean
- #code_pacific_tahiti? ⇒ Boolean
- #code_pacific_tarawa? ⇒ Boolean
- #code_pacific_tongatapu? ⇒ Boolean
- #code_pacific_truk? ⇒ Boolean
- #code_pacific_wake? ⇒ Boolean
- #code_pacific_wallis? ⇒ Boolean
- #code_pacific_yap? ⇒ Boolean
- #code_past? ⇒ Boolean
- #code_poland? ⇒ Boolean
- #code_portugal? ⇒ Boolean
- #code_prc? ⇒ Boolean
- #code_pst8pdt? ⇒ Boolean
- #code_rfc ⇒ Object
- #code_rfc2822 ⇒ Object
- #code_rfc3339 ⇒ Object
- #code_roc? ⇒ Boolean
- #code_rok? ⇒ Boolean
- #code_saturday? ⇒ Boolean
- #code_second ⇒ Object
- #code_seconds ⇒ Object
- #code_september? ⇒ Boolean
- #code_singapore? ⇒ Boolean
- #code_substract(year: nil, years: nil, month: nil, months: nil, day: nil, days: nil, week_day: nil, week_days: nil, week: nil, weeks: nil, hour: nil, hours: nil, minute: nil, minutes: nil, second: nil, seconds: nil) ⇒ Object
- #code_subtract ⇒ Object
- #code_sunday? ⇒ Boolean
- #code_thursday? ⇒ Boolean
- #code_to_decimal ⇒ Object
- #code_to_integer ⇒ Object
- #code_to_list ⇒ Object
- #code_today ⇒ Object
- #code_tomorrow ⇒ Object
- #code_tuesday? ⇒ Boolean
- #code_turkey? ⇒ Boolean
- #code_uct? ⇒ Boolean
- #code_universal? ⇒ Boolean
- #code_us_alaska? ⇒ Boolean
- #code_us_aleutian? ⇒ Boolean
- #code_us_arizona? ⇒ Boolean
- #code_us_central? ⇒ Boolean
- #code_us_east_minus_indiana? ⇒ Boolean
- #code_us_eastern? ⇒ Boolean
- #code_us_hawaii? ⇒ Boolean
- #code_us_indiana_minus_starke? ⇒ Boolean
- #code_us_michigan? ⇒ Boolean
- #code_us_mountain? ⇒ Boolean
- #code_us_pacific? ⇒ Boolean
- #code_us_samoa? ⇒ Boolean
- #code_utc ⇒ Object
- #code_utc? ⇒ Boolean
- #code_utc_offset ⇒ Object
- #code_w_minus_su? ⇒ Boolean
- #code_wednesday? ⇒ Boolean
- #code_week ⇒ Object
- #code_week_day ⇒ Object
- #code_week_days ⇒ Object
- #code_weeks ⇒ Object
- #code_wet? ⇒ Boolean
- #code_year ⇒ Object
- #code_year_day ⇒ Object
- #code_years ⇒ Object
- #code_yesterday ⇒ Object
- #code_zone ⇒ Object
- #code_zulu? ⇒ Boolean
-
#initialize(*args, **_kargs, &_block) ⇒ Time
constructor
A new instance of Time.
- #raw_time_zone_names ⇒ Object
Methods inherited from Code::Object
class_documentation, class_functions, code_new, #code_new, documentation, documentation_for, documented_functions_for, function_documentation_for, function_documentation_registry_for, functions, inherited_function_documentation_for, instance_functions, maybe, #name, repeat, sorted_dictionary, |
Methods included from Concerns::Shared
#<=>, #==, #as_json, #blank?, #code_and, #code_as_json, #code_blank?, #code_class_functions, #code_compare, #code_deep_duplicate, #code_different, #code_documentable_functions, #code_documentation, #code_duplicate, #code_dynamic_call, #code_equal, #code_exclamation_mark, #code_exclusive_range, #code_false?, #code_falsy?, code_fetch, #code_fetch, #code_functions, code_get, #code_get, #code_greater, #code_greater_or_equal, #code_has_key?, #code_inclusive_range, #code_inspect, #code_instance_functions, #code_instance_of?, #code_is_a?, #code_itself, #code_less, #code_less_or_equal, #code_name, #code_nothing?, #code_or, #code_presence, #code_presence_in, #code_present?, #code_respond_to?, #code_same_object?, #code_self, #code_send, code_set, #code_set, #code_something?, #code_strict_different, #code_strict_equal, #code_tap, #code_then, #code_to_boolean, #code_to_class, #code_to_date, #code_to_dictionary, #code_to_duration, #code_to_json, #code_to_nothing, #code_to_parameter, #code_to_range, #code_to_string, #code_to_time, #code_true?, #code_truthy?, #eql?, #falsy?, #hash, #inspect, #multi_fetch, #nothing?, #present?, #sig, #something?, #succ, #to_code, #to_i, #to_json, #to_s, #truthy?
Constructor Details
#initialize(*args, **_kargs, &_block) ⇒ Time
Returns a new instance of Time.
7285 7286 7287 7288 7289 7290 7291 7292 7293 7294 7295 7296 7297 7298 7299 7300 7301 7302 7303 7304 7305 7306 7307 7308 7309 7310 7311 |
# File 'lib/code/object/time.rb', line 7285 def initialize(*args, **_kargs, &_block) ::Time.zone ||= DEFAULT_ZONE first = args.first self.raw = case first when String, ::String ::Time.zone.parse(first.to_s) || raise(Error) when Time first.raw.dup.in_time_zone(::Time.zone) when ::Time first.dup.in_time_zone(::Time.zone) when Date first.raw.to_time.in_time_zone(::Time.zone) when ::Date first.to_time.in_time_zone(::Time.zone) when ::ActiveSupport::TimeWithZone first.dup when Integer, Decimal, ::Integer, ::Float, ::BigDecimal code_value = first.to_code = (code_value.is_a?(Decimal) ? code_value.raw.to_r : code_value.raw) ::Time.zone.at() else ::Time.zone.now end end |
Class Method Details
.call(**args) ⇒ Object
7313 7314 7315 7316 7317 7318 7319 7320 7321 7322 7323 7324 7325 7326 7327 7328 7329 7330 7331 7332 7333 7334 7335 7336 7337 7338 7339 7340 7341 7342 7343 7344 7345 7346 7347 7348 7349 7350 7351 7352 7353 7354 7355 7356 7357 7358 7359 7360 7361 7362 7363 7364 7365 7366 7367 7368 7369 7370 7371 7372 7373 7374 7375 7376 7377 7378 7379 7380 7381 7382 7383 7384 7385 7386 7387 7388 7389 7390 7391 7392 7393 7394 7395 7396 7397 7398 7399 7400 7401 7402 7403 7404 7405 7406 7407 7408 7409 7410 7411 7412 7413 7414 7415 7416 7417 7418 7419 7420 7421 7422 7423 7424 7425 7426 7427 7428 7429 7430 7431 7432 7433 7434 7435 7436 7437 7438 7439 7440 7441 7442 7443 7444 7445 7446 7447 7448 7449 7450 7451 7452 7453 7454 7455 7456 7457 7458 7459 7460 7461 7462 7463 7464 7465 7466 7467 7468 7469 7470 7471 7472 7473 7474 7475 7476 7477 7478 7479 7480 7481 7482 7483 7484 7485 7486 7487 7488 7489 7490 7491 7492 7493 7494 7495 7496 7497 7498 7499 7500 7501 7502 7503 7504 7505 7506 7507 7508 7509 7510 7511 7512 7513 7514 7515 7516 7517 7518 7519 7520 7521 7522 7523 7524 7525 7526 7527 7528 7529 7530 7531 7532 7533 7534 7535 7536 7537 7538 7539 7540 7541 7542 7543 7544 7545 7546 7547 7548 7549 7550 7551 7552 7553 7554 7555 7556 7557 7558 7559 7560 7561 7562 7563 7564 7565 7566 7567 7568 7569 7570 7571 7572 7573 7574 7575 7576 7577 7578 7579 7580 7581 7582 7583 7584 7585 7586 7587 7588 7589 7590 7591 7592 7593 7594 7595 7596 7597 7598 7599 7600 7601 7602 7603 7604 7605 7606 7607 7608 7609 7610 7611 7612 7613 7614 7615 7616 7617 7618 7619 7620 7621 7622 7623 7624 7625 7626 7627 7628 7629 7630 7631 7632 7633 7634 7635 7636 7637 7638 7639 7640 7641 7642 7643 7644 7645 7646 7647 7648 7649 7650 7651 7652 7653 7654 7655 7656 7657 7658 7659 7660 7661 7662 7663 7664 7665 7666 7667 7668 7669 7670 7671 7672 7673 7674 7675 7676 7677 7678 7679 7680 7681 7682 7683 7684 7685 7686 7687 7688 7689 7690 7691 7692 7693 7694 7695 7696 7697 7698 7699 7700 7701 7702 7703 7704 7705 7706 7707 7708 7709 7710 7711 7712 7713 7714 7715 7716 7717 7718 7719 7720 7721 7722 7723 7724 7725 7726 7727 7728 7729 7730 7731 7732 7733 7734 7735 7736 7737 7738 7739 7740 7741 7742 7743 7744 7745 7746 7747 7748 7749 7750 7751 7752 7753 7754 7755 7756 7757 7758 7759 7760 7761 7762 7763 7764 7765 7766 7767 7768 7769 7770 7771 7772 7773 7774 7775 7776 7777 7778 7779 7780 7781 7782 7783 7784 7785 7786 7787 7788 7789 7790 7791 7792 7793 7794 7795 7796 7797 7798 7799 7800 7801 7802 7803 7804 7805 7806 7807 7808 7809 7810 7811 7812 7813 7814 7815 7816 7817 7818 7819 7820 7821 7822 7823 7824 7825 7826 7827 7828 7829 7830 7831 7832 7833 7834 7835 7836 7837 7838 7839 7840 7841 7842 7843 7844 7845 7846 7847 7848 7849 7850 7851 7852 7853 7854 7855 7856 7857 7858 7859 7860 7861 7862 7863 7864 7865 7866 7867 7868 7869 7870 7871 7872 7873 7874 7875 7876 7877 7878 7879 7880 7881 7882 7883 7884 7885 7886 7887 7888 7889 7890 7891 7892 7893 7894 7895 7896 7897 7898 7899 7900 7901 7902 7903 7904 7905 7906 7907 7908 7909 7910 7911 7912 7913 7914 7915 7916 7917 7918 7919 7920 7921 7922 7923 7924 7925 7926 7927 7928 7929 7930 7931 7932 7933 7934 7935 7936 7937 7938 7939 7940 7941 7942 7943 7944 7945 7946 7947 7948 7949 7950 7951 7952 7953 7954 7955 7956 7957 7958 7959 7960 7961 7962 7963 7964 7965 7966 7967 7968 7969 7970 7971 7972 7973 7974 7975 7976 7977 7978 7979 7980 7981 7982 7983 7984 7985 7986 7987 7988 7989 7990 7991 7992 7993 7994 7995 7996 7997 7998 7999 8000 8001 8002 8003 8004 8005 8006 8007 8008 8009 8010 8011 8012 8013 8014 8015 8016 8017 8018 8019 8020 8021 8022 8023 8024 8025 8026 8027 8028 8029 8030 8031 8032 8033 8034 8035 8036 8037 8038 8039 8040 8041 8042 8043 8044 8045 8046 8047 8048 8049 8050 8051 8052 8053 8054 8055 8056 8057 8058 8059 8060 8061 8062 8063 8064 8065 8066 8067 8068 8069 8070 8071 8072 8073 8074 8075 8076 8077 8078 8079 8080 8081 8082 8083 8084 8085 8086 8087 8088 8089 8090 8091 8092 8093 8094 8095 8096 8097 8098 8099 8100 8101 8102 8103 8104 8105 8106 8107 8108 8109 8110 8111 8112 8113 8114 8115 8116 8117 8118 8119 8120 8121 8122 8123 8124 8125 8126 8127 8128 8129 8130 8131 8132 8133 8134 8135 8136 8137 8138 8139 8140 8141 8142 8143 8144 8145 8146 8147 8148 8149 8150 8151 8152 8153 8154 8155 8156 8157 8158 8159 8160 8161 8162 8163 8164 8165 8166 8167 8168 8169 8170 8171 8172 8173 8174 8175 8176 8177 8178 8179 8180 8181 8182 8183 8184 8185 8186 8187 8188 8189 8190 8191 8192 8193 8194 8195 8196 8197 8198 8199 8200 8201 8202 8203 8204 8205 8206 8207 8208 8209 8210 8211 8212 8213 8214 8215 8216 8217 8218 8219 8220 8221 8222 8223 8224 8225 8226 8227 8228 8229 8230 8231 8232 8233 8234 8235 8236 8237 8238 8239 8240 8241 8242 8243 8244 8245 8246 8247 8248 8249 8250 8251 8252 8253 8254 8255 8256 8257 8258 8259 8260 8261 8262 8263 8264 8265 8266 8267 8268 8269 8270 8271 8272 8273 8274 8275 8276 8277 8278 8279 8280 8281 8282 8283 8284 8285 8286 8287 8288 8289 8290 8291 8292 8293 8294 8295 8296 8297 8298 8299 8300 8301 8302 8303 8304 8305 8306 8307 8308 8309 8310 8311 8312 8313 8314 8315 8316 8317 8318 8319 8320 8321 8322 8323 8324 8325 8326 8327 8328 8329 8330 8331 8332 8333 8334 8335 8336 8337 8338 8339 8340 8341 8342 8343 8344 8345 8346 8347 8348 8349 8350 8351 8352 8353 8354 8355 8356 8357 8358 8359 8360 8361 8362 8363 8364 8365 8366 8367 8368 8369 8370 8371 8372 8373 8374 8375 8376 8377 8378 8379 8380 8381 8382 8383 8384 8385 8386 8387 8388 8389 8390 8391 8392 8393 8394 8395 8396 8397 8398 8399 8400 8401 8402 8403 8404 8405 8406 8407 8408 8409 8410 8411 8412 8413 8414 8415 8416 8417 8418 8419 8420 8421 8422 8423 8424 8425 8426 8427 8428 8429 8430 8431 8432 8433 8434 8435 8436 8437 8438 8439 8440 8441 8442 8443 8444 8445 8446 8447 8448 8449 8450 8451 8452 8453 8454 8455 8456 8457 8458 8459 8460 8461 8462 8463 8464 8465 8466 8467 8468 8469 8470 8471 8472 8473 8474 8475 8476 8477 8478 8479 8480 8481 8482 8483 8484 8485 8486 8487 8488 8489 8490 8491 8492 8493 8494 8495 8496 8497 8498 8499 8500 8501 8502 8503 8504 8505 8506 8507 8508 8509 8510 8511 8512 8513 8514 8515 8516 8517 8518 8519 8520 8521 8522 8523 8524 8525 8526 8527 8528 8529 8530 8531 8532 8533 8534 8535 8536 8537 8538 8539 8540 8541 8542 8543 8544 8545 8546 8547 8548 8549 8550 8551 8552 8553 8554 8555 8556 8557 8558 8559 8560 8561 8562 8563 8564 8565 8566 8567 8568 8569 8570 8571 8572 8573 8574 8575 8576 8577 8578 8579 8580 8581 8582 8583 8584 8585 8586 8587 8588 8589 8590 8591 8592 8593 8594 8595 8596 8597 8598 8599 8600 8601 8602 8603 8604 8605 8606 8607 8608 8609 8610 8611 8612 8613 8614 8615 8616 8617 8618 8619 8620 8621 8622 8623 8624 8625 8626 8627 8628 8629 8630 8631 8632 8633 8634 8635 8636 8637 8638 8639 8640 8641 8642 8643 8644 8645 8646 8647 8648 8649 8650 8651 8652 8653 8654 8655 8656 8657 8658 8659 8660 8661 8662 8663 8664 8665 8666 8667 8668 8669 8670 8671 8672 8673 8674 8675 8676 8677 8678 8679 8680 8681 8682 8683 8684 8685 8686 8687 8688 8689 8690 8691 8692 8693 8694 8695 8696 8697 8698 8699 8700 8701 8702 8703 8704 8705 8706 8707 8708 8709 8710 8711 8712 8713 8714 8715 8716 8717 8718 8719 8720 8721 8722 8723 8724 8725 8726 8727 8728 8729 8730 8731 8732 8733 8734 8735 8736 8737 8738 8739 8740 8741 8742 8743 8744 8745 8746 8747 8748 8749 8750 8751 8752 8753 8754 8755 8756 8757 8758 8759 8760 8761 8762 8763 8764 8765 8766 8767 8768 8769 8770 8771 8772 8773 8774 8775 8776 8777 8778 8779 8780 8781 8782 8783 8784 8785 8786 8787 8788 8789 8790 8791 8792 8793 8794 8795 8796 8797 8798 8799 8800 8801 8802 8803 8804 8805 8806 8807 8808 8809 8810 8811 8812 8813 8814 8815 8816 8817 8818 8819 8820 8821 8822 8823 8824 8825 8826 8827 8828 8829 8830 8831 8832 8833 8834 8835 8836 8837 8838 8839 8840 8841 8842 8843 8844 8845 8846 8847 8848 8849 8850 8851 8852 8853 8854 8855 8856 8857 8858 8859 8860 8861 8862 8863 8864 8865 8866 8867 8868 8869 8870 8871 8872 8873 8874 8875 8876 8877 8878 8879 8880 8881 8882 8883 8884 8885 8886 8887 8888 8889 8890 8891 8892 8893 8894 8895 8896 8897 8898 8899 8900 8901 8902 8903 8904 8905 8906 8907 8908 8909 8910 8911 8912 8913 8914 8915 8916 8917 8918 8919 8920 8921 8922 8923 8924 8925 8926 8927 8928 8929 8930 8931 8932 8933 8934 8935 8936 8937 8938 8939 8940 8941 8942 8943 8944 8945 8946 8947 8948 8949 8950 8951 8952 8953 8954 8955 8956 8957 8958 8959 8960 8961 8962 8963 8964 8965 8966 8967 8968 8969 8970 8971 8972 8973 8974 8975 8976 8977 8978 8979 8980 8981 8982 8983 8984 8985 8986 8987 8988 8989 8990 8991 8992 8993 8994 8995 8996 8997 8998 8999 9000 9001 9002 9003 9004 9005 9006 9007 9008 9009 9010 9011 9012 9013 9014 9015 9016 9017 9018 9019 9020 9021 9022 9023 9024 9025 9026 9027 9028 9029 9030 9031 9032 9033 9034 9035 9036 9037 9038 9039 9040 9041 9042 9043 9044 9045 9046 9047 9048 9049 9050 9051 9052 9053 9054 9055 9056 9057 9058 9059 9060 9061 9062 9063 9064 9065 9066 9067 9068 9069 9070 9071 9072 9073 9074 9075 9076 9077 9078 9079 9080 9081 9082 9083 9084 9085 9086 9087 9088 9089 9090 9091 9092 9093 9094 9095 9096 9097 9098 9099 9100 9101 9102 9103 9104 9105 9106 9107 9108 9109 9110 9111 9112 9113 9114 9115 9116 9117 9118 9119 9120 9121 9122 9123 9124 9125 9126 9127 9128 9129 9130 9131 9132 9133 9134 9135 9136 9137 9138 9139 9140 9141 9142 9143 9144 9145 9146 9147 9148 9149 9150 9151 9152 9153 9154 9155 9156 9157 9158 9159 9160 9161 9162 9163 9164 9165 9166 9167 9168 9169 9170 9171 9172 9173 9174 9175 9176 9177 9178 9179 9180 9181 9182 9183 9184 9185 9186 9187 9188 9189 9190 9191 9192 9193 9194 9195 9196 9197 9198 9199 9200 9201 9202 9203 9204 9205 9206 9207 9208 9209 9210 9211 9212 9213 9214 9215 9216 9217 9218 9219 9220 9221 9222 9223 9224 9225 9226 9227 9228 9229 9230 9231 9232 9233 9234 9235 9236 9237 9238 9239 9240 9241 9242 9243 9244 9245 9246 9247 9248 9249 9250 9251 9252 9253 9254 9255 9256 9257 9258 9259 9260 9261 9262 9263 9264 9265 9266 9267 9268 9269 9270 9271 9272 9273 9274 9275 9276 9277 9278 9279 9280 9281 9282 9283 9284 9285 9286 9287 9288 9289 9290 9291 9292 9293 9294 9295 9296 9297 9298 9299 9300 9301 9302 9303 9304 9305 9306 9307 9308 9309 9310 9311 9312 9313 9314 9315 9316 9317 9318 9319 9320 9321 9322 9323 9324 9325 9326 9327 9328 9329 9330 9331 9332 9333 9334 9335 9336 9337 9338 9339 9340 9341 9342 9343 9344 9345 9346 9347 9348 9349 9350 9351 9352 9353 9354 9355 9356 9357 9358 9359 9360 9361 9362 9363 9364 9365 9366 9367 9368 9369 9370 9371 9372 9373 9374 9375 9376 9377 9378 9379 9380 9381 9382 9383 9384 9385 9386 9387 9388 9389 9390 9391 9392 9393 9394 9395 9396 9397 9398 9399 9400 9401 9402 9403 9404 9405 9406 9407 9408 9409 9410 9411 9412 9413 9414 9415 9416 9417 9418 9419 9420 9421 9422 9423 9424 9425 9426 9427 9428 9429 9430 9431 9432 9433 9434 9435 9436 9437 9438 9439 9440 9441 9442 9443 9444 9445 9446 9447 9448 9449 |
# File 'lib/code/object/time.rb', line 7313 def self.call(**args) code_operator = args.fetch(:operator, nil).to_code code_arguments = args.fetch(:arguments, []).to_code code_value = code_arguments.code_first code_second = code_arguments.code_second case code_operator.to_s when "zone=" sig(args) { String } code_zone_assign(code_value) when "zone" sig(args) ::Time.zone ||= DEFAULT_ZONE code_zone when "after?" sig(args) { (Date | Time).maybe } code_after?(code_value) when "before?" sig(args) { (Date | Time).maybe } code_before?(code_value) when "now" sig(args) code_now when "tomorrow" sig(args) code_tomorrow when "yesterday" sig(args) code_yesterday when "past?" sig(args) code_past? when "future?" sig(args) code_future? when "year" sig(args) code_year when "years" sig(args) code_years when "month" sig(args) code_month when "months" sig(args) code_months when "week" sig(args) code_week when "weeks" sig(args) code_weeks when "week_day" sig(args) code_week_day when "week_days" sig(args) code_week_days when "day" sig(args) code_day when "days" sig(args) code_days when "hour" sig(args) code_hour when "hours" sig(args) code_hours when "minute" sig(args) code_minute when "minutes" sig(args) code_minutes when "second" sig(args) code_second when "seconds" sig(args) code_seconds when "monday?" sig(args) code_monday? when "tuesday?" sig(args) code_tuesday? when "wednesday?" sig(args) code_wednesday? when "thursday?" sig(args) code_thursday? when "friday?" sig(args) code_friday? when "saturday?" sig(args) code_saturday? when "sunday?" sig(args) code_sunday? when "format" sig(args) { [String.maybe, { locale: String.maybe }] } if code_value.is_a?(Dictionary) code_format(nil, locale: code_value.code_get(:locale)) elsif code_second.something? code_format(code_value, locale: code_second.code_get(:locale)) else code_format(code_value) end when "iso8601" sig(args) code_iso8601 when "iso" sig(args) code_iso when "rfc2822" sig(args) code_rfc2822 when "rfc3339" sig(args) code_rfc3339 when "rfc" sig(args) code_rfc when "to_list" sig(args) code_to_list when "to_integer" sig(args) code_to_integer when "to_decimal" sig(args) code_to_decimal when "africa_abidjan?" sig(args) code_africa_abidjan? when "africa_accra?" sig(args) code_africa_accra? when "africa_addis_ababa?" sig(args) code_africa_addis_ababa? when "africa_algiers?" sig(args) code_africa_algiers? when "africa_asmara?" sig(args) code_africa_asmara? when "africa_asmera?" sig(args) code_africa_asmera? when "africa_bamako?" sig(args) code_africa_bamako? when "africa_bangui?" sig(args) code_africa_bangui? when "africa_banjul?" sig(args) code_africa_banjul? when "africa_bissau?" sig(args) code_africa_bissau? when "africa_blantyre?" sig(args) code_africa_blantyre? when "africa_brazzaville?" sig(args) code_africa_brazzaville? when "africa_bujumbura?" sig(args) code_africa_bujumbura? when "africa_cairo?" sig(args) code_africa_cairo? when "africa_casablanca?" sig(args) code_africa_casablanca? when "africa_ceuta?" sig(args) code_africa_ceuta? when "africa_conakry?" sig(args) code_africa_conakry? when "africa_dakar?" sig(args) code_africa_dakar? when "africa_dar_es_salaam?" sig(args) code_africa_dar_es_salaam? when "africa_djibouti?" sig(args) code_africa_djibouti? when "africa_douala?" sig(args) code_africa_douala? when "africa_el_aaiun?" sig(args) code_africa_el_aaiun? when "africa_freetown?" sig(args) code_africa_freetown? when "africa_gaborone?" sig(args) code_africa_gaborone? when "africa_harare?" sig(args) code_africa_harare? when "africa_johannesburg?" sig(args) code_africa_johannesburg? when "africa_juba?" sig(args) code_africa_juba? when "africa_kampala?" sig(args) code_africa_kampala? when "africa_khartoum?" sig(args) code_africa_khartoum? when "africa_kigali?" sig(args) code_africa_kigali? when "africa_kinshasa?" sig(args) code_africa_kinshasa? when "africa_lagos?" sig(args) code_africa_lagos? when "africa_libreville?" sig(args) code_africa_libreville? when "africa_lome?" sig(args) code_africa_lome? when "africa_luanda?" sig(args) code_africa_luanda? when "africa_lubumbashi?" sig(args) code_africa_lubumbashi? when "africa_lusaka?" sig(args) code_africa_lusaka? when "africa_malabo?" sig(args) code_africa_malabo? when "africa_maputo?" sig(args) code_africa_maputo? when "africa_maseru?" sig(args) code_africa_maseru? when "africa_mbabane?" sig(args) code_africa_mbabane? when "africa_mogadishu?" sig(args) code_africa_mogadishu? when "africa_monrovia?" sig(args) code_africa_monrovia? when "africa_nairobi?" sig(args) code_africa_nairobi? when "africa_ndjamena?" sig(args) code_africa_ndjamena? when "africa_niamey?" sig(args) code_africa_niamey? when "africa_nouakchott?" sig(args) code_africa_nouakchott? when "africa_ouagadougou?" sig(args) code_africa_ouagadougou? when "africa_porto_minus_novo?" sig(args) code_africa_porto_minus_novo? when "africa_sao_tome?" sig(args) code_africa_sao_tome? when "africa_timbuktu?" sig(args) code_africa_timbuktu? when "africa_tripoli?" sig(args) code_africa_tripoli? when "africa_tunis?" sig(args) code_africa_tunis? when "africa_windhoek?" sig(args) code_africa_windhoek? when "america_adak?" sig(args) code_america_adak? when "america_anchorage?" sig(args) code_america_anchorage? when "america_anguilla?" sig(args) code_america_anguilla? when "america_antigua?" sig(args) code_america_antigua? when "america_araguaina?" sig(args) code_america_araguaina? when "america_argentina_buenos_aires?" sig(args) code_america_argentina_buenos_aires? when "america_argentina_catamarca?" sig(args) code_america_argentina_catamarca? when "america_argentina_comodrivadavia?" sig(args) code_america_argentina_comodrivadavia? when "america_argentina_cordoba?" sig(args) code_america_argentina_cordoba? when "america_argentina_jujuy?" sig(args) code_america_argentina_jujuy? when "america_argentina_la_rioja?" sig(args) code_america_argentina_la_rioja? when "america_argentina_mendoza?" sig(args) code_america_argentina_mendoza? when "america_argentina_rio_gallegos?" sig(args) code_america_argentina_rio_gallegos? when "america_argentina_salta?" sig(args) code_america_argentina_salta? when "america_argentina_san_juan?" sig(args) code_america_argentina_san_juan? when "america_argentina_san_luis?" sig(args) code_america_argentina_san_luis? when "america_argentina_tucuman?" sig(args) code_america_argentina_tucuman? when "america_argentina_ushuaia?" sig(args) code_america_argentina_ushuaia? when "america_aruba?" sig(args) code_america_aruba? when "america_asuncion?" sig(args) code_america_asuncion? when "america_atikokan?" sig(args) code_america_atikokan? when "america_atka?" sig(args) code_america_atka? when "america_bahia?" sig(args) code_america_bahia? when "america_bahia_banderas?" sig(args) code_america_bahia_banderas? when "america_barbados?" sig(args) when "america_belem?" sig(args) code_america_belem? when "america_belize?" sig(args) code_america_belize? when "america_blanc_minus_sablon?" sig(args) code_america_blanc_minus_sablon? when "america_boa_vista?" sig(args) code_america_boa_vista? when "america_bogota?" sig(args) code_america_bogota? when "america_boise?" sig(args) code_america_boise? when "america_buenos_aires?" sig(args) code_america_buenos_aires? when "america_cambridge_bay?" sig(args) code_america_cambridge_bay? when "america_campo_grande?" sig(args) code_america_campo_grande? when "america_cancun?" sig(args) code_america_cancun? when "america_caracas?" sig(args) code_america_caracas? when "america_catamarca?" sig(args) code_america_catamarca? when "america_cayenne?" sig(args) code_america_cayenne? when "america_cayman?" sig(args) code_america_cayman? when "america_chicago?" sig(args) code_america_chicago? when "america_chihuahua?" sig(args) code_america_chihuahua? when "america_ciudad_juarez?" sig(args) code_america_ciudad_juarez? when "america_coral_harbour?" sig(args) code_america_coral_harbour? when "america_cordoba?" sig(args) code_america_cordoba? when "america_costa_rica?" sig(args) code_america_costa_rica? when "america_coyhaique?" sig(args) code_america_coyhaique? when "america_creston?" sig(args) code_america_creston? when "america_cuiaba?" sig(args) code_america_cuiaba? when "america_curacao?" sig(args) code_america_curacao? when "america_danmarkshavn?" sig(args) code_america_danmarkshavn? when "america_dawson?" sig(args) code_america_dawson? when "america_dawson_creek?" sig(args) code_america_dawson_creek? when "america_denver?" sig(args) code_america_denver? when "america_detroit?" sig(args) code_america_detroit? when "america_dominica?" sig(args) code_america_dominica? when "america_edmonton?" sig(args) code_america_edmonton? when "america_eirunepe?" sig(args) code_america_eirunepe? when "america_el_salvador?" sig(args) code_america_el_salvador? when "america_ensenada?" sig(args) code_america_ensenada? when "america_fort_nelson?" sig(args) code_america_fort_nelson? when "america_fort_wayne?" sig(args) code_america_fort_wayne? when "america_fortaleza?" sig(args) code_america_fortaleza? when "america_glace_bay?" sig(args) code_america_glace_bay? when "america_godthab?" sig(args) code_america_godthab? when "america_goose_bay?" sig(args) code_america_goose_bay? when "america_grand_turk?" sig(args) code_america_grand_turk? when "america_grenada?" sig(args) code_america_grenada? when "america_guadeloupe?" sig(args) code_america_guadeloupe? when "america_guatemala?" sig(args) code_america_guatemala? when "america_guayaquil?" sig(args) code_america_guayaquil? when "america_guyana?" sig(args) code_america_guyana? when "america_halifax?" sig(args) code_america_halifax? when "america_havana?" sig(args) code_america_havana? when "america_hermosillo?" sig(args) code_america_hermosillo? when "america_indiana_indianapolis?" sig(args) code_america_indiana_indianapolis? when "america_indiana_knox?" sig(args) code_america_indiana_knox? when "america_indiana_marengo?" sig(args) code_america_indiana_marengo? when "america_indiana_petersburg?" sig(args) code_america_indiana_petersburg? when "america_indiana_tell_city?" sig(args) code_america_indiana_tell_city? when "america_indiana_vevay?" sig(args) code_america_indiana_vevay? when "america_indiana_vincennes?" sig(args) code_america_indiana_vincennes? when "america_indiana_winamac?" sig(args) code_america_indiana_winamac? when "america_indianapolis?" sig(args) code_america_indianapolis? when "america_inuvik?" sig(args) code_america_inuvik? when "america_iqaluit?" sig(args) code_america_iqaluit? when "america_jamaica?" sig(args) code_america_jamaica? when "america_jujuy?" sig(args) code_america_jujuy? when "america_juneau?" sig(args) code_america_juneau? when "america_kentucky_louisville?" sig(args) code_america_kentucky_louisville? when "america_kentucky_monticello?" sig(args) code_america_kentucky_monticello? when "america_knox_in?" sig(args) code_america_knox_in? when "america_kralendijk?" sig(args) code_america_kralendijk? when "america_la_paz?" sig(args) code_america_la_paz? when "america_lima?" sig(args) code_america_lima? when "america_los_angeles?" sig(args) code_america_los_angeles? when "america_louisville?" sig(args) code_america_louisville? when "america_lower_princes?" sig(args) code_america_lower_princes? when "america_maceio?" sig(args) code_america_maceio? when "america_managua?" sig(args) code_america_managua? when "america_manaus?" sig(args) code_america_manaus? when "america_marigot?" sig(args) code_america_marigot? when "america_martinique?" sig(args) code_america_martinique? when "america_matamoros?" sig(args) code_america_matamoros? when "america_mazatlan?" sig(args) code_america_mazatlan? when "america_mendoza?" sig(args) code_america_mendoza? when "america_menominee?" sig(args) code_america_menominee? when "america_merida?" sig(args) code_america_merida? when "america_metlakatla?" sig(args) code_america_metlakatla? when "america_mexico_city?" sig(args) code_america_mexico_city? when "america_miquelon?" sig(args) code_america_miquelon? when "america_moncton?" sig(args) code_america_moncton? when "america_monterrey?" sig(args) code_america_monterrey? when "america_montevideo?" sig(args) code_america_montevideo? when "america_montreal?" sig(args) code_america_montreal? when "america_montserrat?" sig(args) code_america_montserrat? when "america_nassau?" sig(args) code_america_nassau? when "america_new_york?" sig(args) code_america_new_york? when "america_nipigon?" sig(args) code_america_nipigon? when "america_nome?" sig(args) code_america_nome? when "america_noronha?" sig(args) code_america_noronha? when "america_north_dakota_beulah?" sig(args) code_america_north_dakota_beulah? when "america_north_dakota_center?" sig(args) code_america_north_dakota_center? when "america_north_dakota_new_salem?" sig(args) code_america_north_dakota_new_salem? when "america_nuuk?" sig(args) code_america_nuuk? when "america_ojinaga?" sig(args) code_america_ojinaga? when "america_panama?" sig(args) code_america_panama? when "america_pangnirtung?" sig(args) code_america_pangnirtung? when "america_paramaribo?" sig(args) code_america_paramaribo? when "america_phoenix?" sig(args) code_america_phoenix? when "america_port_minus_au_minus_prince?" sig(args) code_america_port_minus_au_minus_prince? when "america_port_of_spain?" sig(args) code_america_port_of_spain? when "america_porto_acre?" sig(args) code_america_porto_acre? when "america_porto_velho?" sig(args) code_america_porto_velho? when "america_puerto_rico?" sig(args) code_america_puerto_rico? when "america_punta_arenas?" sig(args) code_america_punta_arenas? when "america_rainy_river?" sig(args) code_america_rainy_river? when "america_rankin_inlet?" sig(args) code_america_rankin_inlet? when "america_recife?" sig(args) code_america_recife? when "america_regina?" sig(args) code_america_regina? when "america_resolute?" sig(args) code_america_resolute? when "america_rio_branco?" sig(args) code_america_rio_branco? when "america_rosario?" sig(args) code_america_rosario? when "america_santa_isabel?" sig(args) code_america_santa_isabel? when "america_santarem?" sig(args) code_america_santarem? when "america_santiago?" sig(args) code_america_santiago? when "america_santo_domingo?" sig(args) code_america_santo_domingo? when "america_sao_paulo?" sig(args) code_america_sao_paulo? when "america_scoresbysund?" sig(args) code_america_scoresbysund? when "america_shiprock?" sig(args) code_america_shiprock? when "america_sitka?" sig(args) code_america_sitka? when "america_st_barthelemy?" sig(args) when "america_st_johns?" sig(args) code_america_st_johns? when "america_st_kitts?" sig(args) code_america_st_kitts? when "america_st_lucia?" sig(args) code_america_st_lucia? when "america_st_thomas?" sig(args) code_america_st_thomas? when "america_st_vincent?" sig(args) code_america_st_vincent? when "america_swift_current?" sig(args) code_america_swift_current? when "america_tegucigalpa?" sig(args) code_america_tegucigalpa? when "america_thule?" sig(args) code_america_thule? when "america_thunder_bay?" sig(args) code_america_thunder_bay? when "america_tijuana?" sig(args) code_america_tijuana? when "america_toronto?" sig(args) code_america_toronto? when "america_tortola?" sig(args) code_america_tortola? when "america_vancouver?" sig(args) code_america_vancouver? when "america_virgin?" sig(args) code_america_virgin? when "america_whitehorse?" sig(args) code_america_whitehorse? when "america_winnipeg?" sig(args) code_america_winnipeg? when "america_yakutat?" sig(args) code_america_yakutat? when "america_yellowknife?" sig(args) code_america_yellowknife? when "antarctica_casey?" sig(args) code_antarctica_casey? when "antarctica_davis?" sig(args) code_antarctica_davis? when "antarctica_dumontdurville?" sig(args) code_antarctica_dumontdurville? when "antarctica_macquarie?" sig(args) code_antarctica_macquarie? when "antarctica_mawson?" sig(args) code_antarctica_mawson? when "antarctica_mcmurdo?" sig(args) code_antarctica_mcmurdo? when "antarctica_palmer?" sig(args) code_antarctica_palmer? when "antarctica_rothera?" sig(args) code_antarctica_rothera? when "antarctica_south_pole?" sig(args) code_antarctica_south_pole? when "antarctica_syowa?" sig(args) code_antarctica_syowa? when "antarctica_troll?" sig(args) code_antarctica_troll? when "antarctica_vostok?" sig(args) code_antarctica_vostok? when "arctic_longyearbyen?" sig(args) code_arctic_longyearbyen? when "asia_aden?" sig(args) code_asia_aden? when "asia_almaty?" sig(args) code_asia_almaty? when "asia_amman?" sig(args) code_asia_amman? when "asia_anadyr?" sig(args) code_asia_anadyr? when "asia_aqtau?" sig(args) code_asia_aqtau? when "asia_aqtobe?" sig(args) code_asia_aqtobe? when "asia_ashgabat?" sig(args) code_asia_ashgabat? when "asia_ashkhabad?" sig(args) code_asia_ashkhabad? when "asia_atyrau?" sig(args) code_asia_atyrau? when "asia_baghdad?" sig(args) code_asia_baghdad? when "asia_bahrain?" sig(args) code_asia_bahrain? when "asia_baku?" sig(args) code_asia_baku? when "asia_bangkok?" sig(args) code_asia_bangkok? when "asia_barnaul?" sig(args) when "asia_beirut?" sig(args) code_asia_beirut? when "asia_bishkek?" sig(args) code_asia_bishkek? when "asia_brunei?" sig(args) code_asia_brunei? when "asia_calcutta?" sig(args) code_asia_calcutta? when "asia_chita?" sig(args) code_asia_chita? when "asia_choibalsan?" sig(args) code_asia_choibalsan? when "asia_chongqing?" sig(args) code_asia_chongqing? when "asia_chungking?" sig(args) code_asia_chungking? when "asia_colombo?" sig(args) code_asia_colombo? when "asia_dacca?" sig(args) code_asia_dacca? when "asia_damascus?" sig(args) code_asia_damascus? when "asia_dhaka?" sig(args) code_asia_dhaka? when "asia_dili?" sig(args) code_asia_dili? when "asia_dubai?" sig(args) code_asia_dubai? when "asia_dushanbe?" sig(args) code_asia_dushanbe? when "asia_famagusta?" sig(args) code_asia_famagusta? when "asia_gaza?" sig(args) code_asia_gaza? when "asia_harbin?" sig(args) code_asia_harbin? when "asia_hebron?" sig(args) code_asia_hebron? when "asia_ho_chi_minh?" sig(args) code_asia_ho_chi_minh? when "asia_hong_kong?" sig(args) code_asia_hong_kong? when "asia_hovd?" sig(args) code_asia_hovd? when "asia_irkutsk?" sig(args) code_asia_irkutsk? when "asia_istanbul?" sig(args) code_asia_istanbul? when "asia_jakarta?" sig(args) code_asia_jakarta? when "asia_jayapura?" sig(args) code_asia_jayapura? when "asia_jerusalem?" sig(args) code_asia_jerusalem? when "asia_kabul?" sig(args) code_asia_kabul? when "asia_kamchatka?" sig(args) code_asia_kamchatka? when "asia_karachi?" sig(args) code_asia_karachi? when "asia_kashgar?" sig(args) code_asia_kashgar? when "asia_kathmandu?" sig(args) code_asia_kathmandu? when "asia_katmandu?" sig(args) code_asia_katmandu? when "asia_khandyga?" sig(args) code_asia_khandyga? when "asia_kolkata?" sig(args) code_asia_kolkata? when "asia_krasnoyarsk?" sig(args) code_asia_krasnoyarsk? when "asia_kuala_lumpur?" sig(args) code_asia_kuala_lumpur? when "asia_kuching?" sig(args) code_asia_kuching? when "asia_kuwait?" sig(args) code_asia_kuwait? when "asia_macao?" sig(args) code_asia_macao? when "asia_macau?" sig(args) code_asia_macau? when "asia_magadan?" sig(args) code_asia_magadan? when "asia_makassar?" sig(args) code_asia_makassar? when "asia_manila?" sig(args) code_asia_manila? when "asia_muscat?" sig(args) code_asia_muscat? when "asia_nicosia?" sig(args) code_asia_nicosia? when "asia_novokuznetsk?" sig(args) code_asia_novokuznetsk? when "asia_novosibirsk?" sig(args) code_asia_novosibirsk? when "asia_omsk?" sig(args) code_asia_omsk? when "asia_oral?" sig(args) code_asia_oral? when "asia_phnom_penh?" sig(args) code_asia_phnom_penh? when "asia_pontianak?" sig(args) code_asia_pontianak? when "asia_pyongyang?" sig(args) code_asia_pyongyang? when "asia_qatar?" sig(args) code_asia_qatar? when "asia_qostanay?" sig(args) code_asia_qostanay? when "asia_qyzylorda?" sig(args) code_asia_qyzylorda? when "asia_rangoon?" sig(args) code_asia_rangoon? when "asia_riyadh?" sig(args) code_asia_riyadh? when "asia_saigon?" sig(args) code_asia_saigon? when "asia_sakhalin?" sig(args) code_asia_sakhalin? when "asia_samarkand?" sig(args) code_asia_samarkand? when "asia_seoul?" sig(args) code_asia_seoul? when "asia_shanghai?" sig(args) code_asia_shanghai? when "asia_singapore?" sig(args) code_asia_singapore? when "asia_srednekolymsk?" sig(args) code_asia_srednekolymsk? when "asia_taipei?" sig(args) code_asia_taipei? when "asia_tashkent?" sig(args) code_asia_tashkent? when "asia_tbilisi?" sig(args) code_asia_tbilisi? when "asia_tehran?" sig(args) code_asia_tehran? when "asia_tel_aviv?" sig(args) code_asia_tel_aviv? when "asia_thimbu?" sig(args) code_asia_thimbu? when "asia_thimphu?" sig(args) code_asia_thimphu? when "asia_tokyo?" sig(args) code_asia_tokyo? when "asia_tomsk?" sig(args) code_asia_tomsk? when "asia_ujung_pandang?" sig(args) code_asia_ujung_pandang? when "asia_ulaanbaatar?" sig(args) code_asia_ulaanbaatar? when "asia_ulan_bator?" sig(args) code_asia_ulan_bator? when "asia_urumqi?" sig(args) code_asia_urumqi? when "asia_ust_minus_nera?" sig(args) code_asia_ust_minus_nera? when "asia_vientiane?" sig(args) code_asia_vientiane? when "asia_vladivostok?" sig(args) code_asia_vladivostok? when "asia_yakutsk?" sig(args) code_asia_yakutsk? when "asia_yangon?" sig(args) code_asia_yangon? when "asia_yekaterinburg?" sig(args) code_asia_yekaterinburg? when "asia_yerevan?" sig(args) code_asia_yerevan? when "atlantic_azores?" sig(args) code_atlantic_azores? when "atlantic_bermuda?" sig(args) code_atlantic_bermuda? when "atlantic_canary?" sig(args) code_atlantic_canary? when "atlantic_cape_verde?" sig(args) code_atlantic_cape_verde? when "atlantic_faeroe?" sig(args) code_atlantic_faeroe? when "atlantic_faroe?" sig(args) code_atlantic_faroe? when "atlantic_jan_mayen?" sig(args) code_atlantic_jan_mayen? when "atlantic_madeira?" sig(args) code_atlantic_madeira? when "atlantic_reykjavik?" sig(args) code_atlantic_reykjavik? when "atlantic_south_georgia?" sig(args) code_atlantic_south_georgia? when "atlantic_st_helena?" sig(args) code_atlantic_st_helena? when "atlantic_stanley?" sig(args) code_atlantic_stanley? when "australia_act?" sig(args) code_australia_act? when "australia_adelaide?" sig(args) code_australia_adelaide? when "australia_brisbane?" sig(args) code_australia_brisbane? when "australia_broken_hill?" sig(args) code_australia_broken_hill? when "australia_canberra?" sig(args) code_australia_canberra? when "australia_currie?" sig(args) code_australia_currie? when "australia_darwin?" sig(args) code_australia_darwin? when "australia_eucla?" sig(args) code_australia_eucla? when "australia_hobart?" sig(args) when "australia_lhi?" sig(args) code_australia_lhi? when "australia_lindeman?" sig(args) code_australia_lindeman? when "australia_lord_howe?" sig(args) code_australia_lord_howe? when "australia_melbourne?" sig(args) code_australia_melbourne? when "australia_nsw?" sig(args) code_australia_nsw? when "australia_north?" sig(args) code_australia_north? when "australia_perth?" sig(args) code_australia_perth? when "australia_queensland?" sig(args) code_australia_queensland? when "australia_south?" sig(args) code_australia_south? when "australia_sydney?" sig(args) code_australia_sydney? when "australia_tasmania?" sig(args) code_australia_tasmania? when "australia_victoria?" sig(args) code_australia_victoria? when "australia_west?" sig(args) code_australia_west? when "australia_yancowinna?" sig(args) code_australia_yancowinna? when "brazil_acre?" sig(args) code_brazil_acre? when "brazil_denoronha?" sig(args) code_brazil_denoronha? when "brazil_east?" sig(args) code_brazil_east? when "brazil_west?" sig(args) code_brazil_west? when "cet?" sig(args) code_cet? when "cst6cdt?" sig(args) code_cst6cdt? when "canada_atlantic?" sig(args) code_canada_atlantic? when "canada_central?" sig(args) code_canada_central? when "canada_eastern?" sig(args) code_canada_eastern? when "canada_mountain?" sig(args) code_canada_mountain? when "canada_newfoundland?" sig(args) code_canada_newfoundland? when "canada_pacific?" sig(args) code_canada_pacific? when "canada_saskatchewan?" sig(args) code_canada_saskatchewan? when "canada_yukon?" sig(args) code_canada_yukon? when "chile_continental?" sig(args) code_chile_continental? when "chile_easterisland?" sig(args) code_chile_easterisland? when "cuba?" sig(args) code_cuba? when "eet?" sig(args) code_eet? when "est?" sig(args) code_est? when "est5edt?" sig(args) code_est5edt? when "egypt?" sig(args) code_egypt? when "eire?" sig(args) code_eire? when "etc_gmt?" sig(args) code_etc_gmt? when "etc_gmt_plus_0?" sig(args) code_etc_gmt_plus_0? when "etc_gmt_plus_1?" sig(args) code_etc_gmt_plus_1? when "etc_gmt_plus_10?" sig(args) code_etc_gmt_plus_10? when "etc_gmt_plus_11?" sig(args) code_etc_gmt_plus_11? when "etc_gmt_plus_12?" sig(args) code_etc_gmt_plus_12? when "etc_gmt_plus_2?" sig(args) code_etc_gmt_plus_2? when "etc_gmt_plus_3?" sig(args) code_etc_gmt_plus_3? when "etc_gmt_plus_4?" sig(args) code_etc_gmt_plus_4? when "etc_gmt_plus_5?" sig(args) code_etc_gmt_plus_5? when "etc_gmt_plus_6?" sig(args) code_etc_gmt_plus_6? when "etc_gmt_plus_7?" sig(args) code_etc_gmt_plus_7? when "etc_gmt_plus_8?" sig(args) code_etc_gmt_plus_8? when "etc_gmt_plus_9?" sig(args) code_etc_gmt_plus_9? when "etc_gmt_minus_0?" sig(args) code_etc_gmt_minus_0? when "etc_gmt_minus_1?" sig(args) code_etc_gmt_minus_1? when "etc_gmt_minus_10?" sig(args) code_etc_gmt_minus_10? when "etc_gmt_minus_11?" sig(args) code_etc_gmt_minus_11? when "etc_gmt_minus_12?" sig(args) code_etc_gmt_minus_12? when "etc_gmt_minus_13?" sig(args) code_etc_gmt_minus_13? when "etc_gmt_minus_14?" sig(args) code_etc_gmt_minus_14? when "etc_gmt_minus_2?" sig(args) code_etc_gmt_minus_2? when "etc_gmt_minus_3?" sig(args) code_etc_gmt_minus_3? when "etc_gmt_minus_4?" sig(args) code_etc_gmt_minus_4? when "etc_gmt_minus_5?" sig(args) code_etc_gmt_minus_5? when "etc_gmt_minus_6?" sig(args) code_etc_gmt_minus_6? when "etc_gmt_minus_7?" sig(args) code_etc_gmt_minus_7? when "etc_gmt_minus_8?" sig(args) code_etc_gmt_minus_8? when "etc_gmt_minus_9?" sig(args) code_etc_gmt_minus_9? when "etc_gmt0?" sig(args) code_etc_gmt0? when "etc_greenwich?" sig(args) code_etc_greenwich? when "etc_uct?" sig(args) code_etc_uct? when "etc_utc?" sig(args) code_etc_utc? when "etc_universal?" sig(args) code_etc_universal? when "etc_zulu?" sig(args) code_etc_zulu? when "europe_amsterdam?" sig(args) code_europe_amsterdam? when "europe_andorra?" sig(args) code_europe_andorra? when "europe_astrakhan?" sig(args) code_europe_astrakhan? when "europe_athens?" sig(args) code_europe_athens? when "europe_belfast?" sig(args) code_europe_belfast? when "europe_belgrade?" sig(args) code_europe_belgrade? when "europe_berlin?" sig(args) code_europe_berlin? when "europe_bratislava?" sig(args) code_europe_bratislava? when "europe_brussels?" sig(args) code_europe_brussels? when "europe_bucharest?" sig(args) code_europe_bucharest? when "europe_budapest?" sig(args) code_europe_budapest? when "europe_busingen?" sig(args) code_europe_busingen? when "europe_chisinau?" sig(args) code_europe_chisinau? when "europe_copenhagen?" sig(args) code_europe_copenhagen? when "europe_dublin?" sig(args) code_europe_dublin? when "europe_gibraltar?" sig(args) code_europe_gibraltar? when "europe_guernsey?" sig(args) code_europe_guernsey? when "europe_helsinki?" sig(args) code_europe_helsinki? when "europe_isle_of_man?" sig(args) code_europe_isle_of_man? when "europe_istanbul?" sig(args) code_europe_istanbul? when "europe_jersey?" sig(args) code_europe_jersey? when "europe_kaliningrad?" sig(args) code_europe_kaliningrad? when "europe_kiev?" sig(args) code_europe_kiev? when "europe_kirov?" sig(args) code_europe_kirov? when "europe_kyiv?" sig(args) code_europe_kyiv? when "europe_lisbon?" sig(args) code_europe_lisbon? when "europe_ljubljana?" sig(args) code_europe_ljubljana? when "europe_london?" sig(args) code_europe_london? when "europe_luxembourg?" sig(args) code_europe_luxembourg? when "europe_madrid?" sig(args) code_europe_madrid? when "europe_malta?" sig(args) code_europe_malta? when "europe_mariehamn?" sig(args) code_europe_mariehamn? when "europe_minsk?" sig(args) code_europe_minsk? when "europe_monaco?" sig(args) code_europe_monaco? when "europe_moscow?" sig(args) code_europe_moscow? when "europe_nicosia?" sig(args) code_europe_nicosia? when "europe_oslo?" sig(args) code_europe_oslo? when "europe_paris?" sig(args) code_europe_paris? when "europe_podgorica?" sig(args) code_europe_podgorica? when "europe_prague?" sig(args) code_europe_prague? when "europe_riga?" sig(args) code_europe_riga? when "europe_rome?" sig(args) code_europe_rome? when "europe_samara?" sig(args) code_europe_samara? when "europe_san_marino?" sig(args) code_europe_san_marino? when "europe_sarajevo?" sig(args) code_europe_sarajevo? when "europe_saratov?" sig(args) code_europe_saratov? when "europe_simferopol?" sig(args) code_europe_simferopol? when "europe_skopje?" sig(args) code_europe_skopje? when "europe_sofia?" sig(args) code_europe_sofia? when "europe_stockholm?" sig(args) code_europe_stockholm? when "europe_tallinn?" sig(args) code_europe_tallinn? when "europe_tirane?" sig(args) code_europe_tirane? when "europe_tiraspol?" sig(args) code_europe_tiraspol? when "europe_ulyanovsk?" sig(args) code_europe_ulyanovsk? when "europe_uzhgorod?" sig(args) code_europe_uzhgorod? when "europe_vaduz?" sig(args) code_europe_vaduz? when "europe_vatican?" sig(args) code_europe_vatican? when "europe_vienna?" sig(args) code_europe_vienna? when "europe_vilnius?" sig(args) code_europe_vilnius? when "europe_volgograd?" sig(args) code_europe_volgograd? when "europe_warsaw?" sig(args) code_europe_warsaw? when "europe_zagreb?" sig(args) code_europe_zagreb? when "europe_zaporozhye?" sig(args) code_europe_zaporozhye? when "europe_zurich?" sig(args) code_europe_zurich? when "factory?" sig(args) code_factory? when "gb?" sig(args) code_gb? when "gb_minus_eire?" sig(args) code_gb_minus_eire? when "gmt?" sig(args) code_gmt? when "gmt_plus_0?" sig(args) code_gmt_plus_0? when "gmt_minus_0?" sig(args) code_gmt_minus_0? when "gmt0?" sig(args) code_gmt0? when "greenwich?" sig(args) code_greenwich? when "hst?" sig(args) code_hst? when "hongkong?" sig(args) code_hongkong? when "iceland?" sig(args) code_iceland? when "indian_antananarivo?" sig(args) code_indian_antananarivo? when "indian_chagos?" sig(args) code_indian_chagos? when "indian_christmas?" sig(args) code_indian_christmas? when "indian_cocos?" sig(args) code_indian_cocos? when "indian_comoro?" sig(args) code_indian_comoro? when "indian_kerguelen?" sig(args) code_indian_kerguelen? when "indian_mahe?" sig(args) code_indian_mahe? when "indian_maldives?" sig(args) code_indian_maldives? when "indian_mauritius?" sig(args) code_indian_mauritius? when "indian_mayotte?" sig(args) code_indian_mayotte? when "indian_reunion?" sig(args) code_indian_reunion? when "iran?" sig(args) code_iran? when "israel?" sig(args) code_israel? when "jamaica?" sig(args) code_jamaica? when "japan?" sig(args) code_japan? when "kwajalein?" sig(args) code_kwajalein? when "libya?" sig(args) code_libya? when "met?" sig(args) code_met? when "mst?" sig(args) code_mst? when "mst7mdt?" sig(args) code_mst7mdt? when "mexico_bajanorte?" sig(args) code_mexico_bajanorte? when "mexico_bajasur?" sig(args) code_mexico_bajasur? when "mexico_general?" sig(args) code_mexico_general? when "nz?" sig(args) code_nz? when "nz_minus_chat?" sig(args) code_nz_minus_chat? when "navajo?" sig(args) code_navajo? when "prc?" sig(args) code_prc? when "pst8pdt?" sig(args) code_pst8pdt? when "pacific_apia?" sig(args) code_pacific_apia? when "pacific_auckland?" sig(args) code_pacific_auckland? when "pacific_bougainville?" sig(args) code_pacific_bougainville? when "pacific_chatham?" sig(args) code_pacific_chatham? when "pacific_chuuk?" sig(args) code_pacific_chuuk? when "pacific_easter?" sig(args) code_pacific_easter? when "pacific_efate?" sig(args) code_pacific_efate? when "pacific_enderbury?" sig(args) code_pacific_enderbury? when "pacific_fakaofo?" sig(args) code_pacific_fakaofo? when "pacific_fiji?" sig(args) code_pacific_fiji? when "pacific_funafuti?" sig(args) code_pacific_funafuti? when "pacific_galapagos?" sig(args) code_pacific_galapagos? when "pacific_gambier?" sig(args) code_pacific_gambier? when "pacific_guadalcanal?" sig(args) code_pacific_guadalcanal? when "pacific_guam?" sig(args) code_pacific_guam? when "pacific_honolulu?" sig(args) code_pacific_honolulu? when "pacific_johnston?" sig(args) code_pacific_johnston? when "pacific_kanton?" sig(args) code_pacific_kanton? when "pacific_kiritimati?" sig(args) code_pacific_kiritimati? when "pacific_kosrae?" sig(args) code_pacific_kosrae? when "pacific_kwajalein?" sig(args) code_pacific_kwajalein? when "pacific_majuro?" sig(args) code_pacific_majuro? when "pacific_marquesas?" sig(args) code_pacific_marquesas? when "pacific_midway?" sig(args) code_pacific_midway? when "pacific_nauru?" sig(args) code_pacific_nauru? when "pacific_niue?" sig(args) code_pacific_niue? when "pacific_norfolk?" sig(args) code_pacific_norfolk? when "pacific_noumea?" sig(args) code_pacific_noumea? when "pacific_pago_pago?" sig(args) code_pacific_pago_pago? when "pacific_palau?" sig(args) code_pacific_palau? when "pacific_pitcairn?" sig(args) code_pacific_pitcairn? when "pacific_pohnpei?" sig(args) code_pacific_pohnpei? when "pacific_ponape?" sig(args) code_pacific_ponape? when "pacific_port_moresby?" sig(args) code_pacific_port_moresby? when "pacific_rarotonga?" sig(args) code_pacific_rarotonga? when "pacific_saipan?" sig(args) code_pacific_saipan? when "pacific_samoa?" sig(args) code_pacific_samoa? when "pacific_tahiti?" sig(args) code_pacific_tahiti? when "pacific_tarawa?" sig(args) code_pacific_tarawa? when "pacific_tongatapu?" sig(args) code_pacific_tongatapu? when "pacific_truk?" sig(args) code_pacific_truk? when "pacific_wake?" sig(args) code_pacific_wake? when "pacific_wallis?" sig(args) code_pacific_wallis? when "pacific_yap?" sig(args) code_pacific_yap? when "poland?" sig(args) code_poland? when "portugal?" sig(args) code_portugal? when "roc?" sig(args) code_roc? when "rok?" sig(args) code_rok? when "singapore?" sig(args) code_singapore? when "turkey?" sig(args) code_turkey? when "uct?" sig(args) code_uct? when "us_alaska?" sig(args) code_us_alaska? when "us_aleutian?" sig(args) code_us_aleutian? when "us_arizona?" sig(args) code_us_arizona? when "us_central?" sig(args) code_us_central? when "us_east_minus_indiana?" sig(args) code_us_east_minus_indiana? when "us_eastern?" sig(args) code_us_eastern? when "us_hawaii?" sig(args) code_us_hawaii? when "us_indiana_minus_starke?" sig(args) code_us_indiana_minus_starke? when "us_michigan?" sig(args) code_us_michigan? when "us_mountain?" sig(args) code_us_mountain? when "us_pacific?" sig(args) code_us_pacific? when "us_samoa?" sig(args) code_us_samoa? when "utc?" sig(args) code_utc? when "universal?" sig(args) code_universal? when "w_minus_su?" sig(args) code_w_minus_su? when "wet?" sig(args) code_wet? when "zulu?" sig(args) code_zulu? when "utc_offset" sig(args) code_utc_offset when "year_day" sig(args) code_year_day when "month_day" sig(args) code_month_day when "nanosecond" sig(args) code_nanosecond when "nanoseconds" sig(args) code_nanoseconds when "millisecond" sig(args) code_millisecond when "milliseconds" sig(args) code_milliseconds when "utc" sig(args) code_utc when "local" sig(args) code_local when "beginning_of_day" sig(args) code_beginning_of_day when "end_of_day" sig(args) code_end_of_day when "january?" sig(args) code_january? when "february?" sig(args) code_february? when "march?" sig(args) code_march? when "april?" sig(args) code_april? when "may?" sig(args) code_may? when "june?" sig(args) code_june? when "july?" sig(args) code_july? when "august?" sig(args) code_august? when "september?" sig(args) code_september? when "october?" sig(args) code_october? when "november?" sig(args) code_november? when "december?" sig(args) code_december? when "add" sig(args) do { year: (String | Integer).maybe, years: (String | Integer).maybe, month: (String | Integer).maybe, months: (String | Integer).maybe, day: (String | Integer).maybe, days: (String | Integer).maybe, week_day: (String | Integer).maybe, week_days: (String | Integer).maybe, week: (String | Integer).maybe, weeks: (String | Integer).maybe, hour: (String | Integer).maybe, hours: (String | Integer).maybe, minute: (String | Integer).maybe, minutes: (String | Integer).maybe, second: (String | Integer).maybe, seconds: (String | Integer).maybe } end if code_value.nothing? code_add else code_add( year: code_value.code_get(:year), years: code_value.code_get(:years), month: code_value.code_get(:month), months: code_value.code_get(:months), day: code_value.code_get(:day), days: code_value.code_get(:days), week_day: code_value.code_get(:week_day), week_days: code_value.code_get(:week_days), week: code_value.code_get(:week), weeks: code_value.code_get(:weeks), hour: code_value.code_get(:hour), hours: code_value.code_get(:hours), minute: code_value.code_get(:minute), minutes: code_value.code_get(:minutes), second: code_value.code_get(:second), seconds: code_value.code_get(:seconds) ) end when "substract", "subtract" sig(args) do { year: (String | Integer).maybe, years: (String | Integer).maybe, month: (String | Integer).maybe, months: (String | Integer).maybe, day: (String | Integer).maybe, days: (String | Integer).maybe, week_day: (String | Integer).maybe, week_days: (String | Integer).maybe, week: (String | Integer).maybe, weeks: (String | Integer).maybe, hour: (String | Integer).maybe, hours: (String | Integer).maybe, minute: (String | Integer).maybe, minutes: (String | Integer).maybe, second: (String | Integer).maybe, seconds: (String | Integer).maybe } end if code_value.nothing? code_substract else code_substract( year: code_value.code_get(:year), years: code_value.code_get(:years), month: code_value.code_get(:month), months: code_value.code_get(:months), day: code_value.code_get(:day), days: code_value.code_get(:days), week_day: code_value.code_get(:week_day), week_days: code_value.code_get(:week_days), week: code_value.code_get(:week), weeks: code_value.code_get(:weeks), hour: code_value.code_get(:hour), hours: code_value.code_get(:hours), minute: code_value.code_get(:minute), minutes: code_value.code_get(:minutes), second: code_value.code_get(:second), seconds: code_value.code_get(:seconds) ) end when "change" sig(args) do { year: (String | Integer).maybe, years: (String | Integer).maybe, month: (String | Integer).maybe, months: (String | Integer).maybe, day: (String | Integer).maybe, days: (String | Integer).maybe, week_day: (String | Integer).maybe, week_days: (String | Integer).maybe, week: (String | Integer).maybe, weeks: (String | Integer).maybe, hour: (String | Integer).maybe, hours: (String | Integer).maybe, minute: (String | Integer).maybe, minutes: (String | Integer).maybe, second: (String | Integer).maybe, seconds: (String | Integer).maybe } end if code_value.nothing? code_change else code_change( year: code_value.code_get(:year), years: code_value.code_get(:years), month: code_value.code_get(:month), months: code_value.code_get(:months), day: code_value.code_get(:day), days: code_value.code_get(:days), week_day: code_value.code_get(:week_day), week_days: code_value.code_get(:week_days), week: code_value.code_get(:week), weeks: code_value.code_get(:weeks), hour: code_value.code_get(:hour), hours: code_value.code_get(:hours), minute: code_value.code_get(:minute), minutes: code_value.code_get(:minutes), second: code_value.code_get(:second), seconds: code_value.code_get(:seconds) ) end else super end end |
.code_zone ⇒ Object
9451 9452 9453 |
# File 'lib/code/object/time.rb', line 9451 def self.code_zone String.new(::Time.zone.name) end |
.code_zone_assign(value) ⇒ Object
9455 9456 9457 9458 9459 9460 |
# File 'lib/code/object/time.rb', line 9455 def self.code_zone_assign(value) code_value = value.to_code ::Time.zone = code_value.raw code_value end |
.function_documentation(scope) ⇒ Object
6606 6607 6608 6609 6610 6611 |
# File 'lib/code/object/time.rb', line 6606 def self.function_documentation(scope) return INSTANCE_FUNCTIONS if scope == :instance return CLASS_FUNCTIONS if scope == :class {} end |
Instance Method Details
#call(**args) ⇒ Object
9462 9463 9464 9465 9466 9467 9468 9469 9470 9471 9472 9473 9474 9475 9476 9477 9478 9479 9480 9481 9482 9483 9484 9485 9486 9487 9488 9489 9490 9491 9492 9493 9494 9495 9496 9497 9498 9499 9500 9501 9502 9503 9504 9505 9506 9507 9508 9509 9510 9511 9512 9513 9514 9515 9516 9517 9518 9519 9520 9521 9522 9523 9524 9525 9526 9527 9528 9529 9530 9531 9532 9533 9534 9535 9536 9537 9538 9539 9540 9541 9542 9543 9544 9545 9546 9547 9548 9549 9550 9551 9552 9553 9554 9555 9556 9557 9558 9559 9560 9561 9562 9563 9564 9565 9566 9567 9568 9569 9570 9571 9572 9573 9574 9575 9576 9577 9578 9579 9580 9581 9582 9583 9584 9585 9586 9587 9588 9589 9590 9591 9592 9593 9594 9595 9596 9597 9598 9599 9600 9601 9602 9603 9604 9605 9606 9607 9608 9609 9610 9611 9612 9613 9614 9615 9616 9617 9618 9619 9620 9621 9622 9623 9624 9625 9626 9627 9628 9629 9630 9631 9632 9633 9634 9635 9636 9637 9638 9639 9640 9641 9642 9643 9644 9645 9646 9647 9648 9649 9650 9651 9652 9653 9654 9655 9656 9657 9658 9659 9660 9661 9662 9663 9664 9665 9666 9667 9668 9669 9670 9671 9672 9673 9674 9675 9676 9677 9678 9679 9680 9681 9682 9683 9684 9685 9686 9687 9688 9689 9690 9691 9692 9693 9694 9695 9696 9697 9698 9699 9700 9701 9702 9703 9704 9705 9706 9707 9708 9709 9710 9711 9712 9713 9714 9715 9716 9717 9718 9719 9720 9721 9722 9723 9724 9725 9726 9727 9728 9729 9730 9731 9732 9733 9734 9735 9736 9737 9738 9739 9740 9741 9742 9743 9744 9745 9746 9747 9748 9749 9750 9751 9752 9753 9754 9755 9756 9757 9758 9759 9760 9761 9762 9763 9764 9765 9766 9767 9768 9769 9770 9771 9772 9773 9774 9775 9776 9777 9778 9779 9780 9781 9782 9783 9784 9785 9786 9787 9788 9789 9790 9791 9792 9793 9794 9795 9796 9797 9798 9799 9800 9801 9802 9803 9804 9805 9806 9807 9808 9809 9810 9811 9812 9813 9814 9815 9816 9817 9818 9819 9820 9821 9822 9823 9824 9825 9826 9827 9828 9829 9830 9831 9832 9833 9834 9835 9836 9837 9838 9839 9840 9841 9842 9843 9844 9845 9846 9847 9848 9849 9850 9851 9852 9853 9854 9855 9856 9857 9858 9859 9860 9861 9862 9863 9864 9865 9866 9867 9868 9869 9870 9871 9872 9873 9874 9875 9876 9877 9878 9879 9880 9881 9882 9883 9884 9885 9886 9887 9888 9889 9890 9891 9892 9893 9894 9895 9896 9897 9898 9899 9900 9901 9902 9903 9904 9905 9906 9907 9908 9909 9910 9911 9912 9913 9914 9915 9916 9917 9918 9919 9920 9921 9922 9923 9924 9925 9926 9927 9928 9929 9930 9931 9932 9933 9934 9935 9936 9937 9938 9939 9940 9941 9942 9943 9944 9945 9946 9947 9948 9949 9950 9951 9952 9953 9954 9955 9956 9957 9958 9959 9960 9961 9962 9963 9964 9965 9966 9967 9968 9969 9970 9971 9972 9973 9974 9975 9976 9977 9978 9979 9980 9981 9982 9983 9984 9985 9986 9987 9988 9989 9990 9991 9992 9993 9994 9995 9996 9997 9998 9999 10000 10001 10002 10003 10004 10005 10006 10007 10008 10009 10010 10011 10012 10013 10014 10015 10016 10017 10018 10019 10020 10021 10022 10023 10024 10025 10026 10027 10028 10029 10030 10031 10032 10033 10034 10035 10036 10037 10038 10039 10040 10041 10042 10043 10044 10045 10046 10047 10048 10049 10050 10051 10052 10053 10054 10055 10056 10057 10058 10059 10060 10061 10062 10063 10064 10065 10066 10067 10068 10069 10070 10071 10072 10073 10074 10075 10076 10077 10078 10079 10080 10081 10082 10083 10084 10085 10086 10087 10088 10089 10090 10091 10092 10093 10094 10095 10096 10097 10098 10099 10100 10101 10102 10103 10104 10105 10106 10107 10108 10109 10110 10111 10112 10113 10114 10115 10116 10117 10118 10119 10120 10121 10122 10123 10124 10125 10126 10127 10128 10129 10130 10131 10132 10133 10134 10135 10136 10137 10138 10139 10140 10141 10142 10143 10144 10145 10146 10147 10148 10149 10150 10151 10152 10153 10154 10155 10156 10157 10158 10159 10160 10161 10162 10163 10164 10165 10166 10167 10168 10169 10170 10171 10172 10173 10174 10175 10176 10177 10178 10179 10180 10181 10182 10183 10184 10185 10186 10187 10188 10189 10190 10191 10192 10193 10194 10195 10196 10197 10198 10199 10200 10201 10202 10203 10204 10205 10206 10207 10208 10209 10210 10211 10212 10213 10214 10215 10216 10217 10218 10219 10220 10221 10222 10223 10224 10225 10226 10227 10228 10229 10230 10231 10232 10233 10234 10235 10236 10237 10238 10239 10240 10241 10242 10243 10244 10245 10246 10247 10248 10249 10250 10251 10252 10253 10254 10255 10256 10257 10258 10259 10260 10261 10262 10263 10264 10265 10266 10267 10268 10269 10270 10271 10272 10273 10274 10275 10276 10277 10278 10279 10280 10281 10282 10283 10284 10285 10286 10287 10288 10289 10290 10291 10292 10293 10294 10295 10296 10297 10298 10299 10300 10301 10302 10303 10304 10305 10306 10307 10308 10309 10310 10311 10312 10313 10314 10315 10316 10317 10318 10319 10320 10321 10322 10323 10324 10325 10326 10327 10328 10329 10330 10331 10332 10333 10334 10335 10336 10337 10338 10339 10340 10341 10342 10343 10344 10345 10346 10347 10348 10349 10350 10351 10352 10353 10354 10355 10356 10357 10358 10359 10360 10361 10362 10363 10364 10365 10366 10367 10368 10369 10370 10371 10372 10373 10374 10375 10376 10377 10378 10379 10380 10381 10382 10383 10384 10385 10386 10387 10388 10389 10390 10391 10392 10393 10394 10395 10396 10397 10398 10399 10400 10401 10402 10403 10404 10405 10406 10407 10408 10409 10410 10411 10412 10413 10414 10415 10416 10417 10418 10419 10420 10421 10422 10423 10424 10425 10426 10427 10428 10429 10430 10431 10432 10433 10434 10435 10436 10437 10438 10439 10440 10441 10442 10443 10444 10445 10446 10447 10448 10449 10450 10451 10452 10453 10454 10455 10456 10457 10458 10459 10460 10461 10462 10463 10464 10465 10466 10467 10468 10469 10470 10471 10472 10473 10474 10475 10476 10477 10478 10479 10480 10481 10482 10483 10484 10485 10486 10487 10488 10489 10490 10491 10492 10493 10494 10495 10496 10497 10498 10499 10500 10501 10502 10503 10504 10505 10506 10507 10508 10509 10510 10511 10512 10513 10514 10515 10516 10517 10518 10519 10520 10521 10522 10523 10524 10525 10526 10527 10528 10529 10530 10531 10532 10533 10534 10535 10536 10537 10538 10539 10540 10541 10542 10543 10544 10545 10546 10547 10548 10549 10550 10551 10552 10553 10554 10555 10556 10557 10558 10559 10560 10561 10562 10563 10564 10565 10566 10567 10568 10569 10570 10571 10572 10573 10574 10575 10576 10577 10578 10579 10580 10581 10582 10583 10584 10585 10586 10587 10588 10589 10590 10591 10592 10593 10594 10595 10596 10597 10598 10599 10600 10601 10602 10603 10604 10605 10606 10607 10608 10609 10610 10611 10612 10613 10614 10615 10616 10617 10618 10619 10620 10621 10622 10623 10624 10625 10626 10627 10628 10629 10630 10631 10632 10633 10634 10635 10636 10637 10638 10639 10640 10641 10642 10643 10644 10645 10646 10647 10648 10649 10650 10651 10652 10653 10654 10655 10656 10657 10658 10659 10660 10661 10662 10663 10664 10665 10666 10667 10668 10669 10670 10671 10672 10673 10674 10675 10676 10677 10678 10679 10680 10681 10682 10683 10684 10685 10686 10687 10688 10689 10690 10691 10692 10693 10694 10695 10696 10697 10698 10699 10700 10701 10702 10703 10704 10705 10706 10707 10708 10709 10710 10711 10712 10713 10714 10715 10716 10717 10718 10719 10720 10721 10722 10723 10724 10725 10726 10727 10728 10729 10730 10731 10732 10733 10734 10735 10736 10737 10738 10739 10740 10741 10742 10743 10744 10745 10746 10747 10748 10749 10750 10751 10752 10753 10754 10755 10756 10757 10758 10759 10760 10761 10762 10763 10764 10765 10766 10767 10768 10769 10770 10771 10772 10773 10774 10775 10776 10777 10778 10779 10780 10781 10782 10783 10784 10785 10786 10787 10788 10789 10790 10791 10792 10793 10794 10795 10796 10797 10798 10799 10800 10801 10802 10803 10804 10805 10806 10807 10808 10809 10810 10811 10812 10813 10814 10815 10816 10817 10818 10819 10820 10821 10822 10823 10824 10825 10826 10827 10828 10829 10830 10831 10832 10833 10834 10835 10836 10837 10838 10839 10840 10841 10842 10843 10844 10845 10846 10847 10848 10849 10850 10851 10852 10853 10854 10855 10856 10857 10858 10859 10860 10861 10862 10863 10864 10865 10866 10867 10868 10869 10870 10871 10872 10873 10874 10875 10876 10877 10878 10879 10880 10881 10882 10883 10884 10885 10886 10887 10888 10889 10890 10891 10892 10893 10894 10895 10896 10897 10898 10899 10900 10901 10902 10903 10904 10905 10906 10907 10908 10909 10910 10911 10912 10913 10914 10915 10916 10917 10918 10919 10920 10921 10922 10923 10924 10925 10926 10927 10928 10929 10930 10931 10932 10933 10934 10935 10936 10937 10938 10939 10940 10941 10942 10943 10944 10945 10946 10947 10948 10949 10950 10951 10952 10953 10954 10955 10956 10957 10958 10959 10960 10961 10962 10963 10964 10965 10966 10967 10968 10969 10970 10971 10972 10973 10974 10975 10976 10977 10978 10979 10980 10981 10982 10983 10984 10985 10986 10987 10988 10989 10990 10991 10992 10993 10994 10995 10996 10997 10998 10999 11000 11001 11002 11003 11004 11005 11006 11007 11008 11009 11010 11011 11012 11013 11014 11015 11016 11017 11018 11019 11020 11021 11022 11023 11024 11025 11026 11027 11028 11029 11030 11031 11032 11033 11034 11035 11036 11037 11038 11039 11040 11041 11042 11043 11044 11045 11046 11047 11048 11049 11050 11051 11052 11053 11054 11055 11056 11057 11058 11059 11060 11061 11062 11063 11064 11065 11066 11067 11068 11069 11070 11071 11072 11073 11074 11075 11076 11077 11078 11079 11080 11081 11082 11083 11084 11085 11086 11087 11088 11089 11090 11091 11092 11093 11094 11095 11096 11097 11098 11099 11100 11101 11102 11103 11104 11105 11106 11107 11108 11109 11110 11111 11112 11113 11114 11115 11116 11117 11118 11119 11120 11121 11122 11123 11124 11125 11126 11127 11128 11129 11130 11131 11132 11133 11134 11135 11136 11137 11138 11139 11140 11141 11142 11143 11144 11145 11146 11147 11148 11149 11150 11151 11152 11153 11154 11155 11156 11157 11158 11159 11160 11161 11162 11163 11164 11165 11166 11167 11168 11169 11170 11171 11172 11173 11174 11175 11176 11177 11178 11179 11180 11181 11182 11183 11184 11185 11186 11187 11188 11189 11190 11191 11192 11193 11194 11195 11196 11197 11198 11199 11200 11201 11202 11203 11204 11205 11206 11207 11208 11209 11210 11211 11212 11213 11214 11215 11216 11217 11218 11219 11220 11221 11222 11223 11224 11225 11226 11227 11228 11229 11230 11231 11232 11233 11234 11235 11236 11237 11238 11239 11240 11241 11242 11243 11244 11245 11246 11247 11248 11249 11250 11251 11252 11253 11254 11255 11256 11257 11258 11259 11260 11261 11262 11263 11264 11265 11266 11267 11268 11269 11270 11271 11272 11273 11274 11275 11276 11277 11278 11279 11280 11281 11282 11283 11284 11285 11286 11287 11288 11289 11290 11291 11292 11293 11294 11295 11296 11297 11298 11299 11300 11301 11302 11303 11304 11305 11306 11307 11308 11309 11310 11311 11312 11313 11314 11315 11316 11317 11318 11319 11320 11321 11322 11323 11324 11325 11326 11327 11328 11329 11330 11331 11332 11333 11334 11335 11336 11337 11338 11339 11340 11341 11342 11343 11344 11345 11346 11347 11348 11349 11350 11351 11352 11353 11354 11355 11356 11357 11358 11359 11360 11361 11362 11363 11364 11365 11366 11367 11368 11369 11370 11371 11372 11373 11374 11375 11376 11377 11378 11379 11380 11381 11382 11383 11384 11385 11386 11387 11388 11389 11390 11391 11392 11393 11394 11395 11396 11397 11398 11399 11400 11401 11402 11403 11404 11405 11406 11407 11408 11409 11410 11411 11412 11413 11414 11415 11416 11417 11418 11419 11420 11421 11422 11423 11424 11425 11426 11427 11428 11429 11430 11431 11432 11433 11434 11435 11436 11437 11438 11439 11440 11441 11442 11443 11444 11445 11446 11447 11448 11449 11450 11451 11452 11453 11454 11455 11456 11457 11458 11459 11460 11461 11462 11463 11464 11465 11466 11467 11468 11469 11470 11471 11472 11473 11474 11475 11476 11477 11478 11479 11480 11481 11482 11483 11484 11485 11486 11487 11488 11489 11490 11491 11492 11493 11494 11495 11496 11497 11498 11499 11500 11501 11502 11503 11504 11505 11506 11507 11508 11509 11510 11511 11512 11513 11514 11515 11516 11517 11518 11519 11520 11521 11522 11523 11524 11525 11526 11527 11528 11529 11530 11531 11532 11533 11534 11535 11536 11537 11538 11539 11540 11541 11542 11543 11544 11545 11546 11547 11548 11549 11550 11551 11552 11553 11554 11555 11556 11557 11558 11559 11560 11561 11562 11563 11564 11565 11566 11567 11568 11569 11570 11571 11572 11573 11574 11575 11576 11577 11578 11579 11580 11581 11582 11583 11584 11585 11586 11587 11588 11589 11590 11591 |
# File 'lib/code/object/time.rb', line 9462 def call(**args) code_operator = args.fetch(:operator, nil).to_code code_arguments = args.fetch(:arguments, []).to_code code_value = code_arguments.code_first code_second = code_arguments.code_second case code_operator.to_s when "zone" sig(args) code_zone when "after?" sig(args) { (Date | Time).maybe } code_after?(code_value) when "before?" sig(args) { (Date | Time).maybe } code_before?(code_value) when "tomorrow" sig(args) code_tomorrow when "yesterday" sig(args) code_yesterday when "past?" sig(args) code_past? when "future?" sig(args) code_future? when "year" sig(args) code_year when "years" sig(args) code_years when "month" sig(args) code_month when "months" sig(args) code_months when "week" sig(args) code_week when "weeks" sig(args) code_weeks when "week_day" sig(args) code_week_day when "week_days" sig(args) code_week_days when "day" sig(args) code_day when "days" sig(args) code_days when "hour" sig(args) code_hour when "hours" sig(args) code_hours when "minute" sig(args) code_minute when "minutes" sig(args) code_minutes when "second" sig(args) code_second when "seconds" sig(args) code_seconds when "monday?" sig(args) code_monday? when "tuesday?" sig(args) code_tuesday? when "wednesday?" sig(args) code_wednesday? when "thursday?" sig(args) code_thursday? when "friday?" sig(args) code_friday? when "saturday?" sig(args) code_saturday? when "sunday?" sig(args) code_sunday? when "format" sig(args) { [String.maybe, { locale: String.maybe }] } if code_value.is_a?(Dictionary) code_format(nil, locale: code_value.code_get(:locale)) elsif code_second.something? code_format(code_value, locale: code_second.code_get(:locale)) else code_format(code_value) end when "iso8601" sig(args) code_iso8601 when "iso" sig(args) code_iso when "rfc2822" sig(args) code_rfc2822 when "rfc3339" sig(args) code_rfc3339 when "rfc" sig(args) code_rfc when "to_list" sig(args) code_to_list when "to_integer" sig(args) code_to_integer when "to_decimal" sig(args) code_to_decimal when "africa_abidjan?" sig(args) code_africa_abidjan? when "africa_accra?" sig(args) code_africa_accra? when "africa_addis_ababa?" sig(args) code_africa_addis_ababa? when "africa_algiers?" sig(args) code_africa_algiers? when "africa_asmara?" sig(args) code_africa_asmara? when "africa_asmera?" sig(args) code_africa_asmera? when "africa_bamako?" sig(args) code_africa_bamako? when "africa_bangui?" sig(args) code_africa_bangui? when "africa_banjul?" sig(args) code_africa_banjul? when "africa_bissau?" sig(args) code_africa_bissau? when "africa_blantyre?" sig(args) code_africa_blantyre? when "africa_brazzaville?" sig(args) code_africa_brazzaville? when "africa_bujumbura?" sig(args) code_africa_bujumbura? when "africa_cairo?" sig(args) code_africa_cairo? when "africa_casablanca?" sig(args) code_africa_casablanca? when "africa_ceuta?" sig(args) code_africa_ceuta? when "africa_conakry?" sig(args) code_africa_conakry? when "africa_dakar?" sig(args) code_africa_dakar? when "africa_dar_es_salaam?" sig(args) code_africa_dar_es_salaam? when "africa_djibouti?" sig(args) code_africa_djibouti? when "africa_douala?" sig(args) code_africa_douala? when "africa_el_aaiun?" sig(args) code_africa_el_aaiun? when "africa_freetown?" sig(args) code_africa_freetown? when "africa_gaborone?" sig(args) code_africa_gaborone? when "africa_harare?" sig(args) code_africa_harare? when "africa_johannesburg?" sig(args) code_africa_johannesburg? when "africa_juba?" sig(args) code_africa_juba? when "africa_kampala?" sig(args) code_africa_kampala? when "africa_khartoum?" sig(args) code_africa_khartoum? when "africa_kigali?" sig(args) code_africa_kigali? when "africa_kinshasa?" sig(args) code_africa_kinshasa? when "africa_lagos?" sig(args) code_africa_lagos? when "africa_libreville?" sig(args) code_africa_libreville? when "africa_lome?" sig(args) code_africa_lome? when "africa_luanda?" sig(args) code_africa_luanda? when "africa_lubumbashi?" sig(args) code_africa_lubumbashi? when "africa_lusaka?" sig(args) code_africa_lusaka? when "africa_malabo?" sig(args) code_africa_malabo? when "africa_maputo?" sig(args) code_africa_maputo? when "africa_maseru?" sig(args) code_africa_maseru? when "africa_mbabane?" sig(args) code_africa_mbabane? when "africa_mogadishu?" sig(args) code_africa_mogadishu? when "africa_monrovia?" sig(args) code_africa_monrovia? when "africa_nairobi?" sig(args) code_africa_nairobi? when "africa_ndjamena?" sig(args) code_africa_ndjamena? when "africa_niamey?" sig(args) code_africa_niamey? when "africa_nouakchott?" sig(args) code_africa_nouakchott? when "africa_ouagadougou?" sig(args) code_africa_ouagadougou? when "africa_porto_minus_novo?" sig(args) code_africa_porto_minus_novo? when "africa_sao_tome?" sig(args) code_africa_sao_tome? when "africa_timbuktu?" sig(args) code_africa_timbuktu? when "africa_tripoli?" sig(args) code_africa_tripoli? when "africa_tunis?" sig(args) code_africa_tunis? when "africa_windhoek?" sig(args) code_africa_windhoek? when "america_adak?" sig(args) code_america_adak? when "america_anchorage?" sig(args) code_america_anchorage? when "america_anguilla?" sig(args) code_america_anguilla? when "america_antigua?" sig(args) code_america_antigua? when "america_araguaina?" sig(args) code_america_araguaina? when "america_argentina_buenos_aires?" sig(args) code_america_argentina_buenos_aires? when "america_argentina_catamarca?" sig(args) code_america_argentina_catamarca? when "america_argentina_comodrivadavia?" sig(args) code_america_argentina_comodrivadavia? when "america_argentina_cordoba?" sig(args) code_america_argentina_cordoba? when "america_argentina_jujuy?" sig(args) code_america_argentina_jujuy? when "america_argentina_la_rioja?" sig(args) code_america_argentina_la_rioja? when "america_argentina_mendoza?" sig(args) code_america_argentina_mendoza? when "america_argentina_rio_gallegos?" sig(args) code_america_argentina_rio_gallegos? when "america_argentina_salta?" sig(args) code_america_argentina_salta? when "america_argentina_san_juan?" sig(args) code_america_argentina_san_juan? when "america_argentina_san_luis?" sig(args) code_america_argentina_san_luis? when "america_argentina_tucuman?" sig(args) code_america_argentina_tucuman? when "america_argentina_ushuaia?" sig(args) code_america_argentina_ushuaia? when "america_aruba?" sig(args) code_america_aruba? when "america_asuncion?" sig(args) code_america_asuncion? when "america_atikokan?" sig(args) code_america_atikokan? when "america_atka?" sig(args) code_america_atka? when "america_bahia?" sig(args) code_america_bahia? when "america_bahia_banderas?" sig(args) code_america_bahia_banderas? when "america_barbados?" sig(args) when "america_belem?" sig(args) code_america_belem? when "america_belize?" sig(args) code_america_belize? when "america_blanc_minus_sablon?" sig(args) code_america_blanc_minus_sablon? when "america_boa_vista?" sig(args) code_america_boa_vista? when "america_bogota?" sig(args) code_america_bogota? when "america_boise?" sig(args) code_america_boise? when "america_buenos_aires?" sig(args) code_america_buenos_aires? when "america_cambridge_bay?" sig(args) code_america_cambridge_bay? when "america_campo_grande?" sig(args) code_america_campo_grande? when "america_cancun?" sig(args) code_america_cancun? when "america_caracas?" sig(args) code_america_caracas? when "america_catamarca?" sig(args) code_america_catamarca? when "america_cayenne?" sig(args) code_america_cayenne? when "america_cayman?" sig(args) code_america_cayman? when "america_chicago?" sig(args) code_america_chicago? when "america_chihuahua?" sig(args) code_america_chihuahua? when "america_ciudad_juarez?" sig(args) code_america_ciudad_juarez? when "america_coral_harbour?" sig(args) code_america_coral_harbour? when "america_cordoba?" sig(args) code_america_cordoba? when "america_costa_rica?" sig(args) code_america_costa_rica? when "america_coyhaique?" sig(args) code_america_coyhaique? when "america_creston?" sig(args) code_america_creston? when "america_cuiaba?" sig(args) code_america_cuiaba? when "america_curacao?" sig(args) code_america_curacao? when "america_danmarkshavn?" sig(args) code_america_danmarkshavn? when "america_dawson?" sig(args) code_america_dawson? when "america_dawson_creek?" sig(args) code_america_dawson_creek? when "america_denver?" sig(args) code_america_denver? when "america_detroit?" sig(args) code_america_detroit? when "america_dominica?" sig(args) code_america_dominica? when "america_edmonton?" sig(args) code_america_edmonton? when "america_eirunepe?" sig(args) code_america_eirunepe? when "america_el_salvador?" sig(args) code_america_el_salvador? when "america_ensenada?" sig(args) code_america_ensenada? when "america_fort_nelson?" sig(args) code_america_fort_nelson? when "america_fort_wayne?" sig(args) code_america_fort_wayne? when "america_fortaleza?" sig(args) code_america_fortaleza? when "america_glace_bay?" sig(args) code_america_glace_bay? when "america_godthab?" sig(args) code_america_godthab? when "america_goose_bay?" sig(args) code_america_goose_bay? when "america_grand_turk?" sig(args) code_america_grand_turk? when "america_grenada?" sig(args) code_america_grenada? when "america_guadeloupe?" sig(args) code_america_guadeloupe? when "america_guatemala?" sig(args) code_america_guatemala? when "america_guayaquil?" sig(args) code_america_guayaquil? when "america_guyana?" sig(args) code_america_guyana? when "america_halifax?" sig(args) code_america_halifax? when "america_havana?" sig(args) code_america_havana? when "america_hermosillo?" sig(args) code_america_hermosillo? when "america_indiana_indianapolis?" sig(args) code_america_indiana_indianapolis? when "america_indiana_knox?" sig(args) code_america_indiana_knox? when "america_indiana_marengo?" sig(args) code_america_indiana_marengo? when "america_indiana_petersburg?" sig(args) code_america_indiana_petersburg? when "america_indiana_tell_city?" sig(args) code_america_indiana_tell_city? when "america_indiana_vevay?" sig(args) code_america_indiana_vevay? when "america_indiana_vincennes?" sig(args) code_america_indiana_vincennes? when "america_indiana_winamac?" sig(args) code_america_indiana_winamac? when "america_indianapolis?" sig(args) code_america_indianapolis? when "america_inuvik?" sig(args) code_america_inuvik? when "america_iqaluit?" sig(args) code_america_iqaluit? when "america_jamaica?" sig(args) code_america_jamaica? when "america_jujuy?" sig(args) code_america_jujuy? when "america_juneau?" sig(args) code_america_juneau? when "america_kentucky_louisville?" sig(args) code_america_kentucky_louisville? when "america_kentucky_monticello?" sig(args) code_america_kentucky_monticello? when "america_knox_in?" sig(args) code_america_knox_in? when "america_kralendijk?" sig(args) code_america_kralendijk? when "america_la_paz?" sig(args) code_america_la_paz? when "america_lima?" sig(args) code_america_lima? when "america_los_angeles?" sig(args) code_america_los_angeles? when "america_louisville?" sig(args) code_america_louisville? when "america_lower_princes?" sig(args) code_america_lower_princes? when "america_maceio?" sig(args) code_america_maceio? when "america_managua?" sig(args) code_america_managua? when "america_manaus?" sig(args) code_america_manaus? when "america_marigot?" sig(args) code_america_marigot? when "america_martinique?" sig(args) code_america_martinique? when "america_matamoros?" sig(args) code_america_matamoros? when "america_mazatlan?" sig(args) code_america_mazatlan? when "america_mendoza?" sig(args) code_america_mendoza? when "america_menominee?" sig(args) code_america_menominee? when "america_merida?" sig(args) code_america_merida? when "america_metlakatla?" sig(args) code_america_metlakatla? when "america_mexico_city?" sig(args) code_america_mexico_city? when "america_miquelon?" sig(args) code_america_miquelon? when "america_moncton?" sig(args) code_america_moncton? when "america_monterrey?" sig(args) code_america_monterrey? when "america_montevideo?" sig(args) code_america_montevideo? when "america_montreal?" sig(args) code_america_montreal? when "america_montserrat?" sig(args) code_america_montserrat? when "america_nassau?" sig(args) code_america_nassau? when "america_new_york?" sig(args) code_america_new_york? when "america_nipigon?" sig(args) code_america_nipigon? when "america_nome?" sig(args) code_america_nome? when "america_noronha?" sig(args) code_america_noronha? when "america_north_dakota_beulah?" sig(args) code_america_north_dakota_beulah? when "america_north_dakota_center?" sig(args) code_america_north_dakota_center? when "america_north_dakota_new_salem?" sig(args) code_america_north_dakota_new_salem? when "america_nuuk?" sig(args) code_america_nuuk? when "america_ojinaga?" sig(args) code_america_ojinaga? when "america_panama?" sig(args) code_america_panama? when "america_pangnirtung?" sig(args) code_america_pangnirtung? when "america_paramaribo?" sig(args) code_america_paramaribo? when "america_phoenix?" sig(args) code_america_phoenix? when "america_port_minus_au_minus_prince?" sig(args) code_america_port_minus_au_minus_prince? when "america_port_of_spain?" sig(args) code_america_port_of_spain? when "america_porto_acre?" sig(args) code_america_porto_acre? when "america_porto_velho?" sig(args) code_america_porto_velho? when "america_puerto_rico?" sig(args) code_america_puerto_rico? when "america_punta_arenas?" sig(args) code_america_punta_arenas? when "america_rainy_river?" sig(args) code_america_rainy_river? when "america_rankin_inlet?" sig(args) code_america_rankin_inlet? when "america_recife?" sig(args) code_america_recife? when "america_regina?" sig(args) code_america_regina? when "america_resolute?" sig(args) code_america_resolute? when "america_rio_branco?" sig(args) code_america_rio_branco? when "america_rosario?" sig(args) code_america_rosario? when "america_santa_isabel?" sig(args) code_america_santa_isabel? when "america_santarem?" sig(args) code_america_santarem? when "america_santiago?" sig(args) code_america_santiago? when "america_santo_domingo?" sig(args) code_america_santo_domingo? when "america_sao_paulo?" sig(args) code_america_sao_paulo? when "america_scoresbysund?" sig(args) code_america_scoresbysund? when "america_shiprock?" sig(args) code_america_shiprock? when "america_sitka?" sig(args) code_america_sitka? when "america_st_barthelemy?" sig(args) when "america_st_johns?" sig(args) code_america_st_johns? when "america_st_kitts?" sig(args) code_america_st_kitts? when "america_st_lucia?" sig(args) code_america_st_lucia? when "america_st_thomas?" sig(args) code_america_st_thomas? when "america_st_vincent?" sig(args) code_america_st_vincent? when "america_swift_current?" sig(args) code_america_swift_current? when "america_tegucigalpa?" sig(args) code_america_tegucigalpa? when "america_thule?" sig(args) code_america_thule? when "america_thunder_bay?" sig(args) code_america_thunder_bay? when "america_tijuana?" sig(args) code_america_tijuana? when "america_toronto?" sig(args) code_america_toronto? when "america_tortola?" sig(args) code_america_tortola? when "america_vancouver?" sig(args) code_america_vancouver? when "america_virgin?" sig(args) code_america_virgin? when "america_whitehorse?" sig(args) code_america_whitehorse? when "america_winnipeg?" sig(args) code_america_winnipeg? when "america_yakutat?" sig(args) code_america_yakutat? when "america_yellowknife?" sig(args) code_america_yellowknife? when "antarctica_casey?" sig(args) code_antarctica_casey? when "antarctica_davis?" sig(args) code_antarctica_davis? when "antarctica_dumontdurville?" sig(args) code_antarctica_dumontdurville? when "antarctica_macquarie?" sig(args) code_antarctica_macquarie? when "antarctica_mawson?" sig(args) code_antarctica_mawson? when "antarctica_mcmurdo?" sig(args) code_antarctica_mcmurdo? when "antarctica_palmer?" sig(args) code_antarctica_palmer? when "antarctica_rothera?" sig(args) code_antarctica_rothera? when "antarctica_south_pole?" sig(args) code_antarctica_south_pole? when "antarctica_syowa?" sig(args) code_antarctica_syowa? when "antarctica_troll?" sig(args) code_antarctica_troll? when "antarctica_vostok?" sig(args) code_antarctica_vostok? when "arctic_longyearbyen?" sig(args) code_arctic_longyearbyen? when "asia_aden?" sig(args) code_asia_aden? when "asia_almaty?" sig(args) code_asia_almaty? when "asia_amman?" sig(args) code_asia_amman? when "asia_anadyr?" sig(args) code_asia_anadyr? when "asia_aqtau?" sig(args) code_asia_aqtau? when "asia_aqtobe?" sig(args) code_asia_aqtobe? when "asia_ashgabat?" sig(args) code_asia_ashgabat? when "asia_ashkhabad?" sig(args) code_asia_ashkhabad? when "asia_atyrau?" sig(args) code_asia_atyrau? when "asia_baghdad?" sig(args) code_asia_baghdad? when "asia_bahrain?" sig(args) code_asia_bahrain? when "asia_baku?" sig(args) code_asia_baku? when "asia_bangkok?" sig(args) code_asia_bangkok? when "asia_barnaul?" sig(args) when "asia_beirut?" sig(args) code_asia_beirut? when "asia_bishkek?" sig(args) code_asia_bishkek? when "asia_brunei?" sig(args) code_asia_brunei? when "asia_calcutta?" sig(args) code_asia_calcutta? when "asia_chita?" sig(args) code_asia_chita? when "asia_choibalsan?" sig(args) code_asia_choibalsan? when "asia_chongqing?" sig(args) code_asia_chongqing? when "asia_chungking?" sig(args) code_asia_chungking? when "asia_colombo?" sig(args) code_asia_colombo? when "asia_dacca?" sig(args) code_asia_dacca? when "asia_damascus?" sig(args) code_asia_damascus? when "asia_dhaka?" sig(args) code_asia_dhaka? when "asia_dili?" sig(args) code_asia_dili? when "asia_dubai?" sig(args) code_asia_dubai? when "asia_dushanbe?" sig(args) code_asia_dushanbe? when "asia_famagusta?" sig(args) code_asia_famagusta? when "asia_gaza?" sig(args) code_asia_gaza? when "asia_harbin?" sig(args) code_asia_harbin? when "asia_hebron?" sig(args) code_asia_hebron? when "asia_ho_chi_minh?" sig(args) code_asia_ho_chi_minh? when "asia_hong_kong?" sig(args) code_asia_hong_kong? when "asia_hovd?" sig(args) code_asia_hovd? when "asia_irkutsk?" sig(args) code_asia_irkutsk? when "asia_istanbul?" sig(args) code_asia_istanbul? when "asia_jakarta?" sig(args) code_asia_jakarta? when "asia_jayapura?" sig(args) code_asia_jayapura? when "asia_jerusalem?" sig(args) code_asia_jerusalem? when "asia_kabul?" sig(args) code_asia_kabul? when "asia_kamchatka?" sig(args) code_asia_kamchatka? when "asia_karachi?" sig(args) code_asia_karachi? when "asia_kashgar?" sig(args) code_asia_kashgar? when "asia_kathmandu?" sig(args) code_asia_kathmandu? when "asia_katmandu?" sig(args) code_asia_katmandu? when "asia_khandyga?" sig(args) code_asia_khandyga? when "asia_kolkata?" sig(args) code_asia_kolkata? when "asia_krasnoyarsk?" sig(args) code_asia_krasnoyarsk? when "asia_kuala_lumpur?" sig(args) code_asia_kuala_lumpur? when "asia_kuching?" sig(args) code_asia_kuching? when "asia_kuwait?" sig(args) code_asia_kuwait? when "asia_macao?" sig(args) code_asia_macao? when "asia_macau?" sig(args) code_asia_macau? when "asia_magadan?" sig(args) code_asia_magadan? when "asia_makassar?" sig(args) code_asia_makassar? when "asia_manila?" sig(args) code_asia_manila? when "asia_muscat?" sig(args) code_asia_muscat? when "asia_nicosia?" sig(args) code_asia_nicosia? when "asia_novokuznetsk?" sig(args) code_asia_novokuznetsk? when "asia_novosibirsk?" sig(args) code_asia_novosibirsk? when "asia_omsk?" sig(args) code_asia_omsk? when "asia_oral?" sig(args) code_asia_oral? when "asia_phnom_penh?" sig(args) code_asia_phnom_penh? when "asia_pontianak?" sig(args) code_asia_pontianak? when "asia_pyongyang?" sig(args) code_asia_pyongyang? when "asia_qatar?" sig(args) code_asia_qatar? when "asia_qostanay?" sig(args) code_asia_qostanay? when "asia_qyzylorda?" sig(args) code_asia_qyzylorda? when "asia_rangoon?" sig(args) code_asia_rangoon? when "asia_riyadh?" sig(args) code_asia_riyadh? when "asia_saigon?" sig(args) code_asia_saigon? when "asia_sakhalin?" sig(args) code_asia_sakhalin? when "asia_samarkand?" sig(args) code_asia_samarkand? when "asia_seoul?" sig(args) code_asia_seoul? when "asia_shanghai?" sig(args) code_asia_shanghai? when "asia_singapore?" sig(args) code_asia_singapore? when "asia_srednekolymsk?" sig(args) code_asia_srednekolymsk? when "asia_taipei?" sig(args) code_asia_taipei? when "asia_tashkent?" sig(args) code_asia_tashkent? when "asia_tbilisi?" sig(args) code_asia_tbilisi? when "asia_tehran?" sig(args) code_asia_tehran? when "asia_tel_aviv?" sig(args) code_asia_tel_aviv? when "asia_thimbu?" sig(args) code_asia_thimbu? when "asia_thimphu?" sig(args) code_asia_thimphu? when "asia_tokyo?" sig(args) code_asia_tokyo? when "asia_tomsk?" sig(args) code_asia_tomsk? when "asia_ujung_pandang?" sig(args) code_asia_ujung_pandang? when "asia_ulaanbaatar?" sig(args) code_asia_ulaanbaatar? when "asia_ulan_bator?" sig(args) code_asia_ulan_bator? when "asia_urumqi?" sig(args) code_asia_urumqi? when "asia_ust_minus_nera?" sig(args) code_asia_ust_minus_nera? when "asia_vientiane?" sig(args) code_asia_vientiane? when "asia_vladivostok?" sig(args) code_asia_vladivostok? when "asia_yakutsk?" sig(args) code_asia_yakutsk? when "asia_yangon?" sig(args) code_asia_yangon? when "asia_yekaterinburg?" sig(args) code_asia_yekaterinburg? when "asia_yerevan?" sig(args) code_asia_yerevan? when "atlantic_azores?" sig(args) code_atlantic_azores? when "atlantic_bermuda?" sig(args) code_atlantic_bermuda? when "atlantic_canary?" sig(args) code_atlantic_canary? when "atlantic_cape_verde?" sig(args) code_atlantic_cape_verde? when "atlantic_faeroe?" sig(args) code_atlantic_faeroe? when "atlantic_faroe?" sig(args) code_atlantic_faroe? when "atlantic_jan_mayen?" sig(args) code_atlantic_jan_mayen? when "atlantic_madeira?" sig(args) code_atlantic_madeira? when "atlantic_reykjavik?" sig(args) code_atlantic_reykjavik? when "atlantic_south_georgia?" sig(args) code_atlantic_south_georgia? when "atlantic_st_helena?" sig(args) code_atlantic_st_helena? when "atlantic_stanley?" sig(args) code_atlantic_stanley? when "australia_act?" sig(args) code_australia_act? when "australia_adelaide?" sig(args) code_australia_adelaide? when "australia_brisbane?" sig(args) code_australia_brisbane? when "australia_broken_hill?" sig(args) code_australia_broken_hill? when "australia_canberra?" sig(args) code_australia_canberra? when "australia_currie?" sig(args) code_australia_currie? when "australia_darwin?" sig(args) code_australia_darwin? when "australia_eucla?" sig(args) code_australia_eucla? when "australia_hobart?" sig(args) when "australia_lhi?" sig(args) code_australia_lhi? when "australia_lindeman?" sig(args) code_australia_lindeman? when "australia_lord_howe?" sig(args) code_australia_lord_howe? when "australia_melbourne?" sig(args) code_australia_melbourne? when "australia_nsw?" sig(args) code_australia_nsw? when "australia_north?" sig(args) code_australia_north? when "australia_perth?" sig(args) code_australia_perth? when "australia_queensland?" sig(args) code_australia_queensland? when "australia_south?" sig(args) code_australia_south? when "australia_sydney?" sig(args) code_australia_sydney? when "australia_tasmania?" sig(args) code_australia_tasmania? when "australia_victoria?" sig(args) code_australia_victoria? when "australia_west?" sig(args) code_australia_west? when "australia_yancowinna?" sig(args) code_australia_yancowinna? when "brazil_acre?" sig(args) code_brazil_acre? when "brazil_denoronha?" sig(args) code_brazil_denoronha? when "brazil_east?" sig(args) code_brazil_east? when "brazil_west?" sig(args) code_brazil_west? when "cet?" sig(args) code_cet? when "cst6cdt?" sig(args) code_cst6cdt? when "canada_atlantic?" sig(args) code_canada_atlantic? when "canada_central?" sig(args) code_canada_central? when "canada_eastern?" sig(args) code_canada_eastern? when "canada_mountain?" sig(args) code_canada_mountain? when "canada_newfoundland?" sig(args) code_canada_newfoundland? when "canada_pacific?" sig(args) code_canada_pacific? when "canada_saskatchewan?" sig(args) code_canada_saskatchewan? when "canada_yukon?" sig(args) code_canada_yukon? when "chile_continental?" sig(args) code_chile_continental? when "chile_easterisland?" sig(args) code_chile_easterisland? when "cuba?" sig(args) code_cuba? when "eet?" sig(args) code_eet? when "est?" sig(args) code_est? when "est5edt?" sig(args) code_est5edt? when "egypt?" sig(args) code_egypt? when "eire?" sig(args) code_eire? when "etc_gmt?" sig(args) code_etc_gmt? when "etc_gmt_plus_0?" sig(args) code_etc_gmt_plus_0? when "etc_gmt_plus_1?" sig(args) code_etc_gmt_plus_1? when "etc_gmt_plus_10?" sig(args) code_etc_gmt_plus_10? when "etc_gmt_plus_11?" sig(args) code_etc_gmt_plus_11? when "etc_gmt_plus_12?" sig(args) code_etc_gmt_plus_12? when "etc_gmt_plus_2?" sig(args) code_etc_gmt_plus_2? when "etc_gmt_plus_3?" sig(args) code_etc_gmt_plus_3? when "etc_gmt_plus_4?" sig(args) code_etc_gmt_plus_4? when "etc_gmt_plus_5?" sig(args) code_etc_gmt_plus_5? when "etc_gmt_plus_6?" sig(args) code_etc_gmt_plus_6? when "etc_gmt_plus_7?" sig(args) code_etc_gmt_plus_7? when "etc_gmt_plus_8?" sig(args) code_etc_gmt_plus_8? when "etc_gmt_plus_9?" sig(args) code_etc_gmt_plus_9? when "etc_gmt_minus_0?" sig(args) code_etc_gmt_minus_0? when "etc_gmt_minus_1?" sig(args) code_etc_gmt_minus_1? when "etc_gmt_minus_10?" sig(args) code_etc_gmt_minus_10? when "etc_gmt_minus_11?" sig(args) code_etc_gmt_minus_11? when "etc_gmt_minus_12?" sig(args) code_etc_gmt_minus_12? when "etc_gmt_minus_13?" sig(args) code_etc_gmt_minus_13? when "etc_gmt_minus_14?" sig(args) code_etc_gmt_minus_14? when "etc_gmt_minus_2?" sig(args) code_etc_gmt_minus_2? when "etc_gmt_minus_3?" sig(args) code_etc_gmt_minus_3? when "etc_gmt_minus_4?" sig(args) code_etc_gmt_minus_4? when "etc_gmt_minus_5?" sig(args) code_etc_gmt_minus_5? when "etc_gmt_minus_6?" sig(args) code_etc_gmt_minus_6? when "etc_gmt_minus_7?" sig(args) code_etc_gmt_minus_7? when "etc_gmt_minus_8?" sig(args) code_etc_gmt_minus_8? when "etc_gmt_minus_9?" sig(args) code_etc_gmt_minus_9? when "etc_gmt0?" sig(args) code_etc_gmt0? when "etc_greenwich?" sig(args) code_etc_greenwich? when "etc_uct?" sig(args) code_etc_uct? when "etc_utc?" sig(args) code_etc_utc? when "etc_universal?" sig(args) code_etc_universal? when "etc_zulu?" sig(args) code_etc_zulu? when "europe_amsterdam?" sig(args) code_europe_amsterdam? when "europe_andorra?" sig(args) code_europe_andorra? when "europe_astrakhan?" sig(args) code_europe_astrakhan? when "europe_athens?" sig(args) code_europe_athens? when "europe_belfast?" sig(args) code_europe_belfast? when "europe_belgrade?" sig(args) code_europe_belgrade? when "europe_berlin?" sig(args) code_europe_berlin? when "europe_bratislava?" sig(args) code_europe_bratislava? when "europe_brussels?" sig(args) code_europe_brussels? when "europe_bucharest?" sig(args) code_europe_bucharest? when "europe_budapest?" sig(args) code_europe_budapest? when "europe_busingen?" sig(args) code_europe_busingen? when "europe_chisinau?" sig(args) code_europe_chisinau? when "europe_copenhagen?" sig(args) code_europe_copenhagen? when "europe_dublin?" sig(args) code_europe_dublin? when "europe_gibraltar?" sig(args) code_europe_gibraltar? when "europe_guernsey?" sig(args) code_europe_guernsey? when "europe_helsinki?" sig(args) code_europe_helsinki? when "europe_isle_of_man?" sig(args) code_europe_isle_of_man? when "europe_istanbul?" sig(args) code_europe_istanbul? when "europe_jersey?" sig(args) code_europe_jersey? when "europe_kaliningrad?" sig(args) code_europe_kaliningrad? when "europe_kiev?" sig(args) code_europe_kiev? when "europe_kirov?" sig(args) code_europe_kirov? when "europe_kyiv?" sig(args) code_europe_kyiv? when "europe_lisbon?" sig(args) code_europe_lisbon? when "europe_ljubljana?" sig(args) code_europe_ljubljana? when "europe_london?" sig(args) code_europe_london? when "europe_luxembourg?" sig(args) code_europe_luxembourg? when "europe_madrid?" sig(args) code_europe_madrid? when "europe_malta?" sig(args) code_europe_malta? when "europe_mariehamn?" sig(args) code_europe_mariehamn? when "europe_minsk?" sig(args) code_europe_minsk? when "europe_monaco?" sig(args) code_europe_monaco? when "europe_moscow?" sig(args) code_europe_moscow? when "europe_nicosia?" sig(args) code_europe_nicosia? when "europe_oslo?" sig(args) code_europe_oslo? when "europe_paris?" sig(args) code_europe_paris? when "europe_podgorica?" sig(args) code_europe_podgorica? when "europe_prague?" sig(args) code_europe_prague? when "europe_riga?" sig(args) code_europe_riga? when "europe_rome?" sig(args) code_europe_rome? when "europe_samara?" sig(args) code_europe_samara? when "europe_san_marino?" sig(args) code_europe_san_marino? when "europe_sarajevo?" sig(args) code_europe_sarajevo? when "europe_saratov?" sig(args) code_europe_saratov? when "europe_simferopol?" sig(args) code_europe_simferopol? when "europe_skopje?" sig(args) code_europe_skopje? when "europe_sofia?" sig(args) code_europe_sofia? when "europe_stockholm?" sig(args) code_europe_stockholm? when "europe_tallinn?" sig(args) code_europe_tallinn? when "europe_tirane?" sig(args) code_europe_tirane? when "europe_tiraspol?" sig(args) code_europe_tiraspol? when "europe_ulyanovsk?" sig(args) code_europe_ulyanovsk? when "europe_uzhgorod?" sig(args) code_europe_uzhgorod? when "europe_vaduz?" sig(args) code_europe_vaduz? when "europe_vatican?" sig(args) code_europe_vatican? when "europe_vienna?" sig(args) code_europe_vienna? when "europe_vilnius?" sig(args) code_europe_vilnius? when "europe_volgograd?" sig(args) code_europe_volgograd? when "europe_warsaw?" sig(args) code_europe_warsaw? when "europe_zagreb?" sig(args) code_europe_zagreb? when "europe_zaporozhye?" sig(args) code_europe_zaporozhye? when "europe_zurich?" sig(args) code_europe_zurich? when "factory?" sig(args) code_factory? when "gb?" sig(args) code_gb? when "gb_minus_eire?" sig(args) code_gb_minus_eire? when "gmt?" sig(args) code_gmt? when "gmt_plus_0?" sig(args) code_gmt_plus_0? when "gmt_minus_0?" sig(args) code_gmt_minus_0? when "gmt0?" sig(args) code_gmt0? when "greenwich?" sig(args) code_greenwich? when "hst?" sig(args) code_hst? when "hongkong?" sig(args) code_hongkong? when "iceland?" sig(args) code_iceland? when "indian_antananarivo?" sig(args) code_indian_antananarivo? when "indian_chagos?" sig(args) code_indian_chagos? when "indian_christmas?" sig(args) code_indian_christmas? when "indian_cocos?" sig(args) code_indian_cocos? when "indian_comoro?" sig(args) code_indian_comoro? when "indian_kerguelen?" sig(args) code_indian_kerguelen? when "indian_mahe?" sig(args) code_indian_mahe? when "indian_maldives?" sig(args) code_indian_maldives? when "indian_mauritius?" sig(args) code_indian_mauritius? when "indian_mayotte?" sig(args) code_indian_mayotte? when "indian_reunion?" sig(args) code_indian_reunion? when "iran?" sig(args) code_iran? when "israel?" sig(args) code_israel? when "jamaica?" sig(args) code_jamaica? when "japan?" sig(args) code_japan? when "kwajalein?" sig(args) code_kwajalein? when "libya?" sig(args) code_libya? when "met?" sig(args) code_met? when "mst?" sig(args) code_mst? when "mst7mdt?" sig(args) code_mst7mdt? when "mexico_bajanorte?" sig(args) code_mexico_bajanorte? when "mexico_bajasur?" sig(args) code_mexico_bajasur? when "mexico_general?" sig(args) code_mexico_general? when "nz?" sig(args) code_nz? when "nz_minus_chat?" sig(args) code_nz_minus_chat? when "navajo?" sig(args) code_navajo? when "prc?" sig(args) code_prc? when "pst8pdt?" sig(args) code_pst8pdt? when "pacific_apia?" sig(args) code_pacific_apia? when "pacific_auckland?" sig(args) code_pacific_auckland? when "pacific_bougainville?" sig(args) code_pacific_bougainville? when "pacific_chatham?" sig(args) code_pacific_chatham? when "pacific_chuuk?" sig(args) code_pacific_chuuk? when "pacific_easter?" sig(args) code_pacific_easter? when "pacific_efate?" sig(args) code_pacific_efate? when "pacific_enderbury?" sig(args) code_pacific_enderbury? when "pacific_fakaofo?" sig(args) code_pacific_fakaofo? when "pacific_fiji?" sig(args) code_pacific_fiji? when "pacific_funafuti?" sig(args) code_pacific_funafuti? when "pacific_galapagos?" sig(args) code_pacific_galapagos? when "pacific_gambier?" sig(args) code_pacific_gambier? when "pacific_guadalcanal?" sig(args) code_pacific_guadalcanal? when "pacific_guam?" sig(args) code_pacific_guam? when "pacific_honolulu?" sig(args) code_pacific_honolulu? when "pacific_johnston?" sig(args) code_pacific_johnston? when "pacific_kanton?" sig(args) code_pacific_kanton? when "pacific_kiritimati?" sig(args) code_pacific_kiritimati? when "pacific_kosrae?" sig(args) code_pacific_kosrae? when "pacific_kwajalein?" sig(args) code_pacific_kwajalein? when "pacific_majuro?" sig(args) code_pacific_majuro? when "pacific_marquesas?" sig(args) code_pacific_marquesas? when "pacific_midway?" sig(args) code_pacific_midway? when "pacific_nauru?" sig(args) code_pacific_nauru? when "pacific_niue?" sig(args) code_pacific_niue? when "pacific_norfolk?" sig(args) code_pacific_norfolk? when "pacific_noumea?" sig(args) code_pacific_noumea? when "pacific_pago_pago?" sig(args) code_pacific_pago_pago? when "pacific_palau?" sig(args) code_pacific_palau? when "pacific_pitcairn?" sig(args) code_pacific_pitcairn? when "pacific_pohnpei?" sig(args) code_pacific_pohnpei? when "pacific_ponape?" sig(args) code_pacific_ponape? when "pacific_port_moresby?" sig(args) code_pacific_port_moresby? when "pacific_rarotonga?" sig(args) code_pacific_rarotonga? when "pacific_saipan?" sig(args) code_pacific_saipan? when "pacific_samoa?" sig(args) code_pacific_samoa? when "pacific_tahiti?" sig(args) code_pacific_tahiti? when "pacific_tarawa?" sig(args) code_pacific_tarawa? when "pacific_tongatapu?" sig(args) code_pacific_tongatapu? when "pacific_truk?" sig(args) code_pacific_truk? when "pacific_wake?" sig(args) code_pacific_wake? when "pacific_wallis?" sig(args) code_pacific_wallis? when "pacific_yap?" sig(args) code_pacific_yap? when "poland?" sig(args) code_poland? when "portugal?" sig(args) code_portugal? when "roc?" sig(args) code_roc? when "rok?" sig(args) code_rok? when "singapore?" sig(args) code_singapore? when "turkey?" sig(args) code_turkey? when "uct?" sig(args) code_uct? when "us_alaska?" sig(args) code_us_alaska? when "us_aleutian?" sig(args) code_us_aleutian? when "us_arizona?" sig(args) code_us_arizona? when "us_central?" sig(args) code_us_central? when "us_east_minus_indiana?" sig(args) code_us_east_minus_indiana? when "us_eastern?" sig(args) code_us_eastern? when "us_hawaii?" sig(args) code_us_hawaii? when "us_indiana_minus_starke?" sig(args) code_us_indiana_minus_starke? when "us_michigan?" sig(args) code_us_michigan? when "us_mountain?" sig(args) code_us_mountain? when "us_pacific?" sig(args) code_us_pacific? when "us_samoa?" sig(args) code_us_samoa? when "utc?" sig(args) code_utc? when "universal?" sig(args) code_universal? when "w_minus_su?" sig(args) code_w_minus_su? when "wet?" sig(args) code_wet? when "zulu?" sig(args) code_zulu? when "utc_offset" sig(args) code_utc_offset when "year_day" sig(args) code_year_day when "month_day" sig(args) code_month_day when "nanosecond" sig(args) code_nanosecond when "nanoseconds" sig(args) code_nanoseconds when "millisecond" sig(args) code_millisecond when "milliseconds" sig(args) code_milliseconds when "utc" sig(args) code_utc when "local" sig(args) code_local when "beginning_of_day" sig(args) code_beginning_of_day when "end_of_day" sig(args) code_end_of_day when "january?" sig(args) code_january? when "february?" sig(args) code_february? when "march?" sig(args) code_march? when "april?" sig(args) code_april? when "may?" sig(args) code_may? when "june?" sig(args) code_june? when "july?" sig(args) code_july? when "august?" sig(args) code_august? when "september?" sig(args) code_september? when "october?" sig(args) code_october? when "november?" sig(args) code_november? when "december?" sig(args) code_december? when "add" sig(args) do { year: (String | Integer).maybe, years: (String | Integer).maybe, month: (String | Integer).maybe, months: (String | Integer).maybe, day: (String | Integer).maybe, days: (String | Integer).maybe, week_day: (String | Integer).maybe, week_days: (String | Integer).maybe, week: (String | Integer).maybe, weeks: (String | Integer).maybe, hour: (String | Integer).maybe, hours: (String | Integer).maybe, minute: (String | Integer).maybe, minutes: (String | Integer).maybe, second: (String | Integer).maybe, seconds: (String | Integer).maybe } end if code_value.nothing? code_add else code_add( year: code_value.code_get(:year), years: code_value.code_get(:years), month: code_value.code_get(:month), months: code_value.code_get(:months), day: code_value.code_get(:day), days: code_value.code_get(:days), week_day: code_value.code_get(:week_day), week_days: code_value.code_get(:week_days), week: code_value.code_get(:week), weeks: code_value.code_get(:weeks), hour: code_value.code_get(:hour), hours: code_value.code_get(:hours), minute: code_value.code_get(:minute), minutes: code_value.code_get(:minutes), second: code_value.code_get(:second), seconds: code_value.code_get(:seconds) ) end when "substract", "subtract" sig(args) do { year: (String | Integer).maybe, years: (String | Integer).maybe, month: (String | Integer).maybe, months: (String | Integer).maybe, day: (String | Integer).maybe, days: (String | Integer).maybe, week_day: (String | Integer).maybe, week_days: (String | Integer).maybe, week: (String | Integer).maybe, weeks: (String | Integer).maybe, hour: (String | Integer).maybe, hours: (String | Integer).maybe, minute: (String | Integer).maybe, minutes: (String | Integer).maybe, second: (String | Integer).maybe, seconds: (String | Integer).maybe } end if code_value.nothing? code_substract else code_substract( year: code_value.code_get(:year), years: code_value.code_get(:years), month: code_value.code_get(:month), months: code_value.code_get(:months), day: code_value.code_get(:day), days: code_value.code_get(:days), week_day: code_value.code_get(:week_day), week_days: code_value.code_get(:week_days), week: code_value.code_get(:week), weeks: code_value.code_get(:weeks), hour: code_value.code_get(:hour), hours: code_value.code_get(:hours), minute: code_value.code_get(:minute), minutes: code_value.code_get(:minutes), second: code_value.code_get(:second), seconds: code_value.code_get(:seconds) ) end when "change" sig(args) do { year: (String | Integer).maybe, years: (String | Integer).maybe, month: (String | Integer).maybe, months: (String | Integer).maybe, day: (String | Integer).maybe, days: (String | Integer).maybe, week_day: (String | Integer).maybe, week_days: (String | Integer).maybe, week: (String | Integer).maybe, weeks: (String | Integer).maybe, hour: (String | Integer).maybe, hours: (String | Integer).maybe, minute: (String | Integer).maybe, minutes: (String | Integer).maybe, second: (String | Integer).maybe, seconds: (String | Integer).maybe } end if code_value.nothing? code_change else code_change( year: code_value.code_get(:year), years: code_value.code_get(:years), month: code_value.code_get(:month), months: code_value.code_get(:months), day: code_value.code_get(:day), days: code_value.code_get(:days), week_day: code_value.code_get(:week_day), week_days: code_value.code_get(:week_days), week: code_value.code_get(:week), weeks: code_value.code_get(:weeks), hour: code_value.code_get(:hour), hours: code_value.code_get(:hours), minute: code_value.code_get(:minute), minutes: code_value.code_get(:minutes), second: code_value.code_get(:second), seconds: code_value.code_get(:seconds) ) end else super end end |
#code_add(year: nil, years: nil, month: nil, months: nil, day: nil, days: nil, week_day: nil, week_days: nil, week: nil, weeks: nil, hour: nil, hours: nil, minute: nil, minutes: nil, second: nil, seconds: nil) ⇒ Object
14294 14295 14296 14297 14298 14299 14300 14301 14302 14303 14304 14305 14306 14307 14308 14309 14310 14311 14312 14313 14314 14315 14316 14317 14318 14319 14320 14321 14322 14323 14324 14325 14326 14327 14328 14329 14330 14331 14332 14333 14334 14335 14336 14337 14338 14339 14340 14341 14342 14343 14344 |
# File 'lib/code/object/time.rb', line 14294 def code_add( year: nil, years: nil, month: nil, months: nil, day: nil, days: nil, week_day: nil, week_days: nil, week: nil, weeks: nil, hour: nil, hours: nil, minute: nil, minutes: nil, second: nil, seconds: nil ) code_year = year.to_code.nothing? ? years.to_code : year.to_code code_month = month.to_code.nothing? ? months.to_code : month.to_code code_day = day.to_code.nothing? ? days.to_code : day.to_code code_week_day = week_day.to_code.nothing? ? week_days.to_code : week_day.to_code code_week = week.to_code.nothing? ? weeks.to_code : week.to_code code_hour = hour.to_code.nothing? ? hours.to_code : hour.to_code code_minute = minute.to_code.nothing? ? minutes.to_code : minute.to_code code_second = second.to_code.nothing? ? seconds.to_code : second.to_code year = code_years.code_to_integer.raw + code_year.code_to_integer.raw month = code_months.code_to_integer.raw + code_month.code_to_integer.raw day = code_days.code_to_integer.raw + code_day.code_to_integer.raw week_day = code_week_days.code_to_integer.raw + code_week_day.code_to_integer.raw week = code_weeks.code_to_integer.raw + code_week.code_to_integer.raw hour = code_hours.code_to_integer.raw + code_hour.code_to_integer.raw minute = code_minutes.code_to_integer.raw + code_minute.code_to_integer.raw second = code_seconds.code_to_integer.raw + code_second.code_to_integer.raw code_change( year: year, month: month, day: day, week_day: week_day, week: week, hour: hour, minute: minute, second: second ) end |
#code_africa_abidjan? ⇒ Boolean
11817 11818 11819 |
# File 'lib/code/object/time.rb', line 11817 def code_africa_abidjan? Boolean.new(raw_time_zone_names.include?("Africa/Abidjan")) end |
#code_africa_accra? ⇒ Boolean
11821 11822 11823 |
# File 'lib/code/object/time.rb', line 11821 def code_africa_accra? Boolean.new(raw_time_zone_names.include?("Africa/Accra")) end |
#code_africa_addis_ababa? ⇒ Boolean
11825 11826 11827 |
# File 'lib/code/object/time.rb', line 11825 def code_africa_addis_ababa? Boolean.new(raw_time_zone_names.include?("Africa/Addis_Ababa")) end |
#code_africa_algiers? ⇒ Boolean
11829 11830 11831 |
# File 'lib/code/object/time.rb', line 11829 def code_africa_algiers? Boolean.new(raw_time_zone_names.include?("Africa/Algiers")) end |
#code_africa_asmara? ⇒ Boolean
11833 11834 11835 |
# File 'lib/code/object/time.rb', line 11833 def code_africa_asmara? Boolean.new(raw_time_zone_names.include?("Africa/Asmara")) end |
#code_africa_asmera? ⇒ Boolean
11837 11838 11839 |
# File 'lib/code/object/time.rb', line 11837 def code_africa_asmera? Boolean.new(raw_time_zone_names.include?("Africa/Asmera")) end |
#code_africa_bamako? ⇒ Boolean
11841 11842 11843 |
# File 'lib/code/object/time.rb', line 11841 def code_africa_bamako? Boolean.new(raw_time_zone_names.include?("Africa/Bamako")) end |
#code_africa_bangui? ⇒ Boolean
11845 11846 11847 |
# File 'lib/code/object/time.rb', line 11845 def code_africa_bangui? Boolean.new(raw_time_zone_names.include?("Africa/Bangui")) end |
#code_africa_banjul? ⇒ Boolean
11849 11850 11851 |
# File 'lib/code/object/time.rb', line 11849 def code_africa_banjul? Boolean.new(raw_time_zone_names.include?("Africa/Banjul")) end |
#code_africa_bissau? ⇒ Boolean
11853 11854 11855 |
# File 'lib/code/object/time.rb', line 11853 def code_africa_bissau? Boolean.new(raw_time_zone_names.include?("Africa/Bissau")) end |
#code_africa_blantyre? ⇒ Boolean
11857 11858 11859 |
# File 'lib/code/object/time.rb', line 11857 def code_africa_blantyre? Boolean.new(raw_time_zone_names.include?("Africa/Blantyre")) end |
#code_africa_brazzaville? ⇒ Boolean
11861 11862 11863 |
# File 'lib/code/object/time.rb', line 11861 def code_africa_brazzaville? Boolean.new(raw_time_zone_names.include?("Africa/Brazzaville")) end |
#code_africa_bujumbura? ⇒ Boolean
11865 11866 11867 |
# File 'lib/code/object/time.rb', line 11865 def code_africa_bujumbura? Boolean.new(raw_time_zone_names.include?("Africa/Bujumbura")) end |
#code_africa_cairo? ⇒ Boolean
11869 11870 11871 |
# File 'lib/code/object/time.rb', line 11869 def code_africa_cairo? Boolean.new(raw_time_zone_names.include?("Africa/Cairo")) end |
#code_africa_casablanca? ⇒ Boolean
11873 11874 11875 |
# File 'lib/code/object/time.rb', line 11873 def code_africa_casablanca? Boolean.new(raw_time_zone_names.include?("Africa/Casablanca")) end |
#code_africa_ceuta? ⇒ Boolean
11877 11878 11879 |
# File 'lib/code/object/time.rb', line 11877 def code_africa_ceuta? Boolean.new(raw_time_zone_names.include?("Africa/Ceuta")) end |
#code_africa_conakry? ⇒ Boolean
11881 11882 11883 |
# File 'lib/code/object/time.rb', line 11881 def code_africa_conakry? Boolean.new(raw_time_zone_names.include?("Africa/Conakry")) end |
#code_africa_dakar? ⇒ Boolean
11885 11886 11887 |
# File 'lib/code/object/time.rb', line 11885 def code_africa_dakar? Boolean.new(raw_time_zone_names.include?("Africa/Dakar")) end |
#code_africa_dar_es_salaam? ⇒ Boolean
11889 11890 11891 |
# File 'lib/code/object/time.rb', line 11889 def code_africa_dar_es_salaam? Boolean.new(raw_time_zone_names.include?("Africa/Dar_es_Salaam")) end |
#code_africa_djibouti? ⇒ Boolean
11893 11894 11895 |
# File 'lib/code/object/time.rb', line 11893 def code_africa_djibouti? Boolean.new(raw_time_zone_names.include?("Africa/Djibouti")) end |
#code_africa_douala? ⇒ Boolean
11897 11898 11899 |
# File 'lib/code/object/time.rb', line 11897 def code_africa_douala? Boolean.new(raw_time_zone_names.include?("Africa/Douala")) end |
#code_africa_el_aaiun? ⇒ Boolean
11901 11902 11903 |
# File 'lib/code/object/time.rb', line 11901 def code_africa_el_aaiun? Boolean.new(raw_time_zone_names.include?("Africa/El_Aaiun")) end |
#code_africa_freetown? ⇒ Boolean
11905 11906 11907 |
# File 'lib/code/object/time.rb', line 11905 def code_africa_freetown? Boolean.new(raw_time_zone_names.include?("Africa/Freetown")) end |
#code_africa_gaborone? ⇒ Boolean
11909 11910 11911 |
# File 'lib/code/object/time.rb', line 11909 def code_africa_gaborone? Boolean.new(raw_time_zone_names.include?("Africa/Gaborone")) end |
#code_africa_harare? ⇒ Boolean
11913 11914 11915 |
# File 'lib/code/object/time.rb', line 11913 def code_africa_harare? Boolean.new(raw_time_zone_names.include?("Africa/Harare")) end |
#code_africa_johannesburg? ⇒ Boolean
11917 11918 11919 |
# File 'lib/code/object/time.rb', line 11917 def code_africa_johannesburg? Boolean.new(raw_time_zone_names.include?("Africa/Johannesburg")) end |
#code_africa_juba? ⇒ Boolean
11921 11922 11923 |
# File 'lib/code/object/time.rb', line 11921 def code_africa_juba? Boolean.new(raw_time_zone_names.include?("Africa/Juba")) end |
#code_africa_kampala? ⇒ Boolean
11925 11926 11927 |
# File 'lib/code/object/time.rb', line 11925 def code_africa_kampala? Boolean.new(raw_time_zone_names.include?("Africa/Kampala")) end |
#code_africa_khartoum? ⇒ Boolean
11929 11930 11931 |
# File 'lib/code/object/time.rb', line 11929 def code_africa_khartoum? Boolean.new(raw_time_zone_names.include?("Africa/Khartoum")) end |
#code_africa_kigali? ⇒ Boolean
11933 11934 11935 |
# File 'lib/code/object/time.rb', line 11933 def code_africa_kigali? Boolean.new(raw_time_zone_names.include?("Africa/Kigali")) end |
#code_africa_kinshasa? ⇒ Boolean
11937 11938 11939 |
# File 'lib/code/object/time.rb', line 11937 def code_africa_kinshasa? Boolean.new(raw_time_zone_names.include?("Africa/Kinshasa")) end |
#code_africa_lagos? ⇒ Boolean
11941 11942 11943 |
# File 'lib/code/object/time.rb', line 11941 def code_africa_lagos? Boolean.new(raw_time_zone_names.include?("Africa/Lagos")) end |
#code_africa_libreville? ⇒ Boolean
11945 11946 11947 |
# File 'lib/code/object/time.rb', line 11945 def code_africa_libreville? Boolean.new(raw_time_zone_names.include?("Africa/Libreville")) end |
#code_africa_lome? ⇒ Boolean
11949 11950 11951 |
# File 'lib/code/object/time.rb', line 11949 def code_africa_lome? Boolean.new(raw_time_zone_names.include?("Africa/Lome")) end |
#code_africa_luanda? ⇒ Boolean
11953 11954 11955 |
# File 'lib/code/object/time.rb', line 11953 def code_africa_luanda? Boolean.new(raw_time_zone_names.include?("Africa/Luanda")) end |
#code_africa_lubumbashi? ⇒ Boolean
11957 11958 11959 |
# File 'lib/code/object/time.rb', line 11957 def code_africa_lubumbashi? Boolean.new(raw_time_zone_names.include?("Africa/Lubumbashi")) end |
#code_africa_lusaka? ⇒ Boolean
11961 11962 11963 |
# File 'lib/code/object/time.rb', line 11961 def code_africa_lusaka? Boolean.new(raw_time_zone_names.include?("Africa/Lusaka")) end |
#code_africa_malabo? ⇒ Boolean
11965 11966 11967 |
# File 'lib/code/object/time.rb', line 11965 def code_africa_malabo? Boolean.new(raw_time_zone_names.include?("Africa/Malabo")) end |
#code_africa_maputo? ⇒ Boolean
11969 11970 11971 |
# File 'lib/code/object/time.rb', line 11969 def code_africa_maputo? Boolean.new(raw_time_zone_names.include?("Africa/Maputo")) end |
#code_africa_maseru? ⇒ Boolean
11973 11974 11975 |
# File 'lib/code/object/time.rb', line 11973 def code_africa_maseru? Boolean.new(raw_time_zone_names.include?("Africa/Maseru")) end |
#code_africa_mbabane? ⇒ Boolean
11977 11978 11979 |
# File 'lib/code/object/time.rb', line 11977 def code_africa_mbabane? Boolean.new(raw_time_zone_names.include?("Africa/Mbabane")) end |
#code_africa_mogadishu? ⇒ Boolean
11981 11982 11983 |
# File 'lib/code/object/time.rb', line 11981 def code_africa_mogadishu? Boolean.new(raw_time_zone_names.include?("Africa/Mogadishu")) end |
#code_africa_monrovia? ⇒ Boolean
11985 11986 11987 |
# File 'lib/code/object/time.rb', line 11985 def code_africa_monrovia? Boolean.new(raw_time_zone_names.include?("Africa/Monrovia")) end |
#code_africa_nairobi? ⇒ Boolean
11989 11990 11991 |
# File 'lib/code/object/time.rb', line 11989 def code_africa_nairobi? Boolean.new(raw_time_zone_names.include?("Africa/Nairobi")) end |
#code_africa_ndjamena? ⇒ Boolean
11993 11994 11995 |
# File 'lib/code/object/time.rb', line 11993 def code_africa_ndjamena? Boolean.new(raw_time_zone_names.include?("Africa/Ndjamena")) end |
#code_africa_niamey? ⇒ Boolean
11997 11998 11999 |
# File 'lib/code/object/time.rb', line 11997 def code_africa_niamey? Boolean.new(raw_time_zone_names.include?("Africa/Niamey")) end |
#code_africa_nouakchott? ⇒ Boolean
12001 12002 12003 |
# File 'lib/code/object/time.rb', line 12001 def code_africa_nouakchott? Boolean.new(raw_time_zone_names.include?("Africa/Nouakchott")) end |
#code_africa_ouagadougou? ⇒ Boolean
12005 12006 12007 |
# File 'lib/code/object/time.rb', line 12005 def code_africa_ouagadougou? Boolean.new(raw_time_zone_names.include?("Africa/Ouagadougou")) end |
#code_africa_porto_minus_novo? ⇒ Boolean
12009 12010 12011 |
# File 'lib/code/object/time.rb', line 12009 def code_africa_porto_minus_novo? Boolean.new(raw_time_zone_names.include?("Africa/Porto-Novo")) end |
#code_africa_sao_tome? ⇒ Boolean
12013 12014 12015 |
# File 'lib/code/object/time.rb', line 12013 def code_africa_sao_tome? Boolean.new(raw_time_zone_names.include?("Africa/Sao_Tome")) end |
#code_africa_timbuktu? ⇒ Boolean
12017 12018 12019 |
# File 'lib/code/object/time.rb', line 12017 def code_africa_timbuktu? Boolean.new(raw_time_zone_names.include?("Africa/Timbuktu")) end |
#code_africa_tripoli? ⇒ Boolean
12021 12022 12023 |
# File 'lib/code/object/time.rb', line 12021 def code_africa_tripoli? Boolean.new(raw_time_zone_names.include?("Africa/Tripoli")) end |
#code_africa_tunis? ⇒ Boolean
12025 12026 12027 |
# File 'lib/code/object/time.rb', line 12025 def code_africa_tunis? Boolean.new(raw_time_zone_names.include?("Africa/Tunis")) end |
#code_africa_windhoek? ⇒ Boolean
12029 12030 12031 |
# File 'lib/code/object/time.rb', line 12029 def code_africa_windhoek? Boolean.new(raw_time_zone_names.include?("Africa/Windhoek")) end |
#code_after?(other = nil) ⇒ Boolean
11593 11594 11595 11596 11597 11598 |
# File 'lib/code/object/time.rb', line 11593 def code_after?(other = nil) code_other = other.to_code code_other = Time.new if code_other.nothing? Boolean.new(raw.after?(code_other.raw)) end |
#code_america_adak? ⇒ Boolean
12033 12034 12035 |
# File 'lib/code/object/time.rb', line 12033 def code_america_adak? Boolean.new(raw_time_zone_names.include?("America/Adak")) end |
#code_america_anchorage? ⇒ Boolean
12037 12038 12039 |
# File 'lib/code/object/time.rb', line 12037 def code_america_anchorage? Boolean.new(raw_time_zone_names.include?("America/Anchorage")) end |
#code_america_anguilla? ⇒ Boolean
12041 12042 12043 |
# File 'lib/code/object/time.rb', line 12041 def code_america_anguilla? Boolean.new(raw_time_zone_names.include?("America/Anguilla")) end |
#code_america_antigua? ⇒ Boolean
12045 12046 12047 |
# File 'lib/code/object/time.rb', line 12045 def code_america_antigua? Boolean.new(raw_time_zone_names.include?("America/Antigua")) end |
#code_america_araguaina? ⇒ Boolean
12049 12050 12051 |
# File 'lib/code/object/time.rb', line 12049 def code_america_araguaina? Boolean.new(raw_time_zone_names.include?("America/Araguaina")) end |
#code_america_argentina_buenos_aires? ⇒ Boolean
12053 12054 12055 12056 12057 |
# File 'lib/code/object/time.rb', line 12053 def code_america_argentina_buenos_aires? Boolean.new( raw_time_zone_names.include?("America/Argentina/Buenos_Aires") ) end |
#code_america_argentina_catamarca? ⇒ Boolean
12059 12060 12061 |
# File 'lib/code/object/time.rb', line 12059 def code_america_argentina_catamarca? Boolean.new(raw_time_zone_names.include?("America/Argentina/Catamarca")) end |
#code_america_argentina_comodrivadavia? ⇒ Boolean
12063 12064 12065 12066 12067 |
# File 'lib/code/object/time.rb', line 12063 def code_america_argentina_comodrivadavia? Boolean.new( raw_time_zone_names.include?("America/Argentina/ComodRivadavia") ) end |
#code_america_argentina_cordoba? ⇒ Boolean
12069 12070 12071 |
# File 'lib/code/object/time.rb', line 12069 def code_america_argentina_cordoba? Boolean.new(raw_time_zone_names.include?("America/Argentina/Cordoba")) end |
#code_america_argentina_jujuy? ⇒ Boolean
12073 12074 12075 |
# File 'lib/code/object/time.rb', line 12073 def code_america_argentina_jujuy? Boolean.new(raw_time_zone_names.include?("America/Argentina/Jujuy")) end |
#code_america_argentina_la_rioja? ⇒ Boolean
12077 12078 12079 |
# File 'lib/code/object/time.rb', line 12077 def code_america_argentina_la_rioja? Boolean.new(raw_time_zone_names.include?("America/Argentina/La_Rioja")) end |
#code_america_argentina_mendoza? ⇒ Boolean
12081 12082 12083 |
# File 'lib/code/object/time.rb', line 12081 def code_america_argentina_mendoza? Boolean.new(raw_time_zone_names.include?("America/Argentina/Mendoza")) end |
#code_america_argentina_rio_gallegos? ⇒ Boolean
12085 12086 12087 12088 12089 |
# File 'lib/code/object/time.rb', line 12085 def code_america_argentina_rio_gallegos? Boolean.new( raw_time_zone_names.include?("America/Argentina/Rio_Gallegos") ) end |
#code_america_argentina_salta? ⇒ Boolean
12091 12092 12093 |
# File 'lib/code/object/time.rb', line 12091 def code_america_argentina_salta? Boolean.new(raw_time_zone_names.include?("America/Argentina/Salta")) end |
#code_america_argentina_san_juan? ⇒ Boolean
12095 12096 12097 |
# File 'lib/code/object/time.rb', line 12095 def code_america_argentina_san_juan? Boolean.new(raw_time_zone_names.include?("America/Argentina/San_Juan")) end |
#code_america_argentina_san_luis? ⇒ Boolean
12099 12100 12101 |
# File 'lib/code/object/time.rb', line 12099 def code_america_argentina_san_luis? Boolean.new(raw_time_zone_names.include?("America/Argentina/San_Luis")) end |
#code_america_argentina_tucuman? ⇒ Boolean
12103 12104 12105 |
# File 'lib/code/object/time.rb', line 12103 def code_america_argentina_tucuman? Boolean.new(raw_time_zone_names.include?("America/Argentina/Tucuman")) end |
#code_america_argentina_ushuaia? ⇒ Boolean
12107 12108 12109 |
# File 'lib/code/object/time.rb', line 12107 def code_america_argentina_ushuaia? Boolean.new(raw_time_zone_names.include?("America/Argentina/Ushuaia")) end |
#code_america_aruba? ⇒ Boolean
12111 12112 12113 |
# File 'lib/code/object/time.rb', line 12111 def code_america_aruba? Boolean.new(raw_time_zone_names.include?("America/Aruba")) end |
#code_america_asuncion? ⇒ Boolean
12115 12116 12117 |
# File 'lib/code/object/time.rb', line 12115 def code_america_asuncion? Boolean.new(raw_time_zone_names.include?("America/Asuncion")) end |
#code_america_atikokan? ⇒ Boolean
12119 12120 12121 |
# File 'lib/code/object/time.rb', line 12119 def code_america_atikokan? Boolean.new(raw_time_zone_names.include?("America/Atikokan")) end |
#code_america_atka? ⇒ Boolean
12123 12124 12125 |
# File 'lib/code/object/time.rb', line 12123 def code_america_atka? Boolean.new(raw_time_zone_names.include?("America/Atka")) end |
#code_america_bahia? ⇒ Boolean
12127 12128 12129 |
# File 'lib/code/object/time.rb', line 12127 def code_america_bahia? Boolean.new(raw_time_zone_names.include?("America/Bahia")) end |
#code_america_bahia_banderas? ⇒ Boolean
12131 12132 12133 |
# File 'lib/code/object/time.rb', line 12131 def code_america_bahia_banderas? Boolean.new(raw_time_zone_names.include?("America/Bahia_Banderas")) end |
#code_america_barbados? ⇒ Boolean
12135 12136 12137 |
# File 'lib/code/object/time.rb', line 12135 def Boolean.new(raw_time_zone_names.include?("America/Barbados")) end |
#code_america_belem? ⇒ Boolean
12139 12140 12141 |
# File 'lib/code/object/time.rb', line 12139 def code_america_belem? Boolean.new(raw_time_zone_names.include?("America/Belem")) end |
#code_america_belize? ⇒ Boolean
12143 12144 12145 |
# File 'lib/code/object/time.rb', line 12143 def code_america_belize? Boolean.new(raw_time_zone_names.include?("America/Belize")) end |
#code_america_blanc_minus_sablon? ⇒ Boolean
12147 12148 12149 |
# File 'lib/code/object/time.rb', line 12147 def code_america_blanc_minus_sablon? Boolean.new(raw_time_zone_names.include?("America/Blanc-Sablon")) end |
#code_america_boa_vista? ⇒ Boolean
12151 12152 12153 |
# File 'lib/code/object/time.rb', line 12151 def code_america_boa_vista? Boolean.new(raw_time_zone_names.include?("America/Boa_Vista")) end |
#code_america_bogota? ⇒ Boolean
12155 12156 12157 |
# File 'lib/code/object/time.rb', line 12155 def code_america_bogota? Boolean.new(raw_time_zone_names.include?("America/Bogota")) end |
#code_america_boise? ⇒ Boolean
12159 12160 12161 |
# File 'lib/code/object/time.rb', line 12159 def code_america_boise? Boolean.new(raw_time_zone_names.include?("America/Boise")) end |
#code_america_buenos_aires? ⇒ Boolean
12163 12164 12165 |
# File 'lib/code/object/time.rb', line 12163 def code_america_buenos_aires? Boolean.new(raw_time_zone_names.include?("America/Buenos_Aires")) end |
#code_america_cambridge_bay? ⇒ Boolean
12167 12168 12169 |
# File 'lib/code/object/time.rb', line 12167 def code_america_cambridge_bay? Boolean.new(raw_time_zone_names.include?("America/Cambridge_Bay")) end |
#code_america_campo_grande? ⇒ Boolean
12171 12172 12173 |
# File 'lib/code/object/time.rb', line 12171 def code_america_campo_grande? Boolean.new(raw_time_zone_names.include?("America/Campo_Grande")) end |
#code_america_cancun? ⇒ Boolean
12175 12176 12177 |
# File 'lib/code/object/time.rb', line 12175 def code_america_cancun? Boolean.new(raw_time_zone_names.include?("America/Cancun")) end |
#code_america_caracas? ⇒ Boolean
12179 12180 12181 |
# File 'lib/code/object/time.rb', line 12179 def code_america_caracas? Boolean.new(raw_time_zone_names.include?("America/Caracas")) end |
#code_america_catamarca? ⇒ Boolean
12183 12184 12185 |
# File 'lib/code/object/time.rb', line 12183 def code_america_catamarca? Boolean.new(raw_time_zone_names.include?("America/Catamarca")) end |
#code_america_cayenne? ⇒ Boolean
12187 12188 12189 |
# File 'lib/code/object/time.rb', line 12187 def code_america_cayenne? Boolean.new(raw_time_zone_names.include?("America/Cayenne")) end |
#code_america_cayman? ⇒ Boolean
12191 12192 12193 |
# File 'lib/code/object/time.rb', line 12191 def code_america_cayman? Boolean.new(raw_time_zone_names.include?("America/Cayman")) end |
#code_america_chicago? ⇒ Boolean
12195 12196 12197 |
# File 'lib/code/object/time.rb', line 12195 def code_america_chicago? Boolean.new(raw_time_zone_names.include?("America/Chicago")) end |
#code_america_chihuahua? ⇒ Boolean
12199 12200 12201 |
# File 'lib/code/object/time.rb', line 12199 def code_america_chihuahua? Boolean.new(raw_time_zone_names.include?("America/Chihuahua")) end |
#code_america_ciudad_juarez? ⇒ Boolean
12203 12204 12205 |
# File 'lib/code/object/time.rb', line 12203 def code_america_ciudad_juarez? Boolean.new(raw_time_zone_names.include?("America/Ciudad_Juarez")) end |
#code_america_coral_harbour? ⇒ Boolean
12207 12208 12209 |
# File 'lib/code/object/time.rb', line 12207 def code_america_coral_harbour? Boolean.new(raw_time_zone_names.include?("America/Coral_Harbour")) end |
#code_america_cordoba? ⇒ Boolean
12211 12212 12213 |
# File 'lib/code/object/time.rb', line 12211 def code_america_cordoba? Boolean.new(raw_time_zone_names.include?("America/Cordoba")) end |
#code_america_costa_rica? ⇒ Boolean
12215 12216 12217 |
# File 'lib/code/object/time.rb', line 12215 def code_america_costa_rica? Boolean.new(raw_time_zone_names.include?("America/Costa_Rica")) end |
#code_america_coyhaique? ⇒ Boolean
12219 12220 12221 |
# File 'lib/code/object/time.rb', line 12219 def code_america_coyhaique? Boolean.new(raw_time_zone_names.include?("America/Coyhaique")) end |
#code_america_creston? ⇒ Boolean
12223 12224 12225 |
# File 'lib/code/object/time.rb', line 12223 def code_america_creston? Boolean.new(raw_time_zone_names.include?("America/Creston")) end |
#code_america_cuiaba? ⇒ Boolean
12227 12228 12229 |
# File 'lib/code/object/time.rb', line 12227 def code_america_cuiaba? Boolean.new(raw_time_zone_names.include?("America/Cuiaba")) end |
#code_america_curacao? ⇒ Boolean
12231 12232 12233 |
# File 'lib/code/object/time.rb', line 12231 def code_america_curacao? Boolean.new(raw_time_zone_names.include?("America/Curacao")) end |
#code_america_danmarkshavn? ⇒ Boolean
12235 12236 12237 |
# File 'lib/code/object/time.rb', line 12235 def code_america_danmarkshavn? Boolean.new(raw_time_zone_names.include?("America/Danmarkshavn")) end |
#code_america_dawson? ⇒ Boolean
12239 12240 12241 |
# File 'lib/code/object/time.rb', line 12239 def code_america_dawson? Boolean.new(raw_time_zone_names.include?("America/Dawson")) end |
#code_america_dawson_creek? ⇒ Boolean
12243 12244 12245 |
# File 'lib/code/object/time.rb', line 12243 def code_america_dawson_creek? Boolean.new(raw_time_zone_names.include?("America/Dawson_Creek")) end |
#code_america_denver? ⇒ Boolean
12247 12248 12249 |
# File 'lib/code/object/time.rb', line 12247 def code_america_denver? Boolean.new(raw_time_zone_names.include?("America/Denver")) end |
#code_america_detroit? ⇒ Boolean
12251 12252 12253 |
# File 'lib/code/object/time.rb', line 12251 def code_america_detroit? Boolean.new(raw_time_zone_names.include?("America/Detroit")) end |
#code_america_dominica? ⇒ Boolean
12255 12256 12257 |
# File 'lib/code/object/time.rb', line 12255 def code_america_dominica? Boolean.new(raw_time_zone_names.include?("America/Dominica")) end |
#code_america_edmonton? ⇒ Boolean
12259 12260 12261 |
# File 'lib/code/object/time.rb', line 12259 def code_america_edmonton? Boolean.new(raw_time_zone_names.include?("America/Edmonton")) end |
#code_america_eirunepe? ⇒ Boolean
12263 12264 12265 |
# File 'lib/code/object/time.rb', line 12263 def code_america_eirunepe? Boolean.new(raw_time_zone_names.include?("America/Eirunepe")) end |
#code_america_el_salvador? ⇒ Boolean
12267 12268 12269 |
# File 'lib/code/object/time.rb', line 12267 def code_america_el_salvador? Boolean.new(raw_time_zone_names.include?("America/El_Salvador")) end |
#code_america_ensenada? ⇒ Boolean
12271 12272 12273 |
# File 'lib/code/object/time.rb', line 12271 def code_america_ensenada? Boolean.new(raw_time_zone_names.include?("America/Ensenada")) end |
#code_america_fort_nelson? ⇒ Boolean
12275 12276 12277 |
# File 'lib/code/object/time.rb', line 12275 def code_america_fort_nelson? Boolean.new(raw_time_zone_names.include?("America/Fort_Nelson")) end |
#code_america_fort_wayne? ⇒ Boolean
12279 12280 12281 |
# File 'lib/code/object/time.rb', line 12279 def code_america_fort_wayne? Boolean.new(raw_time_zone_names.include?("America/Fort_Wayne")) end |
#code_america_fortaleza? ⇒ Boolean
12283 12284 12285 |
# File 'lib/code/object/time.rb', line 12283 def code_america_fortaleza? Boolean.new(raw_time_zone_names.include?("America/Fortaleza")) end |
#code_america_glace_bay? ⇒ Boolean
12287 12288 12289 |
# File 'lib/code/object/time.rb', line 12287 def code_america_glace_bay? Boolean.new(raw_time_zone_names.include?("America/Glace_Bay")) end |
#code_america_godthab? ⇒ Boolean
12291 12292 12293 |
# File 'lib/code/object/time.rb', line 12291 def code_america_godthab? Boolean.new(raw_time_zone_names.include?("America/Godthab")) end |
#code_america_goose_bay? ⇒ Boolean
12295 12296 12297 |
# File 'lib/code/object/time.rb', line 12295 def code_america_goose_bay? Boolean.new(raw_time_zone_names.include?("America/Goose_Bay")) end |
#code_america_grand_turk? ⇒ Boolean
12299 12300 12301 |
# File 'lib/code/object/time.rb', line 12299 def code_america_grand_turk? Boolean.new(raw_time_zone_names.include?("America/Grand_Turk")) end |
#code_america_grenada? ⇒ Boolean
12303 12304 12305 |
# File 'lib/code/object/time.rb', line 12303 def code_america_grenada? Boolean.new(raw_time_zone_names.include?("America/Grenada")) end |
#code_america_guadeloupe? ⇒ Boolean
12307 12308 12309 |
# File 'lib/code/object/time.rb', line 12307 def code_america_guadeloupe? Boolean.new(raw_time_zone_names.include?("America/Guadeloupe")) end |
#code_america_guatemala? ⇒ Boolean
12311 12312 12313 |
# File 'lib/code/object/time.rb', line 12311 def code_america_guatemala? Boolean.new(raw_time_zone_names.include?("America/Guatemala")) end |
#code_america_guayaquil? ⇒ Boolean
12315 12316 12317 |
# File 'lib/code/object/time.rb', line 12315 def code_america_guayaquil? Boolean.new(raw_time_zone_names.include?("America/Guayaquil")) end |
#code_america_guyana? ⇒ Boolean
12319 12320 12321 |
# File 'lib/code/object/time.rb', line 12319 def code_america_guyana? Boolean.new(raw_time_zone_names.include?("America/Guyana")) end |
#code_america_halifax? ⇒ Boolean
12323 12324 12325 |
# File 'lib/code/object/time.rb', line 12323 def code_america_halifax? Boolean.new(raw_time_zone_names.include?("America/Halifax")) end |
#code_america_havana? ⇒ Boolean
12327 12328 12329 |
# File 'lib/code/object/time.rb', line 12327 def code_america_havana? Boolean.new(raw_time_zone_names.include?("America/Havana")) end |
#code_america_hermosillo? ⇒ Boolean
12331 12332 12333 |
# File 'lib/code/object/time.rb', line 12331 def code_america_hermosillo? Boolean.new(raw_time_zone_names.include?("America/Hermosillo")) end |
#code_america_indiana_indianapolis? ⇒ Boolean
12335 12336 12337 12338 12339 |
# File 'lib/code/object/time.rb', line 12335 def code_america_indiana_indianapolis? Boolean.new( raw_time_zone_names.include?("America/Indiana/Indianapolis") ) end |
#code_america_indiana_knox? ⇒ Boolean
12341 12342 12343 |
# File 'lib/code/object/time.rb', line 12341 def code_america_indiana_knox? Boolean.new(raw_time_zone_names.include?("America/Indiana/Knox")) end |
#code_america_indiana_marengo? ⇒ Boolean
12345 12346 12347 |
# File 'lib/code/object/time.rb', line 12345 def code_america_indiana_marengo? Boolean.new(raw_time_zone_names.include?("America/Indiana/Marengo")) end |
#code_america_indiana_petersburg? ⇒ Boolean
12349 12350 12351 |
# File 'lib/code/object/time.rb', line 12349 def code_america_indiana_petersburg? Boolean.new(raw_time_zone_names.include?("America/Indiana/Petersburg")) end |
#code_america_indiana_tell_city? ⇒ Boolean
12353 12354 12355 |
# File 'lib/code/object/time.rb', line 12353 def code_america_indiana_tell_city? Boolean.new(raw_time_zone_names.include?("America/Indiana/Tell_City")) end |
#code_america_indiana_vevay? ⇒ Boolean
12357 12358 12359 |
# File 'lib/code/object/time.rb', line 12357 def code_america_indiana_vevay? Boolean.new(raw_time_zone_names.include?("America/Indiana/Vevay")) end |
#code_america_indiana_vincennes? ⇒ Boolean
12361 12362 12363 |
# File 'lib/code/object/time.rb', line 12361 def code_america_indiana_vincennes? Boolean.new(raw_time_zone_names.include?("America/Indiana/Vincennes")) end |
#code_america_indiana_winamac? ⇒ Boolean
12365 12366 12367 |
# File 'lib/code/object/time.rb', line 12365 def code_america_indiana_winamac? Boolean.new(raw_time_zone_names.include?("America/Indiana/Winamac")) end |
#code_america_indianapolis? ⇒ Boolean
12369 12370 12371 |
# File 'lib/code/object/time.rb', line 12369 def code_america_indianapolis? Boolean.new(raw_time_zone_names.include?("America/Indianapolis")) end |
#code_america_inuvik? ⇒ Boolean
12373 12374 12375 |
# File 'lib/code/object/time.rb', line 12373 def code_america_inuvik? Boolean.new(raw_time_zone_names.include?("America/Inuvik")) end |
#code_america_iqaluit? ⇒ Boolean
12377 12378 12379 |
# File 'lib/code/object/time.rb', line 12377 def code_america_iqaluit? Boolean.new(raw_time_zone_names.include?("America/Iqaluit")) end |
#code_america_jamaica? ⇒ Boolean
12381 12382 12383 |
# File 'lib/code/object/time.rb', line 12381 def code_america_jamaica? Boolean.new(raw_time_zone_names.include?("America/Jamaica")) end |
#code_america_jujuy? ⇒ Boolean
12385 12386 12387 |
# File 'lib/code/object/time.rb', line 12385 def code_america_jujuy? Boolean.new(raw_time_zone_names.include?("America/Jujuy")) end |
#code_america_juneau? ⇒ Boolean
12389 12390 12391 |
# File 'lib/code/object/time.rb', line 12389 def code_america_juneau? Boolean.new(raw_time_zone_names.include?("America/Juneau")) end |
#code_america_kentucky_louisville? ⇒ Boolean
12393 12394 12395 |
# File 'lib/code/object/time.rb', line 12393 def code_america_kentucky_louisville? Boolean.new(raw_time_zone_names.include?("America/Kentucky/Louisville")) end |
#code_america_kentucky_monticello? ⇒ Boolean
12397 12398 12399 |
# File 'lib/code/object/time.rb', line 12397 def code_america_kentucky_monticello? Boolean.new(raw_time_zone_names.include?("America/Kentucky/Monticello")) end |
#code_america_knox_in? ⇒ Boolean
12401 12402 12403 |
# File 'lib/code/object/time.rb', line 12401 def code_america_knox_in? Boolean.new(raw_time_zone_names.include?("America/Knox_IN")) end |
#code_america_kralendijk? ⇒ Boolean
12405 12406 12407 |
# File 'lib/code/object/time.rb', line 12405 def code_america_kralendijk? Boolean.new(raw_time_zone_names.include?("America/Kralendijk")) end |
#code_america_la_paz? ⇒ Boolean
12409 12410 12411 |
# File 'lib/code/object/time.rb', line 12409 def code_america_la_paz? Boolean.new(raw_time_zone_names.include?("America/La_Paz")) end |
#code_america_lima? ⇒ Boolean
12413 12414 12415 |
# File 'lib/code/object/time.rb', line 12413 def code_america_lima? Boolean.new(raw_time_zone_names.include?("America/Lima")) end |
#code_america_los_angeles? ⇒ Boolean
12417 12418 12419 |
# File 'lib/code/object/time.rb', line 12417 def code_america_los_angeles? Boolean.new(raw_time_zone_names.include?("America/Los_Angeles")) end |
#code_america_louisville? ⇒ Boolean
12421 12422 12423 |
# File 'lib/code/object/time.rb', line 12421 def code_america_louisville? Boolean.new(raw_time_zone_names.include?("America/Louisville")) end |
#code_america_lower_princes? ⇒ Boolean
12425 12426 12427 |
# File 'lib/code/object/time.rb', line 12425 def code_america_lower_princes? Boolean.new(raw_time_zone_names.include?("America/Lower_Princes")) end |
#code_america_maceio? ⇒ Boolean
12429 12430 12431 |
# File 'lib/code/object/time.rb', line 12429 def code_america_maceio? Boolean.new(raw_time_zone_names.include?("America/Maceio")) end |
#code_america_managua? ⇒ Boolean
12433 12434 12435 |
# File 'lib/code/object/time.rb', line 12433 def code_america_managua? Boolean.new(raw_time_zone_names.include?("America/Managua")) end |
#code_america_manaus? ⇒ Boolean
12437 12438 12439 |
# File 'lib/code/object/time.rb', line 12437 def code_america_manaus? Boolean.new(raw_time_zone_names.include?("America/Manaus")) end |
#code_america_marigot? ⇒ Boolean
12441 12442 12443 |
# File 'lib/code/object/time.rb', line 12441 def code_america_marigot? Boolean.new(raw_time_zone_names.include?("America/Marigot")) end |
#code_america_martinique? ⇒ Boolean
12445 12446 12447 |
# File 'lib/code/object/time.rb', line 12445 def code_america_martinique? Boolean.new(raw_time_zone_names.include?("America/Martinique")) end |
#code_america_matamoros? ⇒ Boolean
12449 12450 12451 |
# File 'lib/code/object/time.rb', line 12449 def code_america_matamoros? Boolean.new(raw_time_zone_names.include?("America/Matamoros")) end |
#code_america_mazatlan? ⇒ Boolean
12453 12454 12455 |
# File 'lib/code/object/time.rb', line 12453 def code_america_mazatlan? Boolean.new(raw_time_zone_names.include?("America/Mazatlan")) end |
#code_america_mendoza? ⇒ Boolean
12457 12458 12459 |
# File 'lib/code/object/time.rb', line 12457 def code_america_mendoza? Boolean.new(raw_time_zone_names.include?("America/Mendoza")) end |
#code_america_menominee? ⇒ Boolean
12461 12462 12463 |
# File 'lib/code/object/time.rb', line 12461 def code_america_menominee? Boolean.new(raw_time_zone_names.include?("America/Menominee")) end |
#code_america_merida? ⇒ Boolean
12465 12466 12467 |
# File 'lib/code/object/time.rb', line 12465 def code_america_merida? Boolean.new(raw_time_zone_names.include?("America/Merida")) end |
#code_america_metlakatla? ⇒ Boolean
12469 12470 12471 |
# File 'lib/code/object/time.rb', line 12469 def code_america_metlakatla? Boolean.new(raw_time_zone_names.include?("America/Metlakatla")) end |
#code_america_mexico_city? ⇒ Boolean
12473 12474 12475 |
# File 'lib/code/object/time.rb', line 12473 def code_america_mexico_city? Boolean.new(raw_time_zone_names.include?("America/Mexico_City")) end |
#code_america_miquelon? ⇒ Boolean
12477 12478 12479 |
# File 'lib/code/object/time.rb', line 12477 def code_america_miquelon? Boolean.new(raw_time_zone_names.include?("America/Miquelon")) end |
#code_america_moncton? ⇒ Boolean
12481 12482 12483 |
# File 'lib/code/object/time.rb', line 12481 def code_america_moncton? Boolean.new(raw_time_zone_names.include?("America/Moncton")) end |
#code_america_monterrey? ⇒ Boolean
12485 12486 12487 |
# File 'lib/code/object/time.rb', line 12485 def code_america_monterrey? Boolean.new(raw_time_zone_names.include?("America/Monterrey")) end |
#code_america_montevideo? ⇒ Boolean
12489 12490 12491 |
# File 'lib/code/object/time.rb', line 12489 def code_america_montevideo? Boolean.new(raw_time_zone_names.include?("America/Montevideo")) end |
#code_america_montreal? ⇒ Boolean
12493 12494 12495 |
# File 'lib/code/object/time.rb', line 12493 def code_america_montreal? Boolean.new(raw_time_zone_names.include?("America/Montreal")) end |
#code_america_montserrat? ⇒ Boolean
12497 12498 12499 |
# File 'lib/code/object/time.rb', line 12497 def code_america_montserrat? Boolean.new(raw_time_zone_names.include?("America/Montserrat")) end |
#code_america_nassau? ⇒ Boolean
12501 12502 12503 |
# File 'lib/code/object/time.rb', line 12501 def code_america_nassau? Boolean.new(raw_time_zone_names.include?("America/Nassau")) end |
#code_america_new_york? ⇒ Boolean
12505 12506 12507 |
# File 'lib/code/object/time.rb', line 12505 def code_america_new_york? Boolean.new(raw_time_zone_names.include?("America/New_York")) end |
#code_america_nipigon? ⇒ Boolean
12509 12510 12511 |
# File 'lib/code/object/time.rb', line 12509 def code_america_nipigon? Boolean.new(raw_time_zone_names.include?("America/Nipigon")) end |
#code_america_nome? ⇒ Boolean
12513 12514 12515 |
# File 'lib/code/object/time.rb', line 12513 def code_america_nome? Boolean.new(raw_time_zone_names.include?("America/Nome")) end |
#code_america_noronha? ⇒ Boolean
12517 12518 12519 |
# File 'lib/code/object/time.rb', line 12517 def code_america_noronha? Boolean.new(raw_time_zone_names.include?("America/Noronha")) end |
#code_america_north_dakota_beulah? ⇒ Boolean
12521 12522 12523 |
# File 'lib/code/object/time.rb', line 12521 def code_america_north_dakota_beulah? Boolean.new(raw_time_zone_names.include?("America/North_Dakota/Beulah")) end |
#code_america_north_dakota_center? ⇒ Boolean
12525 12526 12527 |
# File 'lib/code/object/time.rb', line 12525 def code_america_north_dakota_center? Boolean.new(raw_time_zone_names.include?("America/North_Dakota/Center")) end |
#code_america_north_dakota_new_salem? ⇒ Boolean
12529 12530 12531 12532 12533 |
# File 'lib/code/object/time.rb', line 12529 def code_america_north_dakota_new_salem? Boolean.new( raw_time_zone_names.include?("America/North_Dakota/New_Salem") ) end |
#code_america_nuuk? ⇒ Boolean
12535 12536 12537 |
# File 'lib/code/object/time.rb', line 12535 def code_america_nuuk? Boolean.new(raw_time_zone_names.include?("America/Nuuk")) end |
#code_america_ojinaga? ⇒ Boolean
12539 12540 12541 |
# File 'lib/code/object/time.rb', line 12539 def code_america_ojinaga? Boolean.new(raw_time_zone_names.include?("America/Ojinaga")) end |
#code_america_panama? ⇒ Boolean
12543 12544 12545 |
# File 'lib/code/object/time.rb', line 12543 def code_america_panama? Boolean.new(raw_time_zone_names.include?("America/Panama")) end |
#code_america_pangnirtung? ⇒ Boolean
12547 12548 12549 |
# File 'lib/code/object/time.rb', line 12547 def code_america_pangnirtung? Boolean.new(raw_time_zone_names.include?("America/Pangnirtung")) end |
#code_america_paramaribo? ⇒ Boolean
12551 12552 12553 |
# File 'lib/code/object/time.rb', line 12551 def code_america_paramaribo? Boolean.new(raw_time_zone_names.include?("America/Paramaribo")) end |
#code_america_phoenix? ⇒ Boolean
12555 12556 12557 |
# File 'lib/code/object/time.rb', line 12555 def code_america_phoenix? Boolean.new(raw_time_zone_names.include?("America/Phoenix")) end |
#code_america_port_minus_au_minus_prince? ⇒ Boolean
12559 12560 12561 |
# File 'lib/code/object/time.rb', line 12559 def code_america_port_minus_au_minus_prince? Boolean.new(raw_time_zone_names.include?("America/Port-au-Prince")) end |
#code_america_port_of_spain? ⇒ Boolean
12563 12564 12565 |
# File 'lib/code/object/time.rb', line 12563 def code_america_port_of_spain? Boolean.new(raw_time_zone_names.include?("America/Port_of_Spain")) end |
#code_america_porto_acre? ⇒ Boolean
12567 12568 12569 |
# File 'lib/code/object/time.rb', line 12567 def code_america_porto_acre? Boolean.new(raw_time_zone_names.include?("America/Porto_Acre")) end |
#code_america_porto_velho? ⇒ Boolean
12571 12572 12573 |
# File 'lib/code/object/time.rb', line 12571 def code_america_porto_velho? Boolean.new(raw_time_zone_names.include?("America/Porto_Velho")) end |
#code_america_puerto_rico? ⇒ Boolean
12575 12576 12577 |
# File 'lib/code/object/time.rb', line 12575 def code_america_puerto_rico? Boolean.new(raw_time_zone_names.include?("America/Puerto_Rico")) end |
#code_america_punta_arenas? ⇒ Boolean
12579 12580 12581 |
# File 'lib/code/object/time.rb', line 12579 def code_america_punta_arenas? Boolean.new(raw_time_zone_names.include?("America/Punta_Arenas")) end |
#code_america_rainy_river? ⇒ Boolean
12583 12584 12585 |
# File 'lib/code/object/time.rb', line 12583 def code_america_rainy_river? Boolean.new(raw_time_zone_names.include?("America/Rainy_River")) end |
#code_america_rankin_inlet? ⇒ Boolean
12587 12588 12589 |
# File 'lib/code/object/time.rb', line 12587 def code_america_rankin_inlet? Boolean.new(raw_time_zone_names.include?("America/Rankin_Inlet")) end |
#code_america_recife? ⇒ Boolean
12591 12592 12593 |
# File 'lib/code/object/time.rb', line 12591 def code_america_recife? Boolean.new(raw_time_zone_names.include?("America/Recife")) end |
#code_america_regina? ⇒ Boolean
12595 12596 12597 |
# File 'lib/code/object/time.rb', line 12595 def code_america_regina? Boolean.new(raw_time_zone_names.include?("America/Regina")) end |
#code_america_resolute? ⇒ Boolean
12599 12600 12601 |
# File 'lib/code/object/time.rb', line 12599 def code_america_resolute? Boolean.new(raw_time_zone_names.include?("America/Resolute")) end |
#code_america_rio_branco? ⇒ Boolean
12603 12604 12605 |
# File 'lib/code/object/time.rb', line 12603 def code_america_rio_branco? Boolean.new(raw_time_zone_names.include?("America/Rio_Branco")) end |
#code_america_rosario? ⇒ Boolean
12607 12608 12609 |
# File 'lib/code/object/time.rb', line 12607 def code_america_rosario? Boolean.new(raw_time_zone_names.include?("America/Rosario")) end |
#code_america_santa_isabel? ⇒ Boolean
12611 12612 12613 |
# File 'lib/code/object/time.rb', line 12611 def code_america_santa_isabel? Boolean.new(raw_time_zone_names.include?("America/Santa_Isabel")) end |
#code_america_santarem? ⇒ Boolean
12615 12616 12617 |
# File 'lib/code/object/time.rb', line 12615 def code_america_santarem? Boolean.new(raw_time_zone_names.include?("America/Santarem")) end |
#code_america_santiago? ⇒ Boolean
12619 12620 12621 |
# File 'lib/code/object/time.rb', line 12619 def code_america_santiago? Boolean.new(raw_time_zone_names.include?("America/Santiago")) end |
#code_america_santo_domingo? ⇒ Boolean
12623 12624 12625 |
# File 'lib/code/object/time.rb', line 12623 def code_america_santo_domingo? Boolean.new(raw_time_zone_names.include?("America/Santo_Domingo")) end |
#code_america_sao_paulo? ⇒ Boolean
12627 12628 12629 |
# File 'lib/code/object/time.rb', line 12627 def code_america_sao_paulo? Boolean.new(raw_time_zone_names.include?("America/Sao_Paulo")) end |
#code_america_scoresbysund? ⇒ Boolean
12631 12632 12633 |
# File 'lib/code/object/time.rb', line 12631 def code_america_scoresbysund? Boolean.new(raw_time_zone_names.include?("America/Scoresbysund")) end |
#code_america_shiprock? ⇒ Boolean
12635 12636 12637 |
# File 'lib/code/object/time.rb', line 12635 def code_america_shiprock? Boolean.new(raw_time_zone_names.include?("America/Shiprock")) end |
#code_america_sitka? ⇒ Boolean
12639 12640 12641 |
# File 'lib/code/object/time.rb', line 12639 def code_america_sitka? Boolean.new(raw_time_zone_names.include?("America/Sitka")) end |
#code_america_st_barthelemy? ⇒ Boolean
12643 12644 12645 |
# File 'lib/code/object/time.rb', line 12643 def Boolean.new(raw_time_zone_names.include?("America/St_Barthelemy")) end |
#code_america_st_johns? ⇒ Boolean
12647 12648 12649 |
# File 'lib/code/object/time.rb', line 12647 def code_america_st_johns? Boolean.new(raw_time_zone_names.include?("America/St_Johns")) end |
#code_america_st_kitts? ⇒ Boolean
12651 12652 12653 |
# File 'lib/code/object/time.rb', line 12651 def code_america_st_kitts? Boolean.new(raw_time_zone_names.include?("America/St_Kitts")) end |
#code_america_st_lucia? ⇒ Boolean
12655 12656 12657 |
# File 'lib/code/object/time.rb', line 12655 def code_america_st_lucia? Boolean.new(raw_time_zone_names.include?("America/St_Lucia")) end |
#code_america_st_thomas? ⇒ Boolean
12659 12660 12661 |
# File 'lib/code/object/time.rb', line 12659 def code_america_st_thomas? Boolean.new(raw_time_zone_names.include?("America/St_Thomas")) end |
#code_america_st_vincent? ⇒ Boolean
12663 12664 12665 |
# File 'lib/code/object/time.rb', line 12663 def code_america_st_vincent? Boolean.new(raw_time_zone_names.include?("America/St_Vincent")) end |
#code_america_swift_current? ⇒ Boolean
12667 12668 12669 |
# File 'lib/code/object/time.rb', line 12667 def code_america_swift_current? Boolean.new(raw_time_zone_names.include?("America/Swift_Current")) end |
#code_america_tegucigalpa? ⇒ Boolean
12671 12672 12673 |
# File 'lib/code/object/time.rb', line 12671 def code_america_tegucigalpa? Boolean.new(raw_time_zone_names.include?("America/Tegucigalpa")) end |
#code_america_thule? ⇒ Boolean
12675 12676 12677 |
# File 'lib/code/object/time.rb', line 12675 def code_america_thule? Boolean.new(raw_time_zone_names.include?("America/Thule")) end |
#code_america_thunder_bay? ⇒ Boolean
12679 12680 12681 |
# File 'lib/code/object/time.rb', line 12679 def code_america_thunder_bay? Boolean.new(raw_time_zone_names.include?("America/Thunder_Bay")) end |
#code_america_tijuana? ⇒ Boolean
12683 12684 12685 |
# File 'lib/code/object/time.rb', line 12683 def code_america_tijuana? Boolean.new(raw_time_zone_names.include?("America/Tijuana")) end |
#code_america_toronto? ⇒ Boolean
12687 12688 12689 |
# File 'lib/code/object/time.rb', line 12687 def code_america_toronto? Boolean.new(raw_time_zone_names.include?("America/Toronto")) end |
#code_america_tortola? ⇒ Boolean
12691 12692 12693 |
# File 'lib/code/object/time.rb', line 12691 def code_america_tortola? Boolean.new(raw_time_zone_names.include?("America/Tortola")) end |
#code_america_vancouver? ⇒ Boolean
12695 12696 12697 |
# File 'lib/code/object/time.rb', line 12695 def code_america_vancouver? Boolean.new(raw_time_zone_names.include?("America/Vancouver")) end |
#code_america_virgin? ⇒ Boolean
12699 12700 12701 |
# File 'lib/code/object/time.rb', line 12699 def code_america_virgin? Boolean.new(raw_time_zone_names.include?("America/Virgin")) end |
#code_america_whitehorse? ⇒ Boolean
12703 12704 12705 |
# File 'lib/code/object/time.rb', line 12703 def code_america_whitehorse? Boolean.new(raw_time_zone_names.include?("America/Whitehorse")) end |
#code_america_winnipeg? ⇒ Boolean
12707 12708 12709 |
# File 'lib/code/object/time.rb', line 12707 def code_america_winnipeg? Boolean.new(raw_time_zone_names.include?("America/Winnipeg")) end |
#code_america_yakutat? ⇒ Boolean
12711 12712 12713 |
# File 'lib/code/object/time.rb', line 12711 def code_america_yakutat? Boolean.new(raw_time_zone_names.include?("America/Yakutat")) end |
#code_america_yellowknife? ⇒ Boolean
12715 12716 12717 |
# File 'lib/code/object/time.rb', line 12715 def code_america_yellowknife? Boolean.new(raw_time_zone_names.include?("America/Yellowknife")) end |
#code_antarctica_casey? ⇒ Boolean
12719 12720 12721 |
# File 'lib/code/object/time.rb', line 12719 def code_antarctica_casey? Boolean.new(raw_time_zone_names.include?("Antarctica/Casey")) end |
#code_antarctica_davis? ⇒ Boolean
12723 12724 12725 |
# File 'lib/code/object/time.rb', line 12723 def code_antarctica_davis? Boolean.new(raw_time_zone_names.include?("Antarctica/Davis")) end |
#code_antarctica_dumontdurville? ⇒ Boolean
12727 12728 12729 |
# File 'lib/code/object/time.rb', line 12727 def code_antarctica_dumontdurville? Boolean.new(raw_time_zone_names.include?("Antarctica/DumontDUrville")) end |
#code_antarctica_macquarie? ⇒ Boolean
12731 12732 12733 |
# File 'lib/code/object/time.rb', line 12731 def code_antarctica_macquarie? Boolean.new(raw_time_zone_names.include?("Antarctica/Macquarie")) end |
#code_antarctica_mawson? ⇒ Boolean
12735 12736 12737 |
# File 'lib/code/object/time.rb', line 12735 def code_antarctica_mawson? Boolean.new(raw_time_zone_names.include?("Antarctica/Mawson")) end |
#code_antarctica_mcmurdo? ⇒ Boolean
12739 12740 12741 |
# File 'lib/code/object/time.rb', line 12739 def code_antarctica_mcmurdo? Boolean.new(raw_time_zone_names.include?("Antarctica/McMurdo")) end |
#code_antarctica_palmer? ⇒ Boolean
12743 12744 12745 |
# File 'lib/code/object/time.rb', line 12743 def code_antarctica_palmer? Boolean.new(raw_time_zone_names.include?("Antarctica/Palmer")) end |
#code_antarctica_rothera? ⇒ Boolean
12747 12748 12749 |
# File 'lib/code/object/time.rb', line 12747 def code_antarctica_rothera? Boolean.new(raw_time_zone_names.include?("Antarctica/Rothera")) end |
#code_antarctica_south_pole? ⇒ Boolean
12751 12752 12753 |
# File 'lib/code/object/time.rb', line 12751 def code_antarctica_south_pole? Boolean.new(raw_time_zone_names.include?("Antarctica/South_Pole")) end |
#code_antarctica_syowa? ⇒ Boolean
12755 12756 12757 |
# File 'lib/code/object/time.rb', line 12755 def code_antarctica_syowa? Boolean.new(raw_time_zone_names.include?("Antarctica/Syowa")) end |
#code_antarctica_troll? ⇒ Boolean
12759 12760 12761 |
# File 'lib/code/object/time.rb', line 12759 def code_antarctica_troll? Boolean.new(raw_time_zone_names.include?("Antarctica/Troll")) end |
#code_antarctica_vostok? ⇒ Boolean
12763 12764 12765 |
# File 'lib/code/object/time.rb', line 12763 def code_antarctica_vostok? Boolean.new(raw_time_zone_names.include?("Antarctica/Vostok")) end |
#code_april? ⇒ Boolean
11719 11720 11721 |
# File 'lib/code/object/time.rb', line 11719 def code_april? code_month.code_four? end |
#code_arctic_longyearbyen? ⇒ Boolean
12767 12768 12769 |
# File 'lib/code/object/time.rb', line 12767 def code_arctic_longyearbyen? Boolean.new(raw_time_zone_names.include?("Arctic/Longyearbyen")) end |
#code_asia_aden? ⇒ Boolean
12771 12772 12773 |
# File 'lib/code/object/time.rb', line 12771 def code_asia_aden? Boolean.new(raw_time_zone_names.include?("Asia/Aden")) end |
#code_asia_almaty? ⇒ Boolean
12775 12776 12777 |
# File 'lib/code/object/time.rb', line 12775 def code_asia_almaty? Boolean.new(raw_time_zone_names.include?("Asia/Almaty")) end |
#code_asia_amman? ⇒ Boolean
12779 12780 12781 |
# File 'lib/code/object/time.rb', line 12779 def code_asia_amman? Boolean.new(raw_time_zone_names.include?("Asia/Amman")) end |
#code_asia_anadyr? ⇒ Boolean
12783 12784 12785 |
# File 'lib/code/object/time.rb', line 12783 def code_asia_anadyr? Boolean.new(raw_time_zone_names.include?("Asia/Anadyr")) end |
#code_asia_aqtau? ⇒ Boolean
12787 12788 12789 |
# File 'lib/code/object/time.rb', line 12787 def code_asia_aqtau? Boolean.new(raw_time_zone_names.include?("Asia/Aqtau")) end |
#code_asia_aqtobe? ⇒ Boolean
12791 12792 12793 |
# File 'lib/code/object/time.rb', line 12791 def code_asia_aqtobe? Boolean.new(raw_time_zone_names.include?("Asia/Aqtobe")) end |
#code_asia_ashgabat? ⇒ Boolean
12795 12796 12797 |
# File 'lib/code/object/time.rb', line 12795 def code_asia_ashgabat? Boolean.new(raw_time_zone_names.include?("Asia/Ashgabat")) end |
#code_asia_ashkhabad? ⇒ Boolean
12799 12800 12801 |
# File 'lib/code/object/time.rb', line 12799 def code_asia_ashkhabad? Boolean.new(raw_time_zone_names.include?("Asia/Ashkhabad")) end |
#code_asia_atyrau? ⇒ Boolean
12803 12804 12805 |
# File 'lib/code/object/time.rb', line 12803 def code_asia_atyrau? Boolean.new(raw_time_zone_names.include?("Asia/Atyrau")) end |
#code_asia_baghdad? ⇒ Boolean
12807 12808 12809 |
# File 'lib/code/object/time.rb', line 12807 def code_asia_baghdad? Boolean.new(raw_time_zone_names.include?("Asia/Baghdad")) end |
#code_asia_bahrain? ⇒ Boolean
12811 12812 12813 |
# File 'lib/code/object/time.rb', line 12811 def code_asia_bahrain? Boolean.new(raw_time_zone_names.include?("Asia/Bahrain")) end |
#code_asia_baku? ⇒ Boolean
12815 12816 12817 |
# File 'lib/code/object/time.rb', line 12815 def code_asia_baku? Boolean.new(raw_time_zone_names.include?("Asia/Baku")) end |
#code_asia_bangkok? ⇒ Boolean
12819 12820 12821 |
# File 'lib/code/object/time.rb', line 12819 def code_asia_bangkok? Boolean.new(raw_time_zone_names.include?("Asia/Bangkok")) end |
#code_asia_barnaul? ⇒ Boolean
12823 12824 12825 |
# File 'lib/code/object/time.rb', line 12823 def Boolean.new(raw_time_zone_names.include?("Asia/Barnaul")) end |
#code_asia_beirut? ⇒ Boolean
12827 12828 12829 |
# File 'lib/code/object/time.rb', line 12827 def code_asia_beirut? Boolean.new(raw_time_zone_names.include?("Asia/Beirut")) end |
#code_asia_bishkek? ⇒ Boolean
12831 12832 12833 |
# File 'lib/code/object/time.rb', line 12831 def code_asia_bishkek? Boolean.new(raw_time_zone_names.include?("Asia/Bishkek")) end |
#code_asia_brunei? ⇒ Boolean
12835 12836 12837 |
# File 'lib/code/object/time.rb', line 12835 def code_asia_brunei? Boolean.new(raw_time_zone_names.include?("Asia/Brunei")) end |
#code_asia_calcutta? ⇒ Boolean
12839 12840 12841 |
# File 'lib/code/object/time.rb', line 12839 def code_asia_calcutta? Boolean.new(raw_time_zone_names.include?("Asia/Calcutta")) end |
#code_asia_chita? ⇒ Boolean
12843 12844 12845 |
# File 'lib/code/object/time.rb', line 12843 def code_asia_chita? Boolean.new(raw_time_zone_names.include?("Asia/Chita")) end |
#code_asia_choibalsan? ⇒ Boolean
12847 12848 12849 |
# File 'lib/code/object/time.rb', line 12847 def code_asia_choibalsan? Boolean.new(raw_time_zone_names.include?("Asia/Choibalsan")) end |
#code_asia_chongqing? ⇒ Boolean
12851 12852 12853 |
# File 'lib/code/object/time.rb', line 12851 def code_asia_chongqing? Boolean.new(raw_time_zone_names.include?("Asia/Chongqing")) end |
#code_asia_chungking? ⇒ Boolean
12855 12856 12857 |
# File 'lib/code/object/time.rb', line 12855 def code_asia_chungking? Boolean.new(raw_time_zone_names.include?("Asia/Chungking")) end |
#code_asia_colombo? ⇒ Boolean
12859 12860 12861 |
# File 'lib/code/object/time.rb', line 12859 def code_asia_colombo? Boolean.new(raw_time_zone_names.include?("Asia/Colombo")) end |
#code_asia_dacca? ⇒ Boolean
12863 12864 12865 |
# File 'lib/code/object/time.rb', line 12863 def code_asia_dacca? Boolean.new(raw_time_zone_names.include?("Asia/Dacca")) end |
#code_asia_damascus? ⇒ Boolean
12867 12868 12869 |
# File 'lib/code/object/time.rb', line 12867 def code_asia_damascus? Boolean.new(raw_time_zone_names.include?("Asia/Damascus")) end |
#code_asia_dhaka? ⇒ Boolean
12871 12872 12873 |
# File 'lib/code/object/time.rb', line 12871 def code_asia_dhaka? Boolean.new(raw_time_zone_names.include?("Asia/Dhaka")) end |
#code_asia_dili? ⇒ Boolean
12875 12876 12877 |
# File 'lib/code/object/time.rb', line 12875 def code_asia_dili? Boolean.new(raw_time_zone_names.include?("Asia/Dili")) end |
#code_asia_dubai? ⇒ Boolean
12879 12880 12881 |
# File 'lib/code/object/time.rb', line 12879 def code_asia_dubai? Boolean.new(raw_time_zone_names.include?("Asia/Dubai")) end |
#code_asia_dushanbe? ⇒ Boolean
12883 12884 12885 |
# File 'lib/code/object/time.rb', line 12883 def code_asia_dushanbe? Boolean.new(raw_time_zone_names.include?("Asia/Dushanbe")) end |
#code_asia_famagusta? ⇒ Boolean
12887 12888 12889 |
# File 'lib/code/object/time.rb', line 12887 def code_asia_famagusta? Boolean.new(raw_time_zone_names.include?("Asia/Famagusta")) end |
#code_asia_gaza? ⇒ Boolean
12891 12892 12893 |
# File 'lib/code/object/time.rb', line 12891 def code_asia_gaza? Boolean.new(raw_time_zone_names.include?("Asia/Gaza")) end |
#code_asia_harbin? ⇒ Boolean
12895 12896 12897 |
# File 'lib/code/object/time.rb', line 12895 def code_asia_harbin? Boolean.new(raw_time_zone_names.include?("Asia/Harbin")) end |
#code_asia_hebron? ⇒ Boolean
12899 12900 12901 |
# File 'lib/code/object/time.rb', line 12899 def code_asia_hebron? Boolean.new(raw_time_zone_names.include?("Asia/Hebron")) end |
#code_asia_ho_chi_minh? ⇒ Boolean
12903 12904 12905 |
# File 'lib/code/object/time.rb', line 12903 def code_asia_ho_chi_minh? Boolean.new(raw_time_zone_names.include?("Asia/Ho_Chi_Minh")) end |
#code_asia_hong_kong? ⇒ Boolean
12907 12908 12909 |
# File 'lib/code/object/time.rb', line 12907 def code_asia_hong_kong? Boolean.new(raw_time_zone_names.include?("Asia/Hong_Kong")) end |
#code_asia_hovd? ⇒ Boolean
12911 12912 12913 |
# File 'lib/code/object/time.rb', line 12911 def code_asia_hovd? Boolean.new(raw_time_zone_names.include?("Asia/Hovd")) end |
#code_asia_irkutsk? ⇒ Boolean
12915 12916 12917 |
# File 'lib/code/object/time.rb', line 12915 def code_asia_irkutsk? Boolean.new(raw_time_zone_names.include?("Asia/Irkutsk")) end |
#code_asia_istanbul? ⇒ Boolean
12919 12920 12921 |
# File 'lib/code/object/time.rb', line 12919 def code_asia_istanbul? Boolean.new(raw_time_zone_names.include?("Asia/Istanbul")) end |
#code_asia_jakarta? ⇒ Boolean
12923 12924 12925 |
# File 'lib/code/object/time.rb', line 12923 def code_asia_jakarta? Boolean.new(raw_time_zone_names.include?("Asia/Jakarta")) end |
#code_asia_jayapura? ⇒ Boolean
12927 12928 12929 |
# File 'lib/code/object/time.rb', line 12927 def code_asia_jayapura? Boolean.new(raw_time_zone_names.include?("Asia/Jayapura")) end |
#code_asia_jerusalem? ⇒ Boolean
12931 12932 12933 |
# File 'lib/code/object/time.rb', line 12931 def code_asia_jerusalem? Boolean.new(raw_time_zone_names.include?("Asia/Jerusalem")) end |
#code_asia_kabul? ⇒ Boolean
12935 12936 12937 |
# File 'lib/code/object/time.rb', line 12935 def code_asia_kabul? Boolean.new(raw_time_zone_names.include?("Asia/Kabul")) end |
#code_asia_kamchatka? ⇒ Boolean
12939 12940 12941 |
# File 'lib/code/object/time.rb', line 12939 def code_asia_kamchatka? Boolean.new(raw_time_zone_names.include?("Asia/Kamchatka")) end |
#code_asia_karachi? ⇒ Boolean
12943 12944 12945 |
# File 'lib/code/object/time.rb', line 12943 def code_asia_karachi? Boolean.new(raw_time_zone_names.include?("Asia/Karachi")) end |
#code_asia_kashgar? ⇒ Boolean
12947 12948 12949 |
# File 'lib/code/object/time.rb', line 12947 def code_asia_kashgar? Boolean.new(raw_time_zone_names.include?("Asia/Kashgar")) end |
#code_asia_kathmandu? ⇒ Boolean
12951 12952 12953 |
# File 'lib/code/object/time.rb', line 12951 def code_asia_kathmandu? Boolean.new(raw_time_zone_names.include?("Asia/Kathmandu")) end |
#code_asia_katmandu? ⇒ Boolean
12955 12956 12957 |
# File 'lib/code/object/time.rb', line 12955 def code_asia_katmandu? Boolean.new(raw_time_zone_names.include?("Asia/Katmandu")) end |
#code_asia_khandyga? ⇒ Boolean
12959 12960 12961 |
# File 'lib/code/object/time.rb', line 12959 def code_asia_khandyga? Boolean.new(raw_time_zone_names.include?("Asia/Khandyga")) end |
#code_asia_kolkata? ⇒ Boolean
12963 12964 12965 |
# File 'lib/code/object/time.rb', line 12963 def code_asia_kolkata? Boolean.new(raw_time_zone_names.include?("Asia/Kolkata")) end |
#code_asia_krasnoyarsk? ⇒ Boolean
12967 12968 12969 |
# File 'lib/code/object/time.rb', line 12967 def code_asia_krasnoyarsk? Boolean.new(raw_time_zone_names.include?("Asia/Krasnoyarsk")) end |
#code_asia_kuala_lumpur? ⇒ Boolean
12971 12972 12973 |
# File 'lib/code/object/time.rb', line 12971 def code_asia_kuala_lumpur? Boolean.new(raw_time_zone_names.include?("Asia/Kuala_Lumpur")) end |
#code_asia_kuching? ⇒ Boolean
12975 12976 12977 |
# File 'lib/code/object/time.rb', line 12975 def code_asia_kuching? Boolean.new(raw_time_zone_names.include?("Asia/Kuching")) end |
#code_asia_kuwait? ⇒ Boolean
12979 12980 12981 |
# File 'lib/code/object/time.rb', line 12979 def code_asia_kuwait? Boolean.new(raw_time_zone_names.include?("Asia/Kuwait")) end |
#code_asia_macao? ⇒ Boolean
12983 12984 12985 |
# File 'lib/code/object/time.rb', line 12983 def code_asia_macao? Boolean.new(raw_time_zone_names.include?("Asia/Macao")) end |
#code_asia_macau? ⇒ Boolean
12987 12988 12989 |
# File 'lib/code/object/time.rb', line 12987 def code_asia_macau? Boolean.new(raw_time_zone_names.include?("Asia/Macau")) end |
#code_asia_magadan? ⇒ Boolean
12991 12992 12993 |
# File 'lib/code/object/time.rb', line 12991 def code_asia_magadan? Boolean.new(raw_time_zone_names.include?("Asia/Magadan")) end |
#code_asia_makassar? ⇒ Boolean
12995 12996 12997 |
# File 'lib/code/object/time.rb', line 12995 def code_asia_makassar? Boolean.new(raw_time_zone_names.include?("Asia/Makassar")) end |
#code_asia_manila? ⇒ Boolean
12999 13000 13001 |
# File 'lib/code/object/time.rb', line 12999 def code_asia_manila? Boolean.new(raw_time_zone_names.include?("Asia/Manila")) end |
#code_asia_muscat? ⇒ Boolean
13003 13004 13005 |
# File 'lib/code/object/time.rb', line 13003 def code_asia_muscat? Boolean.new(raw_time_zone_names.include?("Asia/Muscat")) end |
#code_asia_nicosia? ⇒ Boolean
13007 13008 13009 |
# File 'lib/code/object/time.rb', line 13007 def code_asia_nicosia? Boolean.new(raw_time_zone_names.include?("Asia/Nicosia")) end |
#code_asia_novokuznetsk? ⇒ Boolean
13011 13012 13013 |
# File 'lib/code/object/time.rb', line 13011 def code_asia_novokuznetsk? Boolean.new(raw_time_zone_names.include?("Asia/Novokuznetsk")) end |
#code_asia_novosibirsk? ⇒ Boolean
13015 13016 13017 |
# File 'lib/code/object/time.rb', line 13015 def code_asia_novosibirsk? Boolean.new(raw_time_zone_names.include?("Asia/Novosibirsk")) end |
#code_asia_omsk? ⇒ Boolean
13019 13020 13021 |
# File 'lib/code/object/time.rb', line 13019 def code_asia_omsk? Boolean.new(raw_time_zone_names.include?("Asia/Omsk")) end |
#code_asia_oral? ⇒ Boolean
13023 13024 13025 |
# File 'lib/code/object/time.rb', line 13023 def code_asia_oral? Boolean.new(raw_time_zone_names.include?("Asia/Oral")) end |
#code_asia_phnom_penh? ⇒ Boolean
13027 13028 13029 |
# File 'lib/code/object/time.rb', line 13027 def code_asia_phnom_penh? Boolean.new(raw_time_zone_names.include?("Asia/Phnom_Penh")) end |
#code_asia_pontianak? ⇒ Boolean
13031 13032 13033 |
# File 'lib/code/object/time.rb', line 13031 def code_asia_pontianak? Boolean.new(raw_time_zone_names.include?("Asia/Pontianak")) end |
#code_asia_pyongyang? ⇒ Boolean
13035 13036 13037 |
# File 'lib/code/object/time.rb', line 13035 def code_asia_pyongyang? Boolean.new(raw_time_zone_names.include?("Asia/Pyongyang")) end |
#code_asia_qatar? ⇒ Boolean
13039 13040 13041 |
# File 'lib/code/object/time.rb', line 13039 def code_asia_qatar? Boolean.new(raw_time_zone_names.include?("Asia/Qatar")) end |
#code_asia_qostanay? ⇒ Boolean
13043 13044 13045 |
# File 'lib/code/object/time.rb', line 13043 def code_asia_qostanay? Boolean.new(raw_time_zone_names.include?("Asia/Qostanay")) end |
#code_asia_qyzylorda? ⇒ Boolean
13047 13048 13049 |
# File 'lib/code/object/time.rb', line 13047 def code_asia_qyzylorda? Boolean.new(raw_time_zone_names.include?("Asia/Qyzylorda")) end |
#code_asia_rangoon? ⇒ Boolean
13051 13052 13053 |
# File 'lib/code/object/time.rb', line 13051 def code_asia_rangoon? Boolean.new(raw_time_zone_names.include?("Asia/Rangoon")) end |
#code_asia_riyadh? ⇒ Boolean
13055 13056 13057 |
# File 'lib/code/object/time.rb', line 13055 def code_asia_riyadh? Boolean.new(raw_time_zone_names.include?("Asia/Riyadh")) end |
#code_asia_saigon? ⇒ Boolean
13059 13060 13061 |
# File 'lib/code/object/time.rb', line 13059 def code_asia_saigon? Boolean.new(raw_time_zone_names.include?("Asia/Saigon")) end |
#code_asia_sakhalin? ⇒ Boolean
13063 13064 13065 |
# File 'lib/code/object/time.rb', line 13063 def code_asia_sakhalin? Boolean.new(raw_time_zone_names.include?("Asia/Sakhalin")) end |
#code_asia_samarkand? ⇒ Boolean
13067 13068 13069 |
# File 'lib/code/object/time.rb', line 13067 def code_asia_samarkand? Boolean.new(raw_time_zone_names.include?("Asia/Samarkand")) end |
#code_asia_seoul? ⇒ Boolean
13071 13072 13073 |
# File 'lib/code/object/time.rb', line 13071 def code_asia_seoul? Boolean.new(raw_time_zone_names.include?("Asia/Seoul")) end |
#code_asia_shanghai? ⇒ Boolean
13075 13076 13077 |
# File 'lib/code/object/time.rb', line 13075 def code_asia_shanghai? Boolean.new(raw_time_zone_names.include?("Asia/Shanghai")) end |
#code_asia_singapore? ⇒ Boolean
13079 13080 13081 |
# File 'lib/code/object/time.rb', line 13079 def code_asia_singapore? Boolean.new(raw_time_zone_names.include?("Asia/Singapore")) end |
#code_asia_srednekolymsk? ⇒ Boolean
13083 13084 13085 |
# File 'lib/code/object/time.rb', line 13083 def code_asia_srednekolymsk? Boolean.new(raw_time_zone_names.include?("Asia/Srednekolymsk")) end |
#code_asia_taipei? ⇒ Boolean
13087 13088 13089 |
# File 'lib/code/object/time.rb', line 13087 def code_asia_taipei? Boolean.new(raw_time_zone_names.include?("Asia/Taipei")) end |
#code_asia_tashkent? ⇒ Boolean
13091 13092 13093 |
# File 'lib/code/object/time.rb', line 13091 def code_asia_tashkent? Boolean.new(raw_time_zone_names.include?("Asia/Tashkent")) end |
#code_asia_tbilisi? ⇒ Boolean
13095 13096 13097 |
# File 'lib/code/object/time.rb', line 13095 def code_asia_tbilisi? Boolean.new(raw_time_zone_names.include?("Asia/Tbilisi")) end |
#code_asia_tehran? ⇒ Boolean
13099 13100 13101 |
# File 'lib/code/object/time.rb', line 13099 def code_asia_tehran? Boolean.new(raw_time_zone_names.include?("Asia/Tehran")) end |
#code_asia_tel_aviv? ⇒ Boolean
13103 13104 13105 |
# File 'lib/code/object/time.rb', line 13103 def code_asia_tel_aviv? Boolean.new(raw_time_zone_names.include?("Asia/Tel_Aviv")) end |
#code_asia_thimbu? ⇒ Boolean
13107 13108 13109 |
# File 'lib/code/object/time.rb', line 13107 def code_asia_thimbu? Boolean.new(raw_time_zone_names.include?("Asia/Thimbu")) end |
#code_asia_thimphu? ⇒ Boolean
13111 13112 13113 |
# File 'lib/code/object/time.rb', line 13111 def code_asia_thimphu? Boolean.new(raw_time_zone_names.include?("Asia/Thimphu")) end |
#code_asia_tokyo? ⇒ Boolean
13115 13116 13117 |
# File 'lib/code/object/time.rb', line 13115 def code_asia_tokyo? Boolean.new(raw_time_zone_names.include?("Asia/Tokyo")) end |
#code_asia_tomsk? ⇒ Boolean
13119 13120 13121 |
# File 'lib/code/object/time.rb', line 13119 def code_asia_tomsk? Boolean.new(raw_time_zone_names.include?("Asia/Tomsk")) end |
#code_asia_ujung_pandang? ⇒ Boolean
13123 13124 13125 |
# File 'lib/code/object/time.rb', line 13123 def code_asia_ujung_pandang? Boolean.new(raw_time_zone_names.include?("Asia/Ujung_Pandang")) end |
#code_asia_ulaanbaatar? ⇒ Boolean
13127 13128 13129 |
# File 'lib/code/object/time.rb', line 13127 def code_asia_ulaanbaatar? Boolean.new(raw_time_zone_names.include?("Asia/Ulaanbaatar")) end |
#code_asia_ulan_bator? ⇒ Boolean
13131 13132 13133 |
# File 'lib/code/object/time.rb', line 13131 def code_asia_ulan_bator? Boolean.new(raw_time_zone_names.include?("Asia/Ulan_Bator")) end |
#code_asia_urumqi? ⇒ Boolean
13135 13136 13137 |
# File 'lib/code/object/time.rb', line 13135 def code_asia_urumqi? Boolean.new(raw_time_zone_names.include?("Asia/Urumqi")) end |
#code_asia_ust_minus_nera? ⇒ Boolean
13139 13140 13141 |
# File 'lib/code/object/time.rb', line 13139 def code_asia_ust_minus_nera? Boolean.new(raw_time_zone_names.include?("Asia/Ust-Nera")) end |
#code_asia_vientiane? ⇒ Boolean
13143 13144 13145 |
# File 'lib/code/object/time.rb', line 13143 def code_asia_vientiane? Boolean.new(raw_time_zone_names.include?("Asia/Vientiane")) end |
#code_asia_vladivostok? ⇒ Boolean
13147 13148 13149 |
# File 'lib/code/object/time.rb', line 13147 def code_asia_vladivostok? Boolean.new(raw_time_zone_names.include?("Asia/Vladivostok")) end |
#code_asia_yakutsk? ⇒ Boolean
13151 13152 13153 |
# File 'lib/code/object/time.rb', line 13151 def code_asia_yakutsk? Boolean.new(raw_time_zone_names.include?("Asia/Yakutsk")) end |
#code_asia_yangon? ⇒ Boolean
13155 13156 13157 |
# File 'lib/code/object/time.rb', line 13155 def code_asia_yangon? Boolean.new(raw_time_zone_names.include?("Asia/Yangon")) end |
#code_asia_yekaterinburg? ⇒ Boolean
13159 13160 13161 |
# File 'lib/code/object/time.rb', line 13159 def code_asia_yekaterinburg? Boolean.new(raw_time_zone_names.include?("Asia/Yekaterinburg")) end |
#code_asia_yerevan? ⇒ Boolean
13163 13164 13165 |
# File 'lib/code/object/time.rb', line 13163 def code_asia_yerevan? Boolean.new(raw_time_zone_names.include?("Asia/Yerevan")) end |
#code_atlantic_azores? ⇒ Boolean
13167 13168 13169 |
# File 'lib/code/object/time.rb', line 13167 def code_atlantic_azores? Boolean.new(raw_time_zone_names.include?("Atlantic/Azores")) end |
#code_atlantic_bermuda? ⇒ Boolean
13171 13172 13173 |
# File 'lib/code/object/time.rb', line 13171 def code_atlantic_bermuda? Boolean.new(raw_time_zone_names.include?("Atlantic/Bermuda")) end |
#code_atlantic_canary? ⇒ Boolean
13175 13176 13177 |
# File 'lib/code/object/time.rb', line 13175 def code_atlantic_canary? Boolean.new(raw_time_zone_names.include?("Atlantic/Canary")) end |
#code_atlantic_cape_verde? ⇒ Boolean
13179 13180 13181 |
# File 'lib/code/object/time.rb', line 13179 def code_atlantic_cape_verde? Boolean.new(raw_time_zone_names.include?("Atlantic/Cape_Verde")) end |
#code_atlantic_faeroe? ⇒ Boolean
13183 13184 13185 |
# File 'lib/code/object/time.rb', line 13183 def code_atlantic_faeroe? Boolean.new(raw_time_zone_names.include?("Atlantic/Faeroe")) end |
#code_atlantic_faroe? ⇒ Boolean
13187 13188 13189 |
# File 'lib/code/object/time.rb', line 13187 def code_atlantic_faroe? Boolean.new(raw_time_zone_names.include?("Atlantic/Faroe")) end |
#code_atlantic_jan_mayen? ⇒ Boolean
13191 13192 13193 |
# File 'lib/code/object/time.rb', line 13191 def code_atlantic_jan_mayen? Boolean.new(raw_time_zone_names.include?("Atlantic/Jan_Mayen")) end |
#code_atlantic_madeira? ⇒ Boolean
13195 13196 13197 |
# File 'lib/code/object/time.rb', line 13195 def code_atlantic_madeira? Boolean.new(raw_time_zone_names.include?("Atlantic/Madeira")) end |
#code_atlantic_reykjavik? ⇒ Boolean
13199 13200 13201 |
# File 'lib/code/object/time.rb', line 13199 def code_atlantic_reykjavik? Boolean.new(raw_time_zone_names.include?("Atlantic/Reykjavik")) end |
#code_atlantic_south_georgia? ⇒ Boolean
13203 13204 13205 |
# File 'lib/code/object/time.rb', line 13203 def code_atlantic_south_georgia? Boolean.new(raw_time_zone_names.include?("Atlantic/South_Georgia")) end |
#code_atlantic_st_helena? ⇒ Boolean
13207 13208 13209 |
# File 'lib/code/object/time.rb', line 13207 def code_atlantic_st_helena? Boolean.new(raw_time_zone_names.include?("Atlantic/St_Helena")) end |
#code_atlantic_stanley? ⇒ Boolean
13211 13212 13213 |
# File 'lib/code/object/time.rb', line 13211 def code_atlantic_stanley? Boolean.new(raw_time_zone_names.include?("Atlantic/Stanley")) end |
#code_august? ⇒ Boolean
11735 11736 11737 |
# File 'lib/code/object/time.rb', line 11735 def code_august? code_month.code_eight? end |
#code_australia_act? ⇒ Boolean
13215 13216 13217 |
# File 'lib/code/object/time.rb', line 13215 def code_australia_act? Boolean.new(raw_time_zone_names.include?("Australia/ACT")) end |
#code_australia_adelaide? ⇒ Boolean
13219 13220 13221 |
# File 'lib/code/object/time.rb', line 13219 def code_australia_adelaide? Boolean.new(raw_time_zone_names.include?("Australia/Adelaide")) end |
#code_australia_brisbane? ⇒ Boolean
13223 13224 13225 |
# File 'lib/code/object/time.rb', line 13223 def code_australia_brisbane? Boolean.new(raw_time_zone_names.include?("Australia/Brisbane")) end |
#code_australia_broken_hill? ⇒ Boolean
13227 13228 13229 |
# File 'lib/code/object/time.rb', line 13227 def code_australia_broken_hill? Boolean.new(raw_time_zone_names.include?("Australia/Broken_Hill")) end |
#code_australia_canberra? ⇒ Boolean
13231 13232 13233 |
# File 'lib/code/object/time.rb', line 13231 def code_australia_canberra? Boolean.new(raw_time_zone_names.include?("Australia/Canberra")) end |
#code_australia_currie? ⇒ Boolean
13235 13236 13237 |
# File 'lib/code/object/time.rb', line 13235 def code_australia_currie? Boolean.new(raw_time_zone_names.include?("Australia/Currie")) end |
#code_australia_darwin? ⇒ Boolean
13239 13240 13241 |
# File 'lib/code/object/time.rb', line 13239 def code_australia_darwin? Boolean.new(raw_time_zone_names.include?("Australia/Darwin")) end |
#code_australia_eucla? ⇒ Boolean
13243 13244 13245 |
# File 'lib/code/object/time.rb', line 13243 def code_australia_eucla? Boolean.new(raw_time_zone_names.include?("Australia/Eucla")) end |
#code_australia_hobart? ⇒ Boolean
13247 13248 13249 |
# File 'lib/code/object/time.rb', line 13247 def Boolean.new(raw_time_zone_names.include?("Australia/Hobart")) end |
#code_australia_lhi? ⇒ Boolean
13251 13252 13253 |
# File 'lib/code/object/time.rb', line 13251 def code_australia_lhi? Boolean.new(raw_time_zone_names.include?("Australia/LHI")) end |
#code_australia_lindeman? ⇒ Boolean
13255 13256 13257 |
# File 'lib/code/object/time.rb', line 13255 def code_australia_lindeman? Boolean.new(raw_time_zone_names.include?("Australia/Lindeman")) end |
#code_australia_lord_howe? ⇒ Boolean
13259 13260 13261 |
# File 'lib/code/object/time.rb', line 13259 def code_australia_lord_howe? Boolean.new(raw_time_zone_names.include?("Australia/Lord_Howe")) end |
#code_australia_melbourne? ⇒ Boolean
13263 13264 13265 |
# File 'lib/code/object/time.rb', line 13263 def code_australia_melbourne? Boolean.new(raw_time_zone_names.include?("Australia/Melbourne")) end |
#code_australia_north? ⇒ Boolean
13271 13272 13273 |
# File 'lib/code/object/time.rb', line 13271 def code_australia_north? Boolean.new(raw_time_zone_names.include?("Australia/North")) end |
#code_australia_nsw? ⇒ Boolean
13267 13268 13269 |
# File 'lib/code/object/time.rb', line 13267 def code_australia_nsw? Boolean.new(raw_time_zone_names.include?("Australia/NSW")) end |
#code_australia_perth? ⇒ Boolean
13275 13276 13277 |
# File 'lib/code/object/time.rb', line 13275 def code_australia_perth? Boolean.new(raw_time_zone_names.include?("Australia/Perth")) end |
#code_australia_queensland? ⇒ Boolean
13279 13280 13281 |
# File 'lib/code/object/time.rb', line 13279 def code_australia_queensland? Boolean.new(raw_time_zone_names.include?("Australia/Queensland")) end |
#code_australia_south? ⇒ Boolean
13283 13284 13285 |
# File 'lib/code/object/time.rb', line 13283 def code_australia_south? Boolean.new(raw_time_zone_names.include?("Australia/South")) end |
#code_australia_sydney? ⇒ Boolean
13287 13288 13289 |
# File 'lib/code/object/time.rb', line 13287 def code_australia_sydney? Boolean.new(raw_time_zone_names.include?("Australia/Sydney")) end |
#code_australia_tasmania? ⇒ Boolean
13291 13292 13293 |
# File 'lib/code/object/time.rb', line 13291 def code_australia_tasmania? Boolean.new(raw_time_zone_names.include?("Australia/Tasmania")) end |
#code_australia_victoria? ⇒ Boolean
13295 13296 13297 |
# File 'lib/code/object/time.rb', line 13295 def code_australia_victoria? Boolean.new(raw_time_zone_names.include?("Australia/Victoria")) end |
#code_australia_west? ⇒ Boolean
13299 13300 13301 |
# File 'lib/code/object/time.rb', line 13299 def code_australia_west? Boolean.new(raw_time_zone_names.include?("Australia/West")) end |
#code_australia_yancowinna? ⇒ Boolean
13303 13304 13305 |
# File 'lib/code/object/time.rb', line 13303 def code_australia_yancowinna? Boolean.new(raw_time_zone_names.include?("Australia/Yancowinna")) end |
#code_before?(other = nil) ⇒ Boolean
11600 11601 11602 11603 11604 11605 |
# File 'lib/code/object/time.rb', line 11600 def code_before?(other = nil) code_other = other.to_code code_other = Time.new if code_other.nothing? Boolean.new(raw.before?(code_other.raw)) end |
#code_beginning_of_day ⇒ Object
14266 14267 14268 |
# File 'lib/code/object/time.rb', line 14266 def code_beginning_of_day Time.new(raw.beginning_of_day) end |
#code_brazil_acre? ⇒ Boolean
13307 13308 13309 |
# File 'lib/code/object/time.rb', line 13307 def code_brazil_acre? Boolean.new(raw_time_zone_names.include?("Brazil/Acre")) end |
#code_brazil_denoronha? ⇒ Boolean
13311 13312 13313 |
# File 'lib/code/object/time.rb', line 13311 def code_brazil_denoronha? Boolean.new(raw_time_zone_names.include?("Brazil/DeNoronha")) end |
#code_brazil_east? ⇒ Boolean
13315 13316 13317 |
# File 'lib/code/object/time.rb', line 13315 def code_brazil_east? Boolean.new(raw_time_zone_names.include?("Brazil/East")) end |
#code_brazil_west? ⇒ Boolean
13319 13320 13321 |
# File 'lib/code/object/time.rb', line 13319 def code_brazil_west? Boolean.new(raw_time_zone_names.include?("Brazil/West")) end |
#code_canada_atlantic? ⇒ Boolean
13331 13332 13333 |
# File 'lib/code/object/time.rb', line 13331 def code_canada_atlantic? Boolean.new(raw_time_zone_names.include?("Canada/Atlantic")) end |
#code_canada_central? ⇒ Boolean
13335 13336 13337 |
# File 'lib/code/object/time.rb', line 13335 def code_canada_central? Boolean.new(raw_time_zone_names.include?("Canada/Central")) end |
#code_canada_eastern? ⇒ Boolean
13339 13340 13341 |
# File 'lib/code/object/time.rb', line 13339 def code_canada_eastern? Boolean.new(raw_time_zone_names.include?("Canada/Eastern")) end |
#code_canada_mountain? ⇒ Boolean
13343 13344 13345 |
# File 'lib/code/object/time.rb', line 13343 def code_canada_mountain? Boolean.new(raw_time_zone_names.include?("Canada/Mountain")) end |
#code_canada_newfoundland? ⇒ Boolean
13347 13348 13349 |
# File 'lib/code/object/time.rb', line 13347 def code_canada_newfoundland? Boolean.new(raw_time_zone_names.include?("Canada/Newfoundland")) end |
#code_canada_pacific? ⇒ Boolean
13351 13352 13353 |
# File 'lib/code/object/time.rb', line 13351 def code_canada_pacific? Boolean.new(raw_time_zone_names.include?("Canada/Pacific")) end |
#code_canada_saskatchewan? ⇒ Boolean
13355 13356 13357 |
# File 'lib/code/object/time.rb', line 13355 def code_canada_saskatchewan? Boolean.new(raw_time_zone_names.include?("Canada/Saskatchewan")) end |
#code_canada_yukon? ⇒ Boolean
13359 13360 13361 |
# File 'lib/code/object/time.rb', line 13359 def code_canada_yukon? Boolean.new(raw_time_zone_names.include?("Canada/Yukon")) end |
#code_cet? ⇒ Boolean
13323 13324 13325 |
# File 'lib/code/object/time.rb', line 13323 def code_cet? Boolean.new(raw_time_zone_names.include?("CET")) end |
#code_change(year: nil, years: nil, month: nil, months: nil, day: nil, days: nil, week_day: nil, week_days: nil, week: nil, weeks: nil, hour: nil, hours: nil, minute: nil, minutes: nil, second: nil, seconds: nil) ⇒ Object
14402 14403 14404 14405 14406 14407 14408 14409 14410 14411 14412 14413 14414 14415 14416 14417 14418 14419 14420 14421 14422 14423 14424 14425 14426 14427 14428 14429 14430 14431 14432 14433 14434 14435 14436 14437 14438 14439 14440 14441 14442 14443 14444 14445 14446 14447 14448 14449 14450 |
# File 'lib/code/object/time.rb', line 14402 def code_change( year: nil, years: nil, month: nil, months: nil, day: nil, days: nil, week_day: nil, week_days: nil, week: nil, weeks: nil, hour: nil, hours: nil, minute: nil, minutes: nil, second: nil, seconds: nil ) code_year = year.to_code.nothing? ? years.to_code : year.to_code code_month = month.to_code.nothing? ? months.to_code : month.to_code code_day = day.to_code.nothing? ? days.to_code : day.to_code code_week_day = week_day.to_code.nothing? ? week_days.to_code : week_day.to_code code_week = week.to_code.nothing? ? weeks.to_code : week.to_code code_hour = hour.to_code.nothing? ? hours.to_code : hour.to_code code_minute = minute.to_code.nothing? ? minutes.to_code : minute.to_code code_second = second.to_code.nothing? ? seconds.to_code : second.to_code year = code_year.raw || code_years.raw month = code_month.raw || code_months.raw day = code_day.raw || code_days.raw wday = code_week_day.raw || code_week_days.raw cweek = code_week.raw || code_weeks.raw hour = code_hour.raw || code_hours.raw min = code_minute.raw || code_minutes.raw sec = code_second.raw || code_seconds.raw dup = raw.dup dup += (year - raw.year).years dup += (month - raw.month).months dup += (day - raw.day).days dup += (wday - raw.wday).days dup += (cweek - raw.to_date.cweek).weeks dup += (hour - raw.hour).hours dup += (min - raw.min).minutes dup += (sec - raw.sec).seconds Time.new(dup) end |
#code_chile_continental? ⇒ Boolean
13363 13364 13365 |
# File 'lib/code/object/time.rb', line 13363 def code_chile_continental? Boolean.new(raw_time_zone_names.include?("Chile/Continental")) end |
#code_chile_easterisland? ⇒ Boolean
13367 13368 13369 |
# File 'lib/code/object/time.rb', line 13367 def code_chile_easterisland? Boolean.new(raw_time_zone_names.include?("Chile/EasterIsland")) end |
#code_cst6cdt? ⇒ Boolean
13327 13328 13329 |
# File 'lib/code/object/time.rb', line 13327 def code_cst6cdt? Boolean.new(raw_time_zone_names.include?("CST6CDT")) end |
#code_cuba? ⇒ Boolean
13371 13372 13373 |
# File 'lib/code/object/time.rb', line 13371 def code_cuba? Boolean.new(raw_time_zone_names.include?("Cuba")) end |
#code_current ⇒ Object
14282 14283 14284 |
# File 'lib/code/object/time.rb', line 14282 def code_current Time.new end |
#code_day ⇒ Object
11647 11648 11649 |
# File 'lib/code/object/time.rb', line 11647 def code_day Integer.new(raw.day) end |
#code_days ⇒ Object
11651 11652 11653 |
# File 'lib/code/object/time.rb', line 11651 def code_days Integer.new(raw.day) end |
#code_december? ⇒ Boolean
11751 11752 11753 |
# File 'lib/code/object/time.rb', line 11751 def code_december? code_month.code_twelve? end |
#code_eet? ⇒ Boolean
13375 13376 13377 |
# File 'lib/code/object/time.rb', line 13375 def code_eet? Boolean.new(raw_time_zone_names.include?("EET")) end |
#code_egypt? ⇒ Boolean
13387 13388 13389 |
# File 'lib/code/object/time.rb', line 13387 def code_egypt? Boolean.new(raw_time_zone_names.include?("Egypt")) end |
#code_eire? ⇒ Boolean
13391 13392 13393 |
# File 'lib/code/object/time.rb', line 13391 def code_eire? Boolean.new(raw_time_zone_names.include?("Eire")) end |
#code_end_of_day ⇒ Object
14270 14271 14272 |
# File 'lib/code/object/time.rb', line 14270 def code_end_of_day Time.new(raw.end_of_day) end |
#code_est5edt? ⇒ Boolean
13383 13384 13385 |
# File 'lib/code/object/time.rb', line 13383 def code_est5edt? Boolean.new(raw_time_zone_names.include?("EST5EDT")) end |
#code_est? ⇒ Boolean
13379 13380 13381 |
# File 'lib/code/object/time.rb', line 13379 def code_est? Boolean.new(raw_time_zone_names.include?("EST")) end |
#code_etc_gmt0? ⇒ Boolean
13511 13512 13513 |
# File 'lib/code/object/time.rb', line 13511 def code_etc_gmt0? Boolean.new(raw_time_zone_names.include?("Etc/GMT0")) end |
#code_etc_gmt? ⇒ Boolean
13395 13396 13397 |
# File 'lib/code/object/time.rb', line 13395 def code_etc_gmt? Boolean.new(raw_time_zone_names.include?("Etc/GMT")) end |
#code_etc_gmt_minus_0? ⇒ Boolean
13451 13452 13453 |
# File 'lib/code/object/time.rb', line 13451 def code_etc_gmt_minus_0? Boolean.new(raw_time_zone_names.include?("Etc/GMT-0")) end |
#code_etc_gmt_minus_10? ⇒ Boolean
13459 13460 13461 |
# File 'lib/code/object/time.rb', line 13459 def code_etc_gmt_minus_10? Boolean.new(raw_time_zone_names.include?("Etc/GMT-10")) end |
#code_etc_gmt_minus_11? ⇒ Boolean
13463 13464 13465 |
# File 'lib/code/object/time.rb', line 13463 def code_etc_gmt_minus_11? Boolean.new(raw_time_zone_names.include?("Etc/GMT-11")) end |
#code_etc_gmt_minus_12? ⇒ Boolean
13467 13468 13469 |
# File 'lib/code/object/time.rb', line 13467 def code_etc_gmt_minus_12? Boolean.new(raw_time_zone_names.include?("Etc/GMT-12")) end |
#code_etc_gmt_minus_13? ⇒ Boolean
13471 13472 13473 |
# File 'lib/code/object/time.rb', line 13471 def code_etc_gmt_minus_13? Boolean.new(raw_time_zone_names.include?("Etc/GMT-13")) end |
#code_etc_gmt_minus_14? ⇒ Boolean
13475 13476 13477 |
# File 'lib/code/object/time.rb', line 13475 def code_etc_gmt_minus_14? Boolean.new(raw_time_zone_names.include?("Etc/GMT-14")) end |
#code_etc_gmt_minus_1? ⇒ Boolean
13455 13456 13457 |
# File 'lib/code/object/time.rb', line 13455 def code_etc_gmt_minus_1? Boolean.new(raw_time_zone_names.include?("Etc/GMT-1")) end |
#code_etc_gmt_minus_2? ⇒ Boolean
13479 13480 13481 |
# File 'lib/code/object/time.rb', line 13479 def code_etc_gmt_minus_2? Boolean.new(raw_time_zone_names.include?("Etc/GMT-2")) end |
#code_etc_gmt_minus_3? ⇒ Boolean
13483 13484 13485 |
# File 'lib/code/object/time.rb', line 13483 def code_etc_gmt_minus_3? Boolean.new(raw_time_zone_names.include?("Etc/GMT-3")) end |
#code_etc_gmt_minus_4? ⇒ Boolean
13487 13488 13489 |
# File 'lib/code/object/time.rb', line 13487 def code_etc_gmt_minus_4? Boolean.new(raw_time_zone_names.include?("Etc/GMT-4")) end |
#code_etc_gmt_minus_5? ⇒ Boolean
13491 13492 13493 |
# File 'lib/code/object/time.rb', line 13491 def code_etc_gmt_minus_5? Boolean.new(raw_time_zone_names.include?("Etc/GMT-5")) end |
#code_etc_gmt_minus_6? ⇒ Boolean
13495 13496 13497 |
# File 'lib/code/object/time.rb', line 13495 def code_etc_gmt_minus_6? Boolean.new(raw_time_zone_names.include?("Etc/GMT-6")) end |
#code_etc_gmt_minus_7? ⇒ Boolean
13499 13500 13501 |
# File 'lib/code/object/time.rb', line 13499 def code_etc_gmt_minus_7? Boolean.new(raw_time_zone_names.include?("Etc/GMT-7")) end |
#code_etc_gmt_minus_8? ⇒ Boolean
13503 13504 13505 |
# File 'lib/code/object/time.rb', line 13503 def code_etc_gmt_minus_8? Boolean.new(raw_time_zone_names.include?("Etc/GMT-8")) end |
#code_etc_gmt_minus_9? ⇒ Boolean
13507 13508 13509 |
# File 'lib/code/object/time.rb', line 13507 def code_etc_gmt_minus_9? Boolean.new(raw_time_zone_names.include?("Etc/GMT-9")) end |
#code_etc_gmt_plus_0? ⇒ Boolean
13399 13400 13401 |
# File 'lib/code/object/time.rb', line 13399 def code_etc_gmt_plus_0? Boolean.new(raw_time_zone_names.include?("Etc/GMT+0")) end |
#code_etc_gmt_plus_10? ⇒ Boolean
13407 13408 13409 |
# File 'lib/code/object/time.rb', line 13407 def code_etc_gmt_plus_10? Boolean.new(raw_time_zone_names.include?("Etc/GMT+10")) end |
#code_etc_gmt_plus_11? ⇒ Boolean
13411 13412 13413 |
# File 'lib/code/object/time.rb', line 13411 def code_etc_gmt_plus_11? Boolean.new(raw_time_zone_names.include?("Etc/GMT+11")) end |
#code_etc_gmt_plus_12? ⇒ Boolean
13415 13416 13417 |
# File 'lib/code/object/time.rb', line 13415 def code_etc_gmt_plus_12? Boolean.new(raw_time_zone_names.include?("Etc/GMT+12")) end |
#code_etc_gmt_plus_1? ⇒ Boolean
13403 13404 13405 |
# File 'lib/code/object/time.rb', line 13403 def code_etc_gmt_plus_1? Boolean.new(raw_time_zone_names.include?("Etc/GMT+1")) end |
#code_etc_gmt_plus_2? ⇒ Boolean
13419 13420 13421 |
# File 'lib/code/object/time.rb', line 13419 def code_etc_gmt_plus_2? Boolean.new(raw_time_zone_names.include?("Etc/GMT+2")) end |
#code_etc_gmt_plus_3? ⇒ Boolean
13423 13424 13425 |
# File 'lib/code/object/time.rb', line 13423 def code_etc_gmt_plus_3? Boolean.new(raw_time_zone_names.include?("Etc/GMT+3")) end |
#code_etc_gmt_plus_4? ⇒ Boolean
13427 13428 13429 |
# File 'lib/code/object/time.rb', line 13427 def code_etc_gmt_plus_4? Boolean.new(raw_time_zone_names.include?("Etc/GMT+4")) end |
#code_etc_gmt_plus_5? ⇒ Boolean
13431 13432 13433 |
# File 'lib/code/object/time.rb', line 13431 def code_etc_gmt_plus_5? Boolean.new(raw_time_zone_names.include?("Etc/GMT+5")) end |
#code_etc_gmt_plus_6? ⇒ Boolean
13435 13436 13437 |
# File 'lib/code/object/time.rb', line 13435 def code_etc_gmt_plus_6? Boolean.new(raw_time_zone_names.include?("Etc/GMT+6")) end |
#code_etc_gmt_plus_7? ⇒ Boolean
13439 13440 13441 |
# File 'lib/code/object/time.rb', line 13439 def code_etc_gmt_plus_7? Boolean.new(raw_time_zone_names.include?("Etc/GMT+7")) end |
#code_etc_gmt_plus_8? ⇒ Boolean
13443 13444 13445 |
# File 'lib/code/object/time.rb', line 13443 def code_etc_gmt_plus_8? Boolean.new(raw_time_zone_names.include?("Etc/GMT+8")) end |
#code_etc_gmt_plus_9? ⇒ Boolean
13447 13448 13449 |
# File 'lib/code/object/time.rb', line 13447 def code_etc_gmt_plus_9? Boolean.new(raw_time_zone_names.include?("Etc/GMT+9")) end |
#code_etc_greenwich? ⇒ Boolean
13515 13516 13517 |
# File 'lib/code/object/time.rb', line 13515 def code_etc_greenwich? Boolean.new(raw_time_zone_names.include?("Etc/Greenwich")) end |
#code_etc_uct? ⇒ Boolean
13519 13520 13521 |
# File 'lib/code/object/time.rb', line 13519 def code_etc_uct? Boolean.new(raw_time_zone_names.include?("Etc/UCT")) end |
#code_etc_universal? ⇒ Boolean
13527 13528 13529 |
# File 'lib/code/object/time.rb', line 13527 def code_etc_universal? Boolean.new(raw_time_zone_names.include?("Etc/Universal")) end |
#code_etc_utc? ⇒ Boolean
13523 13524 13525 |
# File 'lib/code/object/time.rb', line 13523 def code_etc_utc? Boolean.new(raw_time_zone_names.include?("Etc/UTC")) end |
#code_etc_zulu? ⇒ Boolean
13531 13532 13533 |
# File 'lib/code/object/time.rb', line 13531 def code_etc_zulu? Boolean.new(raw_time_zone_names.include?("Etc/Zulu")) end |
#code_europe_amsterdam? ⇒ Boolean
13535 13536 13537 |
# File 'lib/code/object/time.rb', line 13535 def code_europe_amsterdam? Boolean.new(raw_time_zone_names.include?("Europe/Amsterdam")) end |
#code_europe_andorra? ⇒ Boolean
13539 13540 13541 |
# File 'lib/code/object/time.rb', line 13539 def code_europe_andorra? Boolean.new(raw_time_zone_names.include?("Europe/Andorra")) end |
#code_europe_astrakhan? ⇒ Boolean
13543 13544 13545 |
# File 'lib/code/object/time.rb', line 13543 def code_europe_astrakhan? Boolean.new(raw_time_zone_names.include?("Europe/Astrakhan")) end |
#code_europe_athens? ⇒ Boolean
13547 13548 13549 |
# File 'lib/code/object/time.rb', line 13547 def code_europe_athens? Boolean.new(raw_time_zone_names.include?("Europe/Athens")) end |
#code_europe_belfast? ⇒ Boolean
13551 13552 13553 |
# File 'lib/code/object/time.rb', line 13551 def code_europe_belfast? Boolean.new(raw_time_zone_names.include?("Europe/Belfast")) end |
#code_europe_belgrade? ⇒ Boolean
13555 13556 13557 |
# File 'lib/code/object/time.rb', line 13555 def code_europe_belgrade? Boolean.new(raw_time_zone_names.include?("Europe/Belgrade")) end |
#code_europe_berlin? ⇒ Boolean
13559 13560 13561 |
# File 'lib/code/object/time.rb', line 13559 def code_europe_berlin? Boolean.new(raw_time_zone_names.include?("Europe/Berlin")) end |
#code_europe_bratislava? ⇒ Boolean
13563 13564 13565 |
# File 'lib/code/object/time.rb', line 13563 def code_europe_bratislava? Boolean.new(raw_time_zone_names.include?("Europe/Bratislava")) end |
#code_europe_brussels? ⇒ Boolean
13567 13568 13569 |
# File 'lib/code/object/time.rb', line 13567 def code_europe_brussels? Boolean.new(raw_time_zone_names.include?("Europe/Brussels")) end |
#code_europe_bucharest? ⇒ Boolean
13571 13572 13573 |
# File 'lib/code/object/time.rb', line 13571 def code_europe_bucharest? Boolean.new(raw_time_zone_names.include?("Europe/Bucharest")) end |
#code_europe_budapest? ⇒ Boolean
13575 13576 13577 |
# File 'lib/code/object/time.rb', line 13575 def code_europe_budapest? Boolean.new(raw_time_zone_names.include?("Europe/Budapest")) end |
#code_europe_busingen? ⇒ Boolean
13579 13580 13581 |
# File 'lib/code/object/time.rb', line 13579 def code_europe_busingen? Boolean.new(raw_time_zone_names.include?("Europe/Busingen")) end |
#code_europe_chisinau? ⇒ Boolean
13583 13584 13585 |
# File 'lib/code/object/time.rb', line 13583 def code_europe_chisinau? Boolean.new(raw_time_zone_names.include?("Europe/Chisinau")) end |
#code_europe_copenhagen? ⇒ Boolean
13587 13588 13589 |
# File 'lib/code/object/time.rb', line 13587 def code_europe_copenhagen? Boolean.new(raw_time_zone_names.include?("Europe/Copenhagen")) end |
#code_europe_dublin? ⇒ Boolean
13591 13592 13593 |
# File 'lib/code/object/time.rb', line 13591 def code_europe_dublin? Boolean.new(raw_time_zone_names.include?("Europe/Dublin")) end |
#code_europe_gibraltar? ⇒ Boolean
13595 13596 13597 |
# File 'lib/code/object/time.rb', line 13595 def code_europe_gibraltar? Boolean.new(raw_time_zone_names.include?("Europe/Gibraltar")) end |
#code_europe_guernsey? ⇒ Boolean
13599 13600 13601 |
# File 'lib/code/object/time.rb', line 13599 def code_europe_guernsey? Boolean.new(raw_time_zone_names.include?("Europe/Guernsey")) end |
#code_europe_helsinki? ⇒ Boolean
13603 13604 13605 |
# File 'lib/code/object/time.rb', line 13603 def code_europe_helsinki? Boolean.new(raw_time_zone_names.include?("Europe/Helsinki")) end |
#code_europe_isle_of_man? ⇒ Boolean
13607 13608 13609 |
# File 'lib/code/object/time.rb', line 13607 def code_europe_isle_of_man? Boolean.new(raw_time_zone_names.include?("Europe/Isle_of_Man")) end |
#code_europe_istanbul? ⇒ Boolean
13611 13612 13613 |
# File 'lib/code/object/time.rb', line 13611 def code_europe_istanbul? Boolean.new(raw_time_zone_names.include?("Europe/Istanbul")) end |
#code_europe_jersey? ⇒ Boolean
13615 13616 13617 |
# File 'lib/code/object/time.rb', line 13615 def code_europe_jersey? Boolean.new(raw_time_zone_names.include?("Europe/Jersey")) end |
#code_europe_kaliningrad? ⇒ Boolean
13619 13620 13621 |
# File 'lib/code/object/time.rb', line 13619 def code_europe_kaliningrad? Boolean.new(raw_time_zone_names.include?("Europe/Kaliningrad")) end |
#code_europe_kiev? ⇒ Boolean
13623 13624 13625 |
# File 'lib/code/object/time.rb', line 13623 def code_europe_kiev? Boolean.new(raw_time_zone_names.include?("Europe/Kiev")) end |
#code_europe_kirov? ⇒ Boolean
13627 13628 13629 |
# File 'lib/code/object/time.rb', line 13627 def code_europe_kirov? Boolean.new(raw_time_zone_names.include?("Europe/Kirov")) end |
#code_europe_kyiv? ⇒ Boolean
13631 13632 13633 |
# File 'lib/code/object/time.rb', line 13631 def code_europe_kyiv? Boolean.new(raw_time_zone_names.include?("Europe/Kyiv")) end |
#code_europe_lisbon? ⇒ Boolean
13635 13636 13637 |
# File 'lib/code/object/time.rb', line 13635 def code_europe_lisbon? Boolean.new(raw_time_zone_names.include?("Europe/Lisbon")) end |
#code_europe_ljubljana? ⇒ Boolean
13639 13640 13641 |
# File 'lib/code/object/time.rb', line 13639 def code_europe_ljubljana? Boolean.new(raw_time_zone_names.include?("Europe/Ljubljana")) end |
#code_europe_london? ⇒ Boolean
13643 13644 13645 |
# File 'lib/code/object/time.rb', line 13643 def code_europe_london? Boolean.new(raw_time_zone_names.include?("Europe/London")) end |
#code_europe_luxembourg? ⇒ Boolean
13647 13648 13649 |
# File 'lib/code/object/time.rb', line 13647 def code_europe_luxembourg? Boolean.new(raw_time_zone_names.include?("Europe/Luxembourg")) end |
#code_europe_madrid? ⇒ Boolean
13651 13652 13653 |
# File 'lib/code/object/time.rb', line 13651 def code_europe_madrid? Boolean.new(raw_time_zone_names.include?("Europe/Madrid")) end |
#code_europe_malta? ⇒ Boolean
13655 13656 13657 |
# File 'lib/code/object/time.rb', line 13655 def code_europe_malta? Boolean.new(raw_time_zone_names.include?("Europe/Malta")) end |
#code_europe_mariehamn? ⇒ Boolean
13659 13660 13661 |
# File 'lib/code/object/time.rb', line 13659 def code_europe_mariehamn? Boolean.new(raw_time_zone_names.include?("Europe/Mariehamn")) end |
#code_europe_minsk? ⇒ Boolean
13663 13664 13665 |
# File 'lib/code/object/time.rb', line 13663 def code_europe_minsk? Boolean.new(raw_time_zone_names.include?("Europe/Minsk")) end |
#code_europe_monaco? ⇒ Boolean
13667 13668 13669 |
# File 'lib/code/object/time.rb', line 13667 def code_europe_monaco? Boolean.new(raw_time_zone_names.include?("Europe/Monaco")) end |
#code_europe_moscow? ⇒ Boolean
13671 13672 13673 |
# File 'lib/code/object/time.rb', line 13671 def code_europe_moscow? Boolean.new(raw_time_zone_names.include?("Europe/Moscow")) end |
#code_europe_nicosia? ⇒ Boolean
13675 13676 13677 |
# File 'lib/code/object/time.rb', line 13675 def code_europe_nicosia? Boolean.new(raw_time_zone_names.include?("Europe/Nicosia")) end |
#code_europe_oslo? ⇒ Boolean
13679 13680 13681 |
# File 'lib/code/object/time.rb', line 13679 def code_europe_oslo? Boolean.new(raw_time_zone_names.include?("Europe/Oslo")) end |
#code_europe_paris? ⇒ Boolean
13683 13684 13685 |
# File 'lib/code/object/time.rb', line 13683 def code_europe_paris? Boolean.new(raw_time_zone_names.include?("Europe/Paris")) end |
#code_europe_podgorica? ⇒ Boolean
13687 13688 13689 |
# File 'lib/code/object/time.rb', line 13687 def code_europe_podgorica? Boolean.new(raw_time_zone_names.include?("Europe/Podgorica")) end |
#code_europe_prague? ⇒ Boolean
13691 13692 13693 |
# File 'lib/code/object/time.rb', line 13691 def code_europe_prague? Boolean.new(raw_time_zone_names.include?("Europe/Prague")) end |
#code_europe_riga? ⇒ Boolean
13695 13696 13697 |
# File 'lib/code/object/time.rb', line 13695 def code_europe_riga? Boolean.new(raw_time_zone_names.include?("Europe/Riga")) end |
#code_europe_rome? ⇒ Boolean
13699 13700 13701 |
# File 'lib/code/object/time.rb', line 13699 def code_europe_rome? Boolean.new(raw_time_zone_names.include?("Europe/Rome")) end |
#code_europe_samara? ⇒ Boolean
13703 13704 13705 |
# File 'lib/code/object/time.rb', line 13703 def code_europe_samara? Boolean.new(raw_time_zone_names.include?("Europe/Samara")) end |
#code_europe_san_marino? ⇒ Boolean
13707 13708 13709 |
# File 'lib/code/object/time.rb', line 13707 def code_europe_san_marino? Boolean.new(raw_time_zone_names.include?("Europe/San_Marino")) end |
#code_europe_sarajevo? ⇒ Boolean
13711 13712 13713 |
# File 'lib/code/object/time.rb', line 13711 def code_europe_sarajevo? Boolean.new(raw_time_zone_names.include?("Europe/Sarajevo")) end |
#code_europe_saratov? ⇒ Boolean
13715 13716 13717 |
# File 'lib/code/object/time.rb', line 13715 def code_europe_saratov? Boolean.new(raw_time_zone_names.include?("Europe/Saratov")) end |
#code_europe_simferopol? ⇒ Boolean
13719 13720 13721 |
# File 'lib/code/object/time.rb', line 13719 def code_europe_simferopol? Boolean.new(raw_time_zone_names.include?("Europe/Simferopol")) end |
#code_europe_skopje? ⇒ Boolean
13723 13724 13725 |
# File 'lib/code/object/time.rb', line 13723 def code_europe_skopje? Boolean.new(raw_time_zone_names.include?("Europe/Skopje")) end |
#code_europe_sofia? ⇒ Boolean
13727 13728 13729 |
# File 'lib/code/object/time.rb', line 13727 def code_europe_sofia? Boolean.new(raw_time_zone_names.include?("Europe/Sofia")) end |
#code_europe_stockholm? ⇒ Boolean
13731 13732 13733 |
# File 'lib/code/object/time.rb', line 13731 def code_europe_stockholm? Boolean.new(raw_time_zone_names.include?("Europe/Stockholm")) end |
#code_europe_tallinn? ⇒ Boolean
13735 13736 13737 |
# File 'lib/code/object/time.rb', line 13735 def code_europe_tallinn? Boolean.new(raw_time_zone_names.include?("Europe/Tallinn")) end |
#code_europe_tirane? ⇒ Boolean
13739 13740 13741 |
# File 'lib/code/object/time.rb', line 13739 def code_europe_tirane? Boolean.new(raw_time_zone_names.include?("Europe/Tirane")) end |
#code_europe_tiraspol? ⇒ Boolean
13743 13744 13745 |
# File 'lib/code/object/time.rb', line 13743 def code_europe_tiraspol? Boolean.new(raw_time_zone_names.include?("Europe/Tiraspol")) end |
#code_europe_ulyanovsk? ⇒ Boolean
13747 13748 13749 |
# File 'lib/code/object/time.rb', line 13747 def code_europe_ulyanovsk? Boolean.new(raw_time_zone_names.include?("Europe/Ulyanovsk")) end |
#code_europe_uzhgorod? ⇒ Boolean
13751 13752 13753 |
# File 'lib/code/object/time.rb', line 13751 def code_europe_uzhgorod? Boolean.new(raw_time_zone_names.include?("Europe/Uzhgorod")) end |
#code_europe_vaduz? ⇒ Boolean
13755 13756 13757 |
# File 'lib/code/object/time.rb', line 13755 def code_europe_vaduz? Boolean.new(raw_time_zone_names.include?("Europe/Vaduz")) end |
#code_europe_vatican? ⇒ Boolean
13759 13760 13761 |
# File 'lib/code/object/time.rb', line 13759 def code_europe_vatican? Boolean.new(raw_time_zone_names.include?("Europe/Vatican")) end |
#code_europe_vienna? ⇒ Boolean
13763 13764 13765 |
# File 'lib/code/object/time.rb', line 13763 def code_europe_vienna? Boolean.new(raw_time_zone_names.include?("Europe/Vienna")) end |
#code_europe_vilnius? ⇒ Boolean
13767 13768 13769 |
# File 'lib/code/object/time.rb', line 13767 def code_europe_vilnius? Boolean.new(raw_time_zone_names.include?("Europe/Vilnius")) end |
#code_europe_volgograd? ⇒ Boolean
13771 13772 13773 |
# File 'lib/code/object/time.rb', line 13771 def code_europe_volgograd? Boolean.new(raw_time_zone_names.include?("Europe/Volgograd")) end |
#code_europe_warsaw? ⇒ Boolean
13775 13776 13777 |
# File 'lib/code/object/time.rb', line 13775 def code_europe_warsaw? Boolean.new(raw_time_zone_names.include?("Europe/Warsaw")) end |
#code_europe_zagreb? ⇒ Boolean
13779 13780 13781 |
# File 'lib/code/object/time.rb', line 13779 def code_europe_zagreb? Boolean.new(raw_time_zone_names.include?("Europe/Zagreb")) end |
#code_europe_zaporozhye? ⇒ Boolean
13783 13784 13785 |
# File 'lib/code/object/time.rb', line 13783 def code_europe_zaporozhye? Boolean.new(raw_time_zone_names.include?("Europe/Zaporozhye")) end |
#code_europe_zurich? ⇒ Boolean
13787 13788 13789 |
# File 'lib/code/object/time.rb', line 13787 def code_europe_zurich? Boolean.new(raw_time_zone_names.include?("Europe/Zurich")) end |
#code_factory? ⇒ Boolean
13791 13792 13793 |
# File 'lib/code/object/time.rb', line 13791 def code_factory? Boolean.new(raw_time_zone_names.include?("Factory")) end |
#code_february? ⇒ Boolean
11711 11712 11713 |
# File 'lib/code/object/time.rb', line 11711 def code_february? code_month.code_two? end |
#code_format(format, locale: nil) ⇒ Object
11755 11756 11757 11758 11759 11760 11761 11762 11763 11764 11765 11766 11767 11768 11769 11770 11771 11772 11773 |
# File 'lib/code/object/time.rb', line 11755 def code_format(format, locale: nil) code_format = format.to_code code_locale = locale.to_code requested_locale = code_locale.raw&.to_s locale = requested_locale&.presence_in(LOCALES)&.to_sym locale ||= ::I18n.locale locale = ::I18n.locale unless ::I18n.available_locales.include?( locale.to_sym ) format = code_format.raw || :default format = format.to_sym if ::I18n.exists?( "time.formats.#{format}", locale ) String.new(::I18n.l(raw, format: format, locale: locale)) end |
#code_friday? ⇒ Boolean
11695 11696 11697 |
# File 'lib/code/object/time.rb', line 11695 def code_friday? code_week_day.code_five? end |
#code_future? ⇒ Boolean
11611 11612 11613 |
# File 'lib/code/object/time.rb', line 11611 def code_future? code_after? end |
#code_gb? ⇒ Boolean
13795 13796 13797 |
# File 'lib/code/object/time.rb', line 13795 def code_gb? Boolean.new(raw_time_zone_names.include?("GB")) end |
#code_gb_minus_eire? ⇒ Boolean
13799 13800 13801 |
# File 'lib/code/object/time.rb', line 13799 def code_gb_minus_eire? Boolean.new(raw_time_zone_names.include?("GB-Eire")) end |
#code_gmt0? ⇒ Boolean
13815 13816 13817 |
# File 'lib/code/object/time.rb', line 13815 def code_gmt0? Boolean.new(raw_time_zone_names.include?("GMT0")) end |
#code_gmt? ⇒ Boolean
13803 13804 13805 |
# File 'lib/code/object/time.rb', line 13803 def code_gmt? Boolean.new(raw_time_zone_names.include?("GMT")) end |
#code_gmt_minus_0? ⇒ Boolean
13811 13812 13813 |
# File 'lib/code/object/time.rb', line 13811 def code_gmt_minus_0? Boolean.new(raw_time_zone_names.include?("GMT-0")) end |
#code_gmt_plus_0? ⇒ Boolean
13807 13808 13809 |
# File 'lib/code/object/time.rb', line 13807 def code_gmt_plus_0? Boolean.new(raw_time_zone_names.include?("GMT+0")) end |
#code_greenwich? ⇒ Boolean
13819 13820 13821 |
# File 'lib/code/object/time.rb', line 13819 def code_greenwich? Boolean.new(raw_time_zone_names.include?("Greenwich")) end |
#code_hongkong? ⇒ Boolean
13827 13828 13829 |
# File 'lib/code/object/time.rb', line 13827 def code_hongkong? Boolean.new(raw_time_zone_names.include?("Hongkong")) end |
#code_hour ⇒ Object
11655 11656 11657 |
# File 'lib/code/object/time.rb', line 11655 def code_hour Integer.new(raw.hour) end |
#code_hours ⇒ Object
11659 11660 11661 |
# File 'lib/code/object/time.rb', line 11659 def code_hours Integer.new(raw.hour) end |
#code_hst? ⇒ Boolean
13823 13824 13825 |
# File 'lib/code/object/time.rb', line 13823 def code_hst? Boolean.new(raw_time_zone_names.include?("HST")) end |
#code_iceland? ⇒ Boolean
13831 13832 13833 |
# File 'lib/code/object/time.rb', line 13831 def code_iceland? Boolean.new(raw_time_zone_names.include?("Iceland")) end |
#code_indian_antananarivo? ⇒ Boolean
13835 13836 13837 |
# File 'lib/code/object/time.rb', line 13835 def code_indian_antananarivo? Boolean.new(raw_time_zone_names.include?("Indian/Antananarivo")) end |
#code_indian_chagos? ⇒ Boolean
13839 13840 13841 |
# File 'lib/code/object/time.rb', line 13839 def code_indian_chagos? Boolean.new(raw_time_zone_names.include?("Indian/Chagos")) end |
#code_indian_christmas? ⇒ Boolean
13843 13844 13845 |
# File 'lib/code/object/time.rb', line 13843 def code_indian_christmas? Boolean.new(raw_time_zone_names.include?("Indian/Christmas")) end |
#code_indian_cocos? ⇒ Boolean
13847 13848 13849 |
# File 'lib/code/object/time.rb', line 13847 def code_indian_cocos? Boolean.new(raw_time_zone_names.include?("Indian/Cocos")) end |
#code_indian_comoro? ⇒ Boolean
13851 13852 13853 |
# File 'lib/code/object/time.rb', line 13851 def code_indian_comoro? Boolean.new(raw_time_zone_names.include?("Indian/Comoro")) end |
#code_indian_kerguelen? ⇒ Boolean
13855 13856 13857 |
# File 'lib/code/object/time.rb', line 13855 def code_indian_kerguelen? Boolean.new(raw_time_zone_names.include?("Indian/Kerguelen")) end |
#code_indian_mahe? ⇒ Boolean
13859 13860 13861 |
# File 'lib/code/object/time.rb', line 13859 def code_indian_mahe? Boolean.new(raw_time_zone_names.include?("Indian/Mahe")) end |
#code_indian_maldives? ⇒ Boolean
13863 13864 13865 |
# File 'lib/code/object/time.rb', line 13863 def code_indian_maldives? Boolean.new(raw_time_zone_names.include?("Indian/Maldives")) end |
#code_indian_mauritius? ⇒ Boolean
13867 13868 13869 |
# File 'lib/code/object/time.rb', line 13867 def code_indian_mauritius? Boolean.new(raw_time_zone_names.include?("Indian/Mauritius")) end |
#code_indian_mayotte? ⇒ Boolean
13871 13872 13873 |
# File 'lib/code/object/time.rb', line 13871 def code_indian_mayotte? Boolean.new(raw_time_zone_names.include?("Indian/Mayotte")) end |
#code_indian_reunion? ⇒ Boolean
13875 13876 13877 |
# File 'lib/code/object/time.rb', line 13875 def code_indian_reunion? Boolean.new(raw_time_zone_names.include?("Indian/Reunion")) end |
#code_iran? ⇒ Boolean
13879 13880 13881 |
# File 'lib/code/object/time.rb', line 13879 def code_iran? Boolean.new(raw_time_zone_names.include?("Iran")) end |
#code_iso ⇒ Object
11779 11780 11781 |
# File 'lib/code/object/time.rb', line 11779 def code_iso code_iso8601 end |
#code_iso8601 ⇒ Object
11775 11776 11777 |
# File 'lib/code/object/time.rb', line 11775 def code_iso8601 String.new(raw.iso8601) end |
#code_israel? ⇒ Boolean
13883 13884 13885 |
# File 'lib/code/object/time.rb', line 13883 def code_israel? Boolean.new(raw_time_zone_names.include?("Israel")) end |
#code_jamaica? ⇒ Boolean
13887 13888 13889 |
# File 'lib/code/object/time.rb', line 13887 def code_jamaica? Boolean.new(raw_time_zone_names.include?("Jamaica")) end |
#code_january? ⇒ Boolean
11707 11708 11709 |
# File 'lib/code/object/time.rb', line 11707 def code_january? code_month.code_one? end |
#code_japan? ⇒ Boolean
13891 13892 13893 |
# File 'lib/code/object/time.rb', line 13891 def code_japan? Boolean.new(raw_time_zone_names.include?("Japan")) end |
#code_july? ⇒ Boolean
11731 11732 11733 |
# File 'lib/code/object/time.rb', line 11731 def code_july? code_month.code_seven? end |
#code_june? ⇒ Boolean
11727 11728 11729 |
# File 'lib/code/object/time.rb', line 11727 def code_june? code_month.code_six? end |
#code_kwajalein? ⇒ Boolean
13895 13896 13897 |
# File 'lib/code/object/time.rb', line 13895 def code_kwajalein? Boolean.new(raw_time_zone_names.include?("Kwajalein")) end |
#code_libya? ⇒ Boolean
13899 13900 13901 |
# File 'lib/code/object/time.rb', line 13899 def code_libya? Boolean.new(raw_time_zone_names.include?("Libya")) end |
#code_local ⇒ Object
14262 14263 14264 |
# File 'lib/code/object/time.rb', line 14262 def code_local Time.new(raw.in_time_zone(::Time.zone)) end |
#code_march? ⇒ Boolean
11715 11716 11717 |
# File 'lib/code/object/time.rb', line 11715 def code_march? code_month.code_three? end |
#code_may? ⇒ Boolean
11723 11724 11725 |
# File 'lib/code/object/time.rb', line 11723 def code_may? code_month.code_five? end |
#code_met? ⇒ Boolean
13903 13904 13905 |
# File 'lib/code/object/time.rb', line 13903 def code_met? Boolean.new(raw_time_zone_names.include?("MET")) end |
#code_mexico_bajanorte? ⇒ Boolean
13915 13916 13917 |
# File 'lib/code/object/time.rb', line 13915 def code_mexico_bajanorte? Boolean.new(raw_time_zone_names.include?("Mexico/BajaNorte")) end |
#code_mexico_bajasur? ⇒ Boolean
13919 13920 13921 |
# File 'lib/code/object/time.rb', line 13919 def code_mexico_bajasur? Boolean.new(raw_time_zone_names.include?("Mexico/BajaSur")) end |
#code_mexico_general? ⇒ Boolean
13923 13924 13925 |
# File 'lib/code/object/time.rb', line 13923 def code_mexico_general? Boolean.new(raw_time_zone_names.include?("Mexico/General")) end |
#code_millisecond ⇒ Object
14250 14251 14252 |
# File 'lib/code/object/time.rb', line 14250 def code_millisecond Integer.new(raw.nsec / 1_000_000) end |
#code_milliseconds ⇒ Object
14254 14255 14256 |
# File 'lib/code/object/time.rb', line 14254 def code_milliseconds code_millisecond end |
#code_minute ⇒ Object
11663 11664 11665 |
# File 'lib/code/object/time.rb', line 11663 def code_minute Integer.new(raw.min) end |
#code_minutes ⇒ Object
11667 11668 11669 |
# File 'lib/code/object/time.rb', line 11667 def code_minutes Integer.new(raw.min) end |
#code_monday? ⇒ Boolean
11679 11680 11681 |
# File 'lib/code/object/time.rb', line 11679 def code_monday? code_week_day.code_one? end |
#code_month ⇒ Object
11623 11624 11625 |
# File 'lib/code/object/time.rb', line 11623 def code_month Integer.new(raw.month) end |
#code_month_day ⇒ Object
14238 14239 14240 |
# File 'lib/code/object/time.rb', line 14238 def code_month_day code_day end |
#code_months ⇒ Object
11627 11628 11629 |
# File 'lib/code/object/time.rb', line 11627 def code_months Integer.new(raw.month) end |
#code_mst7mdt? ⇒ Boolean
13911 13912 13913 |
# File 'lib/code/object/time.rb', line 13911 def code_mst7mdt? Boolean.new(raw_time_zone_names.include?("MST7MDT")) end |
#code_mst? ⇒ Boolean
13907 13908 13909 |
# File 'lib/code/object/time.rb', line 13907 def code_mst? Boolean.new(raw_time_zone_names.include?("MST")) end |
#code_nanosecond ⇒ Object
14242 14243 14244 |
# File 'lib/code/object/time.rb', line 14242 def code_nanosecond Integer.new(raw.nsec) end |
#code_nanoseconds ⇒ Object
14246 14247 14248 |
# File 'lib/code/object/time.rb', line 14246 def code_nanoseconds code_nanosecond end |
#code_navajo? ⇒ Boolean
13935 13936 13937 |
# File 'lib/code/object/time.rb', line 13935 def code_navajo? Boolean.new(raw_time_zone_names.include?("Navajo")) end |
#code_november? ⇒ Boolean
11747 11748 11749 |
# File 'lib/code/object/time.rb', line 11747 def code_november? code_month.code_eleven? end |
#code_now ⇒ Object
14278 14279 14280 |
# File 'lib/code/object/time.rb', line 14278 def code_now Time.new end |
#code_nz? ⇒ Boolean
13927 13928 13929 |
# File 'lib/code/object/time.rb', line 13927 def code_nz? Boolean.new(raw_time_zone_names.include?("NZ")) end |
#code_nz_minus_chat? ⇒ Boolean
13931 13932 13933 |
# File 'lib/code/object/time.rb', line 13931 def code_nz_minus_chat? Boolean.new(raw_time_zone_names.include?("NZ-CHAT")) end |
#code_october? ⇒ Boolean
11743 11744 11745 |
# File 'lib/code/object/time.rb', line 11743 def code_october? code_month.code_ten? end |
#code_pacific_apia? ⇒ Boolean
13947 13948 13949 |
# File 'lib/code/object/time.rb', line 13947 def code_pacific_apia? Boolean.new(raw_time_zone_names.include?("Pacific/Apia")) end |
#code_pacific_auckland? ⇒ Boolean
13951 13952 13953 |
# File 'lib/code/object/time.rb', line 13951 def code_pacific_auckland? Boolean.new(raw_time_zone_names.include?("Pacific/Auckland")) end |
#code_pacific_bougainville? ⇒ Boolean
13955 13956 13957 |
# File 'lib/code/object/time.rb', line 13955 def code_pacific_bougainville? Boolean.new(raw_time_zone_names.include?("Pacific/Bougainville")) end |
#code_pacific_chatham? ⇒ Boolean
13959 13960 13961 |
# File 'lib/code/object/time.rb', line 13959 def code_pacific_chatham? Boolean.new(raw_time_zone_names.include?("Pacific/Chatham")) end |
#code_pacific_chuuk? ⇒ Boolean
13963 13964 13965 |
# File 'lib/code/object/time.rb', line 13963 def code_pacific_chuuk? Boolean.new(raw_time_zone_names.include?("Pacific/Chuuk")) end |
#code_pacific_easter? ⇒ Boolean
13967 13968 13969 |
# File 'lib/code/object/time.rb', line 13967 def code_pacific_easter? Boolean.new(raw_time_zone_names.include?("Pacific/Easter")) end |
#code_pacific_efate? ⇒ Boolean
13971 13972 13973 |
# File 'lib/code/object/time.rb', line 13971 def code_pacific_efate? Boolean.new(raw_time_zone_names.include?("Pacific/Efate")) end |
#code_pacific_enderbury? ⇒ Boolean
13975 13976 13977 |
# File 'lib/code/object/time.rb', line 13975 def code_pacific_enderbury? Boolean.new(raw_time_zone_names.include?("Pacific/Enderbury")) end |
#code_pacific_fakaofo? ⇒ Boolean
13979 13980 13981 |
# File 'lib/code/object/time.rb', line 13979 def code_pacific_fakaofo? Boolean.new(raw_time_zone_names.include?("Pacific/Fakaofo")) end |
#code_pacific_fiji? ⇒ Boolean
13983 13984 13985 |
# File 'lib/code/object/time.rb', line 13983 def code_pacific_fiji? Boolean.new(raw_time_zone_names.include?("Pacific/Fiji")) end |
#code_pacific_funafuti? ⇒ Boolean
13987 13988 13989 |
# File 'lib/code/object/time.rb', line 13987 def code_pacific_funafuti? Boolean.new(raw_time_zone_names.include?("Pacific/Funafuti")) end |
#code_pacific_galapagos? ⇒ Boolean
13991 13992 13993 |
# File 'lib/code/object/time.rb', line 13991 def code_pacific_galapagos? Boolean.new(raw_time_zone_names.include?("Pacific/Galapagos")) end |
#code_pacific_gambier? ⇒ Boolean
13995 13996 13997 |
# File 'lib/code/object/time.rb', line 13995 def code_pacific_gambier? Boolean.new(raw_time_zone_names.include?("Pacific/Gambier")) end |
#code_pacific_guadalcanal? ⇒ Boolean
13999 14000 14001 |
# File 'lib/code/object/time.rb', line 13999 def code_pacific_guadalcanal? Boolean.new(raw_time_zone_names.include?("Pacific/Guadalcanal")) end |
#code_pacific_guam? ⇒ Boolean
14003 14004 14005 |
# File 'lib/code/object/time.rb', line 14003 def code_pacific_guam? Boolean.new(raw_time_zone_names.include?("Pacific/Guam")) end |
#code_pacific_honolulu? ⇒ Boolean
14007 14008 14009 |
# File 'lib/code/object/time.rb', line 14007 def code_pacific_honolulu? Boolean.new(raw_time_zone_names.include?("Pacific/Honolulu")) end |
#code_pacific_johnston? ⇒ Boolean
14011 14012 14013 |
# File 'lib/code/object/time.rb', line 14011 def code_pacific_johnston? Boolean.new(raw_time_zone_names.include?("Pacific/Johnston")) end |
#code_pacific_kanton? ⇒ Boolean
14015 14016 14017 |
# File 'lib/code/object/time.rb', line 14015 def code_pacific_kanton? Boolean.new(raw_time_zone_names.include?("Pacific/Kanton")) end |
#code_pacific_kiritimati? ⇒ Boolean
14019 14020 14021 |
# File 'lib/code/object/time.rb', line 14019 def code_pacific_kiritimati? Boolean.new(raw_time_zone_names.include?("Pacific/Kiritimati")) end |
#code_pacific_kosrae? ⇒ Boolean
14023 14024 14025 |
# File 'lib/code/object/time.rb', line 14023 def code_pacific_kosrae? Boolean.new(raw_time_zone_names.include?("Pacific/Kosrae")) end |
#code_pacific_kwajalein? ⇒ Boolean
14027 14028 14029 |
# File 'lib/code/object/time.rb', line 14027 def code_pacific_kwajalein? Boolean.new(raw_time_zone_names.include?("Pacific/Kwajalein")) end |
#code_pacific_majuro? ⇒ Boolean
14031 14032 14033 |
# File 'lib/code/object/time.rb', line 14031 def code_pacific_majuro? Boolean.new(raw_time_zone_names.include?("Pacific/Majuro")) end |
#code_pacific_marquesas? ⇒ Boolean
14035 14036 14037 |
# File 'lib/code/object/time.rb', line 14035 def code_pacific_marquesas? Boolean.new(raw_time_zone_names.include?("Pacific/Marquesas")) end |
#code_pacific_midway? ⇒ Boolean
14039 14040 14041 |
# File 'lib/code/object/time.rb', line 14039 def code_pacific_midway? Boolean.new(raw_time_zone_names.include?("Pacific/Midway")) end |
#code_pacific_nauru? ⇒ Boolean
14043 14044 14045 |
# File 'lib/code/object/time.rb', line 14043 def code_pacific_nauru? Boolean.new(raw_time_zone_names.include?("Pacific/Nauru")) end |
#code_pacific_niue? ⇒ Boolean
14047 14048 14049 |
# File 'lib/code/object/time.rb', line 14047 def code_pacific_niue? Boolean.new(raw_time_zone_names.include?("Pacific/Niue")) end |
#code_pacific_norfolk? ⇒ Boolean
14051 14052 14053 |
# File 'lib/code/object/time.rb', line 14051 def code_pacific_norfolk? Boolean.new(raw_time_zone_names.include?("Pacific/Norfolk")) end |
#code_pacific_noumea? ⇒ Boolean
14055 14056 14057 |
# File 'lib/code/object/time.rb', line 14055 def code_pacific_noumea? Boolean.new(raw_time_zone_names.include?("Pacific/Noumea")) end |
#code_pacific_pago_pago? ⇒ Boolean
14059 14060 14061 |
# File 'lib/code/object/time.rb', line 14059 def code_pacific_pago_pago? Boolean.new(raw_time_zone_names.include?("Pacific/Pago_Pago")) end |
#code_pacific_palau? ⇒ Boolean
14063 14064 14065 |
# File 'lib/code/object/time.rb', line 14063 def code_pacific_palau? Boolean.new(raw_time_zone_names.include?("Pacific/Palau")) end |
#code_pacific_pitcairn? ⇒ Boolean
14067 14068 14069 |
# File 'lib/code/object/time.rb', line 14067 def code_pacific_pitcairn? Boolean.new(raw_time_zone_names.include?("Pacific/Pitcairn")) end |
#code_pacific_pohnpei? ⇒ Boolean
14071 14072 14073 |
# File 'lib/code/object/time.rb', line 14071 def code_pacific_pohnpei? Boolean.new(raw_time_zone_names.include?("Pacific/Pohnpei")) end |
#code_pacific_ponape? ⇒ Boolean
14075 14076 14077 |
# File 'lib/code/object/time.rb', line 14075 def code_pacific_ponape? Boolean.new(raw_time_zone_names.include?("Pacific/Ponape")) end |
#code_pacific_port_moresby? ⇒ Boolean
14079 14080 14081 |
# File 'lib/code/object/time.rb', line 14079 def code_pacific_port_moresby? Boolean.new(raw_time_zone_names.include?("Pacific/Port_Moresby")) end |
#code_pacific_rarotonga? ⇒ Boolean
14083 14084 14085 |
# File 'lib/code/object/time.rb', line 14083 def code_pacific_rarotonga? Boolean.new(raw_time_zone_names.include?("Pacific/Rarotonga")) end |
#code_pacific_saipan? ⇒ Boolean
14087 14088 14089 |
# File 'lib/code/object/time.rb', line 14087 def code_pacific_saipan? Boolean.new(raw_time_zone_names.include?("Pacific/Saipan")) end |
#code_pacific_samoa? ⇒ Boolean
14091 14092 14093 |
# File 'lib/code/object/time.rb', line 14091 def code_pacific_samoa? Boolean.new(raw_time_zone_names.include?("Pacific/Samoa")) end |
#code_pacific_tahiti? ⇒ Boolean
14095 14096 14097 |
# File 'lib/code/object/time.rb', line 14095 def code_pacific_tahiti? Boolean.new(raw_time_zone_names.include?("Pacific/Tahiti")) end |
#code_pacific_tarawa? ⇒ Boolean
14099 14100 14101 |
# File 'lib/code/object/time.rb', line 14099 def code_pacific_tarawa? Boolean.new(raw_time_zone_names.include?("Pacific/Tarawa")) end |
#code_pacific_tongatapu? ⇒ Boolean
14103 14104 14105 |
# File 'lib/code/object/time.rb', line 14103 def code_pacific_tongatapu? Boolean.new(raw_time_zone_names.include?("Pacific/Tongatapu")) end |
#code_pacific_truk? ⇒ Boolean
14107 14108 14109 |
# File 'lib/code/object/time.rb', line 14107 def code_pacific_truk? Boolean.new(raw_time_zone_names.include?("Pacific/Truk")) end |
#code_pacific_wake? ⇒ Boolean
14111 14112 14113 |
# File 'lib/code/object/time.rb', line 14111 def code_pacific_wake? Boolean.new(raw_time_zone_names.include?("Pacific/Wake")) end |
#code_pacific_wallis? ⇒ Boolean
14115 14116 14117 |
# File 'lib/code/object/time.rb', line 14115 def code_pacific_wallis? Boolean.new(raw_time_zone_names.include?("Pacific/Wallis")) end |
#code_pacific_yap? ⇒ Boolean
14119 14120 14121 |
# File 'lib/code/object/time.rb', line 14119 def code_pacific_yap? Boolean.new(raw_time_zone_names.include?("Pacific/Yap")) end |
#code_past? ⇒ Boolean
11607 11608 11609 |
# File 'lib/code/object/time.rb', line 11607 def code_past? code_before? end |
#code_poland? ⇒ Boolean
14123 14124 14125 |
# File 'lib/code/object/time.rb', line 14123 def code_poland? Boolean.new(raw_time_zone_names.include?("Poland")) end |
#code_portugal? ⇒ Boolean
14127 14128 14129 |
# File 'lib/code/object/time.rb', line 14127 def code_portugal? Boolean.new(raw_time_zone_names.include?("Portugal")) end |
#code_prc? ⇒ Boolean
13939 13940 13941 |
# File 'lib/code/object/time.rb', line 13939 def code_prc? Boolean.new(raw_time_zone_names.include?("PRC")) end |
#code_pst8pdt? ⇒ Boolean
13943 13944 13945 |
# File 'lib/code/object/time.rb', line 13943 def code_pst8pdt? Boolean.new(raw_time_zone_names.include?("PST8PDT")) end |
#code_rfc ⇒ Object
11791 11792 11793 |
# File 'lib/code/object/time.rb', line 11791 def code_rfc code_rfc3339 end |
#code_rfc2822 ⇒ Object
11783 11784 11785 |
# File 'lib/code/object/time.rb', line 11783 def code_rfc2822 String.new(raw.rfc2822) end |
#code_rfc3339 ⇒ Object
11787 11788 11789 |
# File 'lib/code/object/time.rb', line 11787 def code_rfc3339 String.new(raw.rfc3339) end |
#code_roc? ⇒ Boolean
14131 14132 14133 |
# File 'lib/code/object/time.rb', line 14131 def code_roc? Boolean.new(raw_time_zone_names.include?("ROC")) end |
#code_rok? ⇒ Boolean
14135 14136 14137 |
# File 'lib/code/object/time.rb', line 14135 def code_rok? Boolean.new(raw_time_zone_names.include?("ROK")) end |
#code_saturday? ⇒ Boolean
11699 11700 11701 |
# File 'lib/code/object/time.rb', line 11699 def code_saturday? code_week_day.code_six? end |
#code_second ⇒ Object
11671 11672 11673 |
# File 'lib/code/object/time.rb', line 11671 def code_second Integer.new(raw.sec) end |
#code_seconds ⇒ Object
11675 11676 11677 |
# File 'lib/code/object/time.rb', line 11675 def code_seconds Integer.new(raw.sec) end |
#code_september? ⇒ Boolean
11739 11740 11741 |
# File 'lib/code/object/time.rb', line 11739 def code_september? code_month.code_nine? end |
#code_singapore? ⇒ Boolean
14139 14140 14141 |
# File 'lib/code/object/time.rb', line 14139 def code_singapore? Boolean.new(raw_time_zone_names.include?("Singapore")) end |
#code_substract(year: nil, years: nil, month: nil, months: nil, day: nil, days: nil, week_day: nil, week_days: nil, week: nil, weeks: nil, hour: nil, hours: nil, minute: nil, minutes: nil, second: nil, seconds: nil) ⇒ Object
14346 14347 14348 14349 14350 14351 14352 14353 14354 14355 14356 14357 14358 14359 14360 14361 14362 14363 14364 14365 14366 14367 14368 14369 14370 14371 14372 14373 14374 14375 14376 14377 14378 14379 14380 14381 14382 14383 14384 14385 14386 14387 14388 14389 14390 14391 14392 14393 14394 14395 14396 |
# File 'lib/code/object/time.rb', line 14346 def code_substract( year: nil, years: nil, month: nil, months: nil, day: nil, days: nil, week_day: nil, week_days: nil, week: nil, weeks: nil, hour: nil, hours: nil, minute: nil, minutes: nil, second: nil, seconds: nil ) code_year = year.to_code.nothing? ? years.to_code : year.to_code code_month = month.to_code.nothing? ? months.to_code : month.to_code code_day = day.to_code.nothing? ? days.to_code : day.to_code code_week_day = week_day.to_code.nothing? ? week_days.to_code : week_day.to_code code_week = week.to_code.nothing? ? weeks.to_code : week.to_code code_hour = hour.to_code.nothing? ? hours.to_code : hour.to_code code_minute = minute.to_code.nothing? ? minutes.to_code : minute.to_code code_second = second.to_code.nothing? ? seconds.to_code : second.to_code year = code_years.code_to_integer.raw - code_year.code_to_integer.raw month = code_months.code_to_integer.raw - code_month.code_to_integer.raw day = code_days.code_to_integer.raw - code_day.code_to_integer.raw week_day = code_week_days.code_to_integer.raw - code_week_day.code_to_integer.raw week = code_weeks.code_to_integer.raw - code_week.code_to_integer.raw hour = code_hours.code_to_integer.raw - code_hour.code_to_integer.raw minute = code_minutes.code_to_integer.raw - code_minute.code_to_integer.raw second = code_seconds.code_to_integer.raw - code_second.code_to_integer.raw code_change( year: year, month: month, day: day, week_day: week_day, week: week, hour: hour, minute: minute, second: second ) end |
#code_subtract ⇒ Object
14398 14399 14400 |
# File 'lib/code/object/time.rb', line 14398 def code_subtract(...) code_substract(...) end |
#code_sunday? ⇒ Boolean
11703 11704 11705 |
# File 'lib/code/object/time.rb', line 11703 def code_sunday? code_week_day.code_zero? end |
#code_thursday? ⇒ Boolean
11691 11692 11693 |
# File 'lib/code/object/time.rb', line 11691 def code_thursday? code_week_day.code_four? end |
#code_to_decimal ⇒ Object
11813 11814 11815 |
# File 'lib/code/object/time.rb', line 11813 def code_to_decimal Decimal.new(BigDecimal(raw.to_r, 16)) end |
#code_to_integer ⇒ Object
11809 11810 11811 |
# File 'lib/code/object/time.rb', line 11809 def code_to_integer Integer.new(raw.to_i) end |
#code_to_list ⇒ Object
11795 11796 11797 11798 11799 11800 11801 11802 11803 11804 11805 11806 11807 |
# File 'lib/code/object/time.rb', line 11795 def code_to_list List.new( [ code_year, code_month, code_day, code_hour, code_minute, code_second, code_zone ] ) end |
#code_today ⇒ Object
14274 14275 14276 |
# File 'lib/code/object/time.rb', line 14274 def code_today Time.new end |
#code_tomorrow ⇒ Object
14286 14287 14288 |
# File 'lib/code/object/time.rb', line 14286 def code_tomorrow code_add(day: 1) end |
#code_tuesday? ⇒ Boolean
11683 11684 11685 |
# File 'lib/code/object/time.rb', line 11683 def code_tuesday? code_week_day.code_two? end |
#code_turkey? ⇒ Boolean
14143 14144 14145 |
# File 'lib/code/object/time.rb', line 14143 def code_turkey? Boolean.new(raw_time_zone_names.include?("Turkey")) end |
#code_uct? ⇒ Boolean
14147 14148 14149 |
# File 'lib/code/object/time.rb', line 14147 def code_uct? Boolean.new(raw_time_zone_names.include?("UCT")) end |
#code_universal? ⇒ Boolean
14206 14207 14208 |
# File 'lib/code/object/time.rb', line 14206 def code_universal? Boolean.new(raw_time_zone_names.include?("Universal")) end |
#code_us_alaska? ⇒ Boolean
14151 14152 14153 |
# File 'lib/code/object/time.rb', line 14151 def code_us_alaska? Boolean.new(raw_time_zone_names.include?("US/Alaska")) end |
#code_us_aleutian? ⇒ Boolean
14155 14156 14157 |
# File 'lib/code/object/time.rb', line 14155 def code_us_aleutian? Boolean.new(raw_time_zone_names.include?("US/Aleutian")) end |
#code_us_arizona? ⇒ Boolean
14159 14160 14161 |
# File 'lib/code/object/time.rb', line 14159 def code_us_arizona? Boolean.new(raw_time_zone_names.include?("US/Arizona")) end |
#code_us_central? ⇒ Boolean
14163 14164 14165 |
# File 'lib/code/object/time.rb', line 14163 def code_us_central? Boolean.new(raw_time_zone_names.include?("US/Central")) end |
#code_us_east_minus_indiana? ⇒ Boolean
14167 14168 14169 |
# File 'lib/code/object/time.rb', line 14167 def code_us_east_minus_indiana? Boolean.new(raw_time_zone_names.include?("US/East-Indiana")) end |
#code_us_eastern? ⇒ Boolean
14171 14172 14173 |
# File 'lib/code/object/time.rb', line 14171 def code_us_eastern? Boolean.new(raw_time_zone_names.include?("US/Eastern")) end |
#code_us_hawaii? ⇒ Boolean
14175 14176 14177 |
# File 'lib/code/object/time.rb', line 14175 def code_us_hawaii? Boolean.new(raw_time_zone_names.include?("US/Hawaii")) end |
#code_us_indiana_minus_starke? ⇒ Boolean
14179 14180 14181 |
# File 'lib/code/object/time.rb', line 14179 def code_us_indiana_minus_starke? Boolean.new(raw_time_zone_names.include?("US/Indiana-Starke")) end |
#code_us_michigan? ⇒ Boolean
14183 14184 14185 |
# File 'lib/code/object/time.rb', line 14183 def code_us_michigan? Boolean.new(raw_time_zone_names.include?("US/Michigan")) end |
#code_us_mountain? ⇒ Boolean
14187 14188 14189 |
# File 'lib/code/object/time.rb', line 14187 def code_us_mountain? Boolean.new(raw_time_zone_names.include?("US/Mountain")) end |
#code_us_pacific? ⇒ Boolean
14191 14192 14193 |
# File 'lib/code/object/time.rb', line 14191 def code_us_pacific? Boolean.new(raw_time_zone_names.include?("US/Pacific")) end |
#code_us_samoa? ⇒ Boolean
14195 14196 14197 |
# File 'lib/code/object/time.rb', line 14195 def code_us_samoa? Boolean.new(raw_time_zone_names.include?("US/Samoa")) end |
#code_utc ⇒ Object
14258 14259 14260 |
# File 'lib/code/object/time.rb', line 14258 def code_utc Time.new(raw.utc.in_time_zone("UTC")) end |
#code_utc? ⇒ Boolean
14199 14200 14201 14202 14203 14204 |
# File 'lib/code/object/time.rb', line 14199 def code_utc? Boolean.new( raw.utc? || raw_time_zone_names.include?("UTC") || raw_time_zone_names.include?("Etc/UTC") ) end |
#code_utc_offset ⇒ Object
14230 14231 14232 |
# File 'lib/code/object/time.rb', line 14230 def code_utc_offset Integer.new(raw.utc_offset) end |
#code_w_minus_su? ⇒ Boolean
14210 14211 14212 |
# File 'lib/code/object/time.rb', line 14210 def code_w_minus_su? Boolean.new(raw_time_zone_names.include?("W-SU")) end |
#code_wednesday? ⇒ Boolean
11687 11688 11689 |
# File 'lib/code/object/time.rb', line 11687 def code_wednesday? code_week_day.code_three? end |
#code_week ⇒ Object
11631 11632 11633 |
# File 'lib/code/object/time.rb', line 11631 def code_week Integer.new(raw.to_date.cweek) end |
#code_week_day ⇒ Object
11639 11640 11641 |
# File 'lib/code/object/time.rb', line 11639 def code_week_day Integer.new(raw.wday) end |
#code_week_days ⇒ Object
11643 11644 11645 |
# File 'lib/code/object/time.rb', line 11643 def code_week_days Integer.new(raw.wday) end |
#code_weeks ⇒ Object
11635 11636 11637 |
# File 'lib/code/object/time.rb', line 11635 def code_weeks Integer.new(raw.to_date.cweek) end |
#code_wet? ⇒ Boolean
14214 14215 14216 |
# File 'lib/code/object/time.rb', line 14214 def code_wet? Boolean.new(raw_time_zone_names.include?("WET")) end |
#code_year ⇒ Object
11615 11616 11617 |
# File 'lib/code/object/time.rb', line 11615 def code_year Integer.new(raw.year) end |
#code_year_day ⇒ Object
14234 14235 14236 |
# File 'lib/code/object/time.rb', line 14234 def code_year_day Integer.new(raw.yday) end |
#code_years ⇒ Object
11619 11620 11621 |
# File 'lib/code/object/time.rb', line 11619 def code_years Integer.new(raw.year) end |
#code_yesterday ⇒ Object
14290 14291 14292 |
# File 'lib/code/object/time.rb', line 14290 def code_yesterday code_substract(day: 1) end |
#code_zone ⇒ Object
14452 14453 14454 |
# File 'lib/code/object/time.rb', line 14452 def code_zone String.new(raw.zone) end |
#code_zulu? ⇒ Boolean
14218 14219 14220 |
# File 'lib/code/object/time.rb', line 14218 def code_zulu? Boolean.new(raw_time_zone_names.include?("Zulu")) end |
#raw_time_zone_names ⇒ Object
14222 14223 14224 14225 14226 14227 14228 |
# File 'lib/code/object/time.rb', line 14222 def raw_time_zone_names if raw.is_a?(::ActiveSupport::TimeWithZone) [raw.time_zone.name, raw.time_zone.tzinfo.name] else [raw.zone] end end |