Class: Code::Object::Date
- Inherits:
-
Code::Object
- Object
- Code::Object
- Code::Object::Date
- Defined in:
- lib/code/object/date.rb
Constant Summary collapse
- CLASS_DOCUMENTATION =
{ name: "Date", description: "represents a calendar date with date arithmetic and formatting.", examples: [ "Date.today", "Date.tomorrow > Date.today", "Date.new(\"2024-03-05\").year" ] }.freeze
- DEFAULT_ZONE =
"Etc/UTC"- CLASS_FUNCTIONS =
{ "zone" => { name: "zone", description: "returns the current default time zone name.", examples: [ "Date.zone", "Time.zone = \"Etc/UTC\" Date.zone", "Time.zone = \"Europe/Paris\" Date.zone" ] }, "zone=" => { name: "zone=", description: "sets the default time zone and returns it.", examples: [ "Date.zone = \"Etc/UTC\"", "Date.zone = \"Europe/Paris\"", "Date.zone = \"America/New_York\"" ] }, "today" => { name: "today", description: "returns the current date.", examples: [ "Date.today", "Time.zone = \"Etc/UTC\" Date.today", "Date.today.to_date" ] }, "current" => { name: "current", description: "returns the current date.", examples: [ "Date.current", "Time.zone = \"Etc/UTC\" Date.current", "Date.current.to_date" ] }, "now" => { name: "now", description: "returns the current date.", examples: [ "Date.now", "Time.zone = \"Etc/UTC\" Date.now", "Date.now.to_date" ] }, "tomorrow" => { name: "tomorrow", description: "returns the next date after the current date.", examples: [ "Date.tomorrow", "Time.zone = \"Etc/UTC\" Date.tomorrow", "Date.tomorrow.to_date" ] }, "yesterday" => { name: "yesterday", description: "returns the date before the current date.", examples: [ "Date.yesterday", "Time.zone = \"Etc/UTC\" Date.yesterday", "Date.yesterday.to_date" ] } }.freeze
- INSTANCE_FUNCTIONS =
{ "zone" => { name: "zone", description: "returns the current default time zone name.", examples: [ "Date.new(\"2024-03-05\").zone", "Time.zone = \"Etc/UTC\" Date.new(\"2024-03-05\").zone", "Time.zone = \"Europe/Paris\" Date.new(\"2024-03-05\").zone" ] }, "after?" => { name: "after?", description: "returns whether the date is after another date or time.", examples: [ "Date.new(\"2024-03-05\").after?(Date.new(\"2024-03-04\"))", "Date.new(\"2024-03-05\").after?(Date.new(\"2024-03-06\"))", "Date.new(\"2024-03-05\").after?" ] }, "before?" => { name: "before?", description: "returns whether the date is before another date or time.", examples: [ "Date.new(\"2024-03-05\").before?(Date.new(\"2024-03-06\"))", "Date.new(\"2024-03-05\").before?(Date.new(\"2024-03-04\"))", "Date.new(\"2024-03-05\").before?" ] }, "past?" => { name: "past?", description: "returns whether the date is before the current date.", examples: [ "Date.new(\"2024-03-05\").past?", "Date.today.past?", "Date.tomorrow.past?" ] }, "future?" => { name: "future?", description: "returns whether the date is after the current date.", examples: [ "Date.new(\"2024-03-05\").future?", "Date.today.future?", "Date.tomorrow.future?" ] }, "format" => { name: "format", description: "formats the date with an optional format and locale.", examples: [ "Date.new(\"2024-03-05\").format", "Date.new(\"2024-03-05\").format(:default)", "Date.new(\"2024-03-05\").format(\"%Y-%m-%d\")" ] }, "iso8601" => { name: "iso8601", description: "formats the date as an iso 8601 string.", examples: [ "Date.new(\"2024-03-05\").iso8601", "Date.new(\"2024-01-01\").iso8601", "Date.new(\"2024-12-31\").iso8601" ] }, "iso" => { name: "iso", description: "formats the date as an iso 8601 string.", examples: [ "Date.new(\"2024-03-05\").iso", "Date.new(\"2024-01-01\").iso", "Date.new(\"2024-12-31\").iso" ] }, "rfc2822" => { name: "rfc2822", description: "formats the date as an rfc 2822 string.", examples: [ "Date.new(\"2024-03-05\").rfc2822", "Date.new(\"2024-01-01\").rfc2822", "Date.new(\"2024-12-31\").rfc2822" ] }, "rfc3339" => { name: "rfc3339", description: "formats the date as an rfc 3339 string.", examples: [ "Date.new(\"2024-03-05\").rfc3339", "Date.new(\"2024-01-01\").rfc3339", "Date.new(\"2024-12-31\").rfc3339" ] }, "rfc" => { name: "rfc", description: "formats the date as an rfc 3339 string.", examples: [ "Date.new(\"2024-03-05\").rfc", "Date.new(\"2024-01-01\").rfc", "Date.new(\"2024-12-31\").rfc" ] }, "to_list" => { name: "to_list", description: "returns the date parts as a list.", examples: [ "Date.new(\"2024-03-05\").to_list", "Date.new(\"2024-01-01\").to_list", "Date.new(\"2024-12-31\").to_list" ] }, "to_integer" => { name: "to_integer", description: "converts the date to an integer timestamp.", examples: [ "Date.new(\"2024-03-05\").to_integer", "Date.new(\"1970-01-01\").to_integer", "Date.new(\"2024-12-31\").to_integer" ] }, "to_decimal" => { name: "to_decimal", description: "converts the date to a decimal timestamp.", examples: [ "Date.new(\"2024-03-05\").to_decimal", "Date.new(\"1970-01-01\").to_decimal", "Date.new(\"2024-12-31\").to_decimal" ] }, "utc_offset" => { name: "utc_offset", description: "returns the current time zone utc offset in seconds.", examples: [ "Date.new(\"2024-03-05\").utc_offset", "Time.zone = \"Etc/UTC\" Date.new(\"2024-03-05\").utc_offset", "Time.zone = \"Europe/Paris\" Date.new(\"2024-03-05\").utc_offset" ] }, "year_day" => { name: "year_day", description: "returns the day number within the year.", examples: [ "Date.new(\"2024-03-05\").year_day", "Date.new(\"2024-01-01\").year_day", "Date.new(\"2024-12-31\").year_day" ] }, "month_day" => { name: "month_day", description: "returns the day number within the month.", examples: [ "Date.new(\"2024-03-05\").month_day", "Date.new(\"2024-01-01\").month_day", "Date.new(\"2024-12-31\").month_day" ] }, "year" => { name: "year", description: "returns the year component.", examples: [ "Date.new(\"2024-03-05\").year", "Date.new(\"2024-01-01\").year", "Date.new(\"2024-12-31\").year" ] }, "years" => { name: "years", description: "returns the year component.", examples: [ "Date.new(\"2024-03-05\").years", "Date.new(\"2024-01-01\").years", "Date.new(\"2024-12-31\").years" ] }, "month" => { name: "month", description: "returns the month component.", examples: [ "Date.new(\"2024-03-05\").month", "Date.new(\"2024-01-01\").month", "Date.new(\"2024-12-31\").month" ] }, "months" => { name: "months", description: "returns the month component.", examples: [ "Date.new(\"2024-03-05\").months", "Date.new(\"2024-01-01\").months", "Date.new(\"2024-12-31\").months" ] }, "week" => { name: "week", description: "returns the iso week component.", examples: [ "Date.new(\"2024-03-05\").week", "Date.new(\"2024-01-01\").week", "Date.new(\"2024-12-31\").week" ] }, "weeks" => { name: "weeks", description: "returns the iso week component.", examples: [ "Date.new(\"2024-03-05\").weeks", "Date.new(\"2024-01-01\").weeks", "Date.new(\"2024-12-31\").weeks" ] }, "week_day" => { name: "week_day", description: "returns the week day component.", examples: [ "Date.new(\"2024-03-05\").week_day", "Date.new(\"2024-01-01\").week_day", "Date.new(\"2024-12-31\").week_day" ] }, "week_days" => { name: "week_days", description: "returns the week day component.", examples: [ "Date.new(\"2024-03-05\").week_days", "Date.new(\"2024-01-01\").week_days", "Date.new(\"2024-12-31\").week_days" ] }, "day" => { name: "day", description: "returns the day component.", examples: [ "Date.new(\"2024-03-05\").day", "Date.new(\"2024-01-01\").day", "Date.new(\"2024-12-31\").day" ] }, "days" => { name: "days", description: "returns the day component.", examples: [ "Date.new(\"2024-03-05\").days", "Date.new(\"2024-01-01\").days", "Date.new(\"2024-12-31\").days" ] }, "hour" => { name: "hour", description: "returns zero for dates.", examples: [ "Date.new(\"2024-03-05\").hour", "Date.new(\"2024-01-01\").hour", "Date.new(\"2024-12-31\").hour" ] }, "hours" => { name: "hours", description: "returns zero for dates.", examples: [ "Date.new(\"2024-03-05\").hours", "Date.new(\"2024-01-01\").hours", "Date.new(\"2024-12-31\").hours" ] }, "minute" => { name: "minute", description: "returns zero for dates.", examples: [ "Date.new(\"2024-03-05\").minute", "Date.new(\"2024-01-01\").minute", "Date.new(\"2024-12-31\").minute" ] }, "minutes" => { name: "minutes", description: "returns zero for dates.", examples: [ "Date.new(\"2024-03-05\").minutes", "Date.new(\"2024-01-01\").minutes", "Date.new(\"2024-12-31\").minutes" ] }, "second" => { name: "second", description: "returns zero for dates.", examples: [ "Date.new(\"2024-03-05\").second", "Date.new(\"2024-01-01\").second", "Date.new(\"2024-12-31\").second" ] }, "seconds" => { name: "seconds", description: "returns zero for dates.", examples: [ "Date.new(\"2024-03-05\").seconds", "Date.new(\"2024-01-01\").seconds", "Date.new(\"2024-12-31\").seconds" ] }, "monday?" => { name: "monday?", description: "returns whether the date is a monday.", examples: [ "Date.new(\"2024-03-04\").monday?", "Date.new(\"2024-03-05\").monday?", "Date.new(\"2024-03-10\").monday?" ] }, "tuesday?" => { name: "tuesday?", description: "returns whether the date is a tuesday.", examples: [ "Date.new(\"2024-03-05\").tuesday?", "Date.new(\"2024-03-04\").tuesday?", "Date.new(\"2024-03-10\").tuesday?" ] }, "wednesday?" => { name: "wednesday?", description: "returns whether the date is a wednesday.", examples: [ "Date.new(\"2024-03-06\").wednesday?", "Date.new(\"2024-03-05\").wednesday?", "Date.new(\"2024-03-10\").wednesday?" ] }, "thursday?" => { name: "thursday?", description: "returns whether the date is a thursday.", examples: [ "Date.new(\"2024-03-07\").thursday?", "Date.new(\"2024-03-05\").thursday?", "Date.new(\"2024-03-10\").thursday?" ] }, "friday?" => { name: "friday?", description: "returns whether the date is a friday.", examples: [ "Date.new(\"2024-03-08\").friday?", "Date.new(\"2024-03-05\").friday?", "Date.new(\"2024-03-10\").friday?" ] }, "saturday?" => { name: "saturday?", description: "returns whether the date is a saturday.", examples: [ "Date.new(\"2024-03-09\").saturday?", "Date.new(\"2024-03-05\").saturday?", "Date.new(\"2024-03-10\").saturday?" ] }, "sunday?" => { name: "sunday?", description: "returns whether the date is a sunday.", examples: [ "Date.new(\"2024-03-10\").sunday?", "Date.new(\"2024-03-05\").sunday?", "Date.new(\"2024-03-04\").sunday?" ] }, "january?" => { name: "january?", description: "returns whether the date is in january.", examples: [ "Date.new(\"2024-01-01\").january?", "Date.new(\"2024-02-01\").january?", "Date.new(\"2024-12-31\").january?" ] }, "february?" => { name: "february?", description: "returns whether the date is in february.", examples: [ "Date.new(\"2024-02-01\").february?", "Date.new(\"2024-01-01\").february?", "Date.new(\"2024-12-31\").february?" ] }, "march?" => { name: "march?", description: "returns whether the date is in march.", examples: [ "Date.new(\"2024-03-01\").march?", "Date.new(\"2024-01-01\").march?", "Date.new(\"2024-12-31\").march?" ] }, "april?" => { name: "april?", description: "returns whether the date is in april.", examples: [ "Date.new(\"2024-04-01\").april?", "Date.new(\"2024-01-01\").april?", "Date.new(\"2024-12-31\").april?" ] }, "may?" => { name: "may?", description: "returns whether the date is in may.", examples: [ "Date.new(\"2024-05-01\").may?", "Date.new(\"2024-01-01\").may?", "Date.new(\"2024-12-31\").may?" ] }, "june?" => { name: "june?", description: "returns whether the date is in june.", examples: [ "Date.new(\"2024-06-01\").june?", "Date.new(\"2024-01-01\").june?", "Date.new(\"2024-12-31\").june?" ] }, "july?" => { name: "july?", description: "returns whether the date is in july.", examples: [ "Date.new(\"2024-07-01\").july?", "Date.new(\"2024-01-01\").july?", "Date.new(\"2024-12-31\").july?" ] }, "august?" => { name: "august?", description: "returns whether the date is in august.", examples: [ "Date.new(\"2024-08-01\").august?", "Date.new(\"2024-01-01\").august?", "Date.new(\"2024-12-31\").august?" ] }, "september?" => { name: "september?", description: "returns whether the date is in september.", examples: [ "Date.new(\"2024-09-01\").september?", "Date.new(\"2024-01-01\").september?", "Date.new(\"2024-12-31\").september?" ] }, "october?" => { name: "october?", description: "returns whether the date is in october.", examples: [ "Date.new(\"2024-10-01\").october?", "Date.new(\"2024-01-01\").october?", "Date.new(\"2024-12-31\").october?" ] }, "november?" => { name: "november?", description: "returns whether the date is in november.", examples: [ "Date.new(\"2024-11-01\").november?", "Date.new(\"2024-01-01\").november?", "Date.new(\"2024-12-31\").november?" ] }, "december?" => { name: "december?", description: "returns whether the date is in december.", examples: [ "Date.new(\"2024-12-01\").december?", "Date.new(\"2024-01-01\").december?", "Date.new(\"2024-12-31\").december?" ] }, "add" => { name: "add", description: "returns a date with date parts added.", examples: [ "Date.new(\"2024-03-05\").add(day: 1)", "Date.new(\"2024-03-05\").add(month: 1)", "Date.new(\"2024-03-05\").add(year: 1)" ] }, "substract" => { name: "substract", description: "returns a date with date parts subtracted.", examples: [ "Date.new(\"2024-03-05\").substract(day: 1)", "Date.new(\"2024-03-05\").substract(month: 1)", "Date.new(\"2024-03-05\").substract(year: 1)" ] }, "subtract" => { name: "subtract", description: "returns a date with date parts subtracted.", examples: [ "Date.new(\"2024-03-05\").subtract(day: 1)", "Date.new(\"2024-03-05\").subtract(month: 1)", "Date.new(\"2024-03-05\").subtract(year: 1)" ] }, "change" => { name: "change", description: "returns a date with selected date parts changed.", examples: [ "Date.new(\"2024-03-05\").change(day: 1)", "Date.new(\"2024-03-05\").change(month: 1)", "Date.new(\"2024-03-05\").change(year: 2025)" ] }, "africa_abidjan?" => { name: "africa_abidjan?", description: "returns whether the current time zone is africa/abidjan.", examples: [ "Date.africa_abidjan?", "Date.new(\"2024-03-05\").africa_abidjan?", "Time.zone = \"Etc/UTC\" Date.africa_abidjan?" ] }, "africa_accra?" => { name: "africa_accra?", description: "returns whether the current time zone is africa/accra.", examples: [ "Date.africa_accra?", "Date.new(\"2024-03-05\").africa_accra?", "Time.zone = \"Etc/UTC\" Date.africa_accra?" ] }, "africa_addis_ababa?" => { name: "africa_addis_ababa?", description: "returns whether the current time zone is africa/addis_ababa.", examples: [ "Date.africa_addis_ababa?", "Date.new(\"2024-03-05\").africa_addis_ababa?", "Time.zone = \"Etc/UTC\" Date.africa_addis_ababa?" ] }, "africa_algiers?" => { name: "africa_algiers?", description: "returns whether the current time zone is africa/algiers.", examples: [ "Date.africa_algiers?", "Date.new(\"2024-03-05\").africa_algiers?", "Time.zone = \"Etc/UTC\" Date.africa_algiers?" ] }, "africa_asmara?" => { name: "africa_asmara?", description: "returns whether the current time zone is africa/asmara.", examples: [ "Date.africa_asmara?", "Date.new(\"2024-03-05\").africa_asmara?", "Time.zone = \"Etc/UTC\" Date.africa_asmara?" ] }, "africa_asmera?" => { name: "africa_asmera?", description: "returns whether the current time zone is africa/asmera.", examples: [ "Date.africa_asmera?", "Date.new(\"2024-03-05\").africa_asmera?", "Time.zone = \"Etc/UTC\" Date.africa_asmera?" ] }, "africa_bamako?" => { name: "africa_bamako?", description: "returns whether the current time zone is africa/bamako.", examples: [ "Date.africa_bamako?", "Date.new(\"2024-03-05\").africa_bamako?", "Time.zone = \"Etc/UTC\" Date.africa_bamako?" ] }, "africa_bangui?" => { name: "africa_bangui?", description: "returns whether the current time zone is africa/bangui.", examples: [ "Date.africa_bangui?", "Date.new(\"2024-03-05\").africa_bangui?", "Time.zone = \"Etc/UTC\" Date.africa_bangui?" ] }, "africa_banjul?" => { name: "africa_banjul?", description: "returns whether the current time zone is africa/banjul.", examples: [ "Date.africa_banjul?", "Date.new(\"2024-03-05\").africa_banjul?", "Time.zone = \"Etc/UTC\" Date.africa_banjul?" ] }, "africa_bissau?" => { name: "africa_bissau?", description: "returns whether the current time zone is africa/bissau.", examples: [ "Date.africa_bissau?", "Date.new(\"2024-03-05\").africa_bissau?", "Time.zone = \"Etc/UTC\" Date.africa_bissau?" ] }, "africa_blantyre?" => { name: "africa_blantyre?", description: "returns whether the current time zone is africa/blantyre.", examples: [ "Date.africa_blantyre?", "Date.new(\"2024-03-05\").africa_blantyre?", "Time.zone = \"Etc/UTC\" Date.africa_blantyre?" ] }, "africa_brazzaville?" => { name: "africa_brazzaville?", description: "returns whether the current time zone is africa/brazzaville.", examples: [ "Date.africa_brazzaville?", "Date.new(\"2024-03-05\").africa_brazzaville?", "Time.zone = \"Etc/UTC\" Date.africa_brazzaville?" ] }, "africa_bujumbura?" => { name: "africa_bujumbura?", description: "returns whether the current time zone is africa/bujumbura.", examples: [ "Date.africa_bujumbura?", "Date.new(\"2024-03-05\").africa_bujumbura?", "Time.zone = \"Etc/UTC\" Date.africa_bujumbura?" ] }, "africa_cairo?" => { name: "africa_cairo?", description: "returns whether the current time zone is africa/cairo.", examples: [ "Date.africa_cairo?", "Date.new(\"2024-03-05\").africa_cairo?", "Time.zone = \"Etc/UTC\" Date.africa_cairo?" ] }, "africa_casablanca?" => { name: "africa_casablanca?", description: "returns whether the current time zone is africa/casablanca.", examples: [ "Date.africa_casablanca?", "Date.new(\"2024-03-05\").africa_casablanca?", "Time.zone = \"Etc/UTC\" Date.africa_casablanca?" ] }, "africa_ceuta?" => { name: "africa_ceuta?", description: "returns whether the current time zone is africa/ceuta.", examples: [ "Date.africa_ceuta?", "Date.new(\"2024-03-05\").africa_ceuta?", "Time.zone = \"Etc/UTC\" Date.africa_ceuta?" ] }, "africa_conakry?" => { name: "africa_conakry?", description: "returns whether the current time zone is africa/conakry.", examples: [ "Date.africa_conakry?", "Date.new(\"2024-03-05\").africa_conakry?", "Time.zone = \"Etc/UTC\" Date.africa_conakry?" ] }, "africa_dakar?" => { name: "africa_dakar?", description: "returns whether the current time zone is africa/dakar.", examples: [ "Date.africa_dakar?", "Date.new(\"2024-03-05\").africa_dakar?", "Time.zone = \"Etc/UTC\" Date.africa_dakar?" ] }, "africa_dar_es_salaam?" => { name: "africa_dar_es_salaam?", description: "returns whether the current time zone is africa/dar_es_salaam.", examples: [ "Date.africa_dar_es_salaam?", "Date.new(\"2024-03-05\").africa_dar_es_salaam?", "Time.zone = \"Etc/UTC\" Date.africa_dar_es_salaam?" ] }, "africa_djibouti?" => { name: "africa_djibouti?", description: "returns whether the current time zone is africa/djibouti.", examples: [ "Date.africa_djibouti?", "Date.new(\"2024-03-05\").africa_djibouti?", "Time.zone = \"Etc/UTC\" Date.africa_djibouti?" ] }, "africa_douala?" => { name: "africa_douala?", description: "returns whether the current time zone is africa/douala.", examples: [ "Date.africa_douala?", "Date.new(\"2024-03-05\").africa_douala?", "Time.zone = \"Etc/UTC\" Date.africa_douala?" ] }, "africa_el_aaiun?" => { name: "africa_el_aaiun?", description: "returns whether the current time zone is africa/el_aaiun.", examples: [ "Date.africa_el_aaiun?", "Date.new(\"2024-03-05\").africa_el_aaiun?", "Time.zone = \"Etc/UTC\" Date.africa_el_aaiun?" ] }, "africa_freetown?" => { name: "africa_freetown?", description: "returns whether the current time zone is africa/freetown.", examples: [ "Date.africa_freetown?", "Date.new(\"2024-03-05\").africa_freetown?", "Time.zone = \"Etc/UTC\" Date.africa_freetown?" ] }, "africa_gaborone?" => { name: "africa_gaborone?", description: "returns whether the current time zone is africa/gaborone.", examples: [ "Date.africa_gaborone?", "Date.new(\"2024-03-05\").africa_gaborone?", "Time.zone = \"Etc/UTC\" Date.africa_gaborone?" ] }, "africa_harare?" => { name: "africa_harare?", description: "returns whether the current time zone is africa/harare.", examples: [ "Date.africa_harare?", "Date.new(\"2024-03-05\").africa_harare?", "Time.zone = \"Etc/UTC\" Date.africa_harare?" ] }, "africa_johannesburg?" => { name: "africa_johannesburg?", description: "returns whether the current time zone is africa/johannesburg.", examples: [ "Date.africa_johannesburg?", "Date.new(\"2024-03-05\").africa_johannesburg?", "Time.zone = \"Etc/UTC\" Date.africa_johannesburg?" ] }, "africa_juba?" => { name: "africa_juba?", description: "returns whether the current time zone is africa/juba.", examples: [ "Date.africa_juba?", "Date.new(\"2024-03-05\").africa_juba?", "Time.zone = \"Etc/UTC\" Date.africa_juba?" ] }, "africa_kampala?" => { name: "africa_kampala?", description: "returns whether the current time zone is africa/kampala.", examples: [ "Date.africa_kampala?", "Date.new(\"2024-03-05\").africa_kampala?", "Time.zone = \"Etc/UTC\" Date.africa_kampala?" ] }, "africa_khartoum?" => { name: "africa_khartoum?", description: "returns whether the current time zone is africa/khartoum.", examples: [ "Date.africa_khartoum?", "Date.new(\"2024-03-05\").africa_khartoum?", "Time.zone = \"Etc/UTC\" Date.africa_khartoum?" ] }, "africa_kigali?" => { name: "africa_kigali?", description: "returns whether the current time zone is africa/kigali.", examples: [ "Date.africa_kigali?", "Date.new(\"2024-03-05\").africa_kigali?", "Time.zone = \"Etc/UTC\" Date.africa_kigali?" ] }, "africa_kinshasa?" => { name: "africa_kinshasa?", description: "returns whether the current time zone is africa/kinshasa.", examples: [ "Date.africa_kinshasa?", "Date.new(\"2024-03-05\").africa_kinshasa?", "Time.zone = \"Etc/UTC\" Date.africa_kinshasa?" ] }, "africa_lagos?" => { name: "africa_lagos?", description: "returns whether the current time zone is africa/lagos.", examples: [ "Date.africa_lagos?", "Date.new(\"2024-03-05\").africa_lagos?", "Time.zone = \"Etc/UTC\" Date.africa_lagos?" ] }, "africa_libreville?" => { name: "africa_libreville?", description: "returns whether the current time zone is africa/libreville.", examples: [ "Date.africa_libreville?", "Date.new(\"2024-03-05\").africa_libreville?", "Time.zone = \"Etc/UTC\" Date.africa_libreville?" ] }, "africa_lome?" => { name: "africa_lome?", description: "returns whether the current time zone is africa/lome.", examples: [ "Date.africa_lome?", "Date.new(\"2024-03-05\").africa_lome?", "Time.zone = \"Etc/UTC\" Date.africa_lome?" ] }, "africa_luanda?" => { name: "africa_luanda?", description: "returns whether the current time zone is africa/luanda.", examples: [ "Date.africa_luanda?", "Date.new(\"2024-03-05\").africa_luanda?", "Time.zone = \"Etc/UTC\" Date.africa_luanda?" ] }, "africa_lubumbashi?" => { name: "africa_lubumbashi?", description: "returns whether the current time zone is africa/lubumbashi.", examples: [ "Date.africa_lubumbashi?", "Date.new(\"2024-03-05\").africa_lubumbashi?", "Time.zone = \"Etc/UTC\" Date.africa_lubumbashi?" ] }, "africa_lusaka?" => { name: "africa_lusaka?", description: "returns whether the current time zone is africa/lusaka.", examples: [ "Date.africa_lusaka?", "Date.new(\"2024-03-05\").africa_lusaka?", "Time.zone = \"Etc/UTC\" Date.africa_lusaka?" ] }, "africa_malabo?" => { name: "africa_malabo?", description: "returns whether the current time zone is africa/malabo.", examples: [ "Date.africa_malabo?", "Date.new(\"2024-03-05\").africa_malabo?", "Time.zone = \"Etc/UTC\" Date.africa_malabo?" ] }, "africa_maputo?" => { name: "africa_maputo?", description: "returns whether the current time zone is africa/maputo.", examples: [ "Date.africa_maputo?", "Date.new(\"2024-03-05\").africa_maputo?", "Time.zone = \"Etc/UTC\" Date.africa_maputo?" ] }, "africa_maseru?" => { name: "africa_maseru?", description: "returns whether the current time zone is africa/maseru.", examples: [ "Date.africa_maseru?", "Date.new(\"2024-03-05\").africa_maseru?", "Time.zone = \"Etc/UTC\" Date.africa_maseru?" ] }, "africa_mbabane?" => { name: "africa_mbabane?", description: "returns whether the current time zone is africa/mbabane.", examples: [ "Date.africa_mbabane?", "Date.new(\"2024-03-05\").africa_mbabane?", "Time.zone = \"Etc/UTC\" Date.africa_mbabane?" ] }, "africa_mogadishu?" => { name: "africa_mogadishu?", description: "returns whether the current time zone is africa/mogadishu.", examples: [ "Date.africa_mogadishu?", "Date.new(\"2024-03-05\").africa_mogadishu?", "Time.zone = \"Etc/UTC\" Date.africa_mogadishu?" ] }, "africa_monrovia?" => { name: "africa_monrovia?", description: "returns whether the current time zone is africa/monrovia.", examples: [ "Date.africa_monrovia?", "Date.new(\"2024-03-05\").africa_monrovia?", "Time.zone = \"Etc/UTC\" Date.africa_monrovia?" ] }, "africa_nairobi?" => { name: "africa_nairobi?", description: "returns whether the current time zone is africa/nairobi.", examples: [ "Date.africa_nairobi?", "Date.new(\"2024-03-05\").africa_nairobi?", "Time.zone = \"Etc/UTC\" Date.africa_nairobi?" ] }, "africa_ndjamena?" => { name: "africa_ndjamena?", description: "returns whether the current time zone is africa/ndjamena.", examples: [ "Date.africa_ndjamena?", "Date.new(\"2024-03-05\").africa_ndjamena?", "Time.zone = \"Etc/UTC\" Date.africa_ndjamena?" ] }, "africa_niamey?" => { name: "africa_niamey?", description: "returns whether the current time zone is africa/niamey.", examples: [ "Date.africa_niamey?", "Date.new(\"2024-03-05\").africa_niamey?", "Time.zone = \"Etc/UTC\" Date.africa_niamey?" ] }, "africa_nouakchott?" => { name: "africa_nouakchott?", description: "returns whether the current time zone is africa/nouakchott.", examples: [ "Date.africa_nouakchott?", "Date.new(\"2024-03-05\").africa_nouakchott?", "Time.zone = \"Etc/UTC\" Date.africa_nouakchott?" ] }, "africa_ouagadougou?" => { name: "africa_ouagadougou?", description: "returns whether the current time zone is africa/ouagadougou.", examples: [ "Date.africa_ouagadougou?", "Date.new(\"2024-03-05\").africa_ouagadougou?", "Time.zone = \"Etc/UTC\" Date.africa_ouagadougou?" ] }, "africa_porto_minus_novo?" => { name: "africa_porto_minus_novo?", description: "returns whether the current time zone is africa/porto-novo.", examples: [ "Date.africa_porto_minus_novo?", "Date.new(\"2024-03-05\").africa_porto_minus_novo?", "Time.zone = \"Etc/UTC\" Date.africa_porto_minus_novo?" ] }, "africa_sao_tome?" => { name: "africa_sao_tome?", description: "returns whether the current time zone is africa/sao_tome.", examples: [ "Date.africa_sao_tome?", "Date.new(\"2024-03-05\").africa_sao_tome?", "Time.zone = \"Etc/UTC\" Date.africa_sao_tome?" ] }, "africa_timbuktu?" => { name: "africa_timbuktu?", description: "returns whether the current time zone is africa/timbuktu.", examples: [ "Date.africa_timbuktu?", "Date.new(\"2024-03-05\").africa_timbuktu?", "Time.zone = \"Etc/UTC\" Date.africa_timbuktu?" ] }, "africa_tripoli?" => { name: "africa_tripoli?", description: "returns whether the current time zone is africa/tripoli.", examples: [ "Date.africa_tripoli?", "Date.new(\"2024-03-05\").africa_tripoli?", "Time.zone = \"Etc/UTC\" Date.africa_tripoli?" ] }, "africa_tunis?" => { name: "africa_tunis?", description: "returns whether the current time zone is africa/tunis.", examples: [ "Date.africa_tunis?", "Date.new(\"2024-03-05\").africa_tunis?", "Time.zone = \"Etc/UTC\" Date.africa_tunis?" ] }, "africa_windhoek?" => { name: "africa_windhoek?", description: "returns whether the current time zone is africa/windhoek.", examples: [ "Date.africa_windhoek?", "Date.new(\"2024-03-05\").africa_windhoek?", "Time.zone = \"Etc/UTC\" Date.africa_windhoek?" ] }, "america_adak?" => { name: "america_adak?", description: "returns whether the current time zone is america/adak.", examples: [ "Date.america_adak?", "Date.new(\"2024-03-05\").america_adak?", "Time.zone = \"Etc/UTC\" Date.america_adak?" ] }, "america_anchorage?" => { name: "america_anchorage?", description: "returns whether the current time zone is america/anchorage.", examples: [ "Date.america_anchorage?", "Date.new(\"2024-03-05\").america_anchorage?", "Time.zone = \"Etc/UTC\" Date.america_anchorage?" ] }, "america_anguilla?" => { name: "america_anguilla?", description: "returns whether the current time zone is america/anguilla.", examples: [ "Date.america_anguilla?", "Date.new(\"2024-03-05\").america_anguilla?", "Time.zone = \"Etc/UTC\" Date.america_anguilla?" ] }, "america_antigua?" => { name: "america_antigua?", description: "returns whether the current time zone is america/antigua.", examples: [ "Date.america_antigua?", "Date.new(\"2024-03-05\").america_antigua?", "Time.zone = \"Etc/UTC\" Date.america_antigua?" ] }, "america_araguaina?" => { name: "america_araguaina?", description: "returns whether the current time zone is america/araguaina.", examples: [ "Date.america_araguaina?", "Date.new(\"2024-03-05\").america_araguaina?", "Time.zone = \"Etc/UTC\" Date.america_araguaina?" ] }, "america_argentina_buenos_aires?" => { name: "america_argentina_buenos_aires?", description: "returns whether the current time zone is america/argentina/buenos_aires.", examples: [ "Date.america_argentina_buenos_aires?", "Date.new(\"2024-03-05\").america_argentina_buenos_aires?", "Time.zone = \"Etc/UTC\" Date.america_argentina_buenos_aires?" ] }, "america_argentina_catamarca?" => { name: "america_argentina_catamarca?", description: "returns whether the current time zone is america/argentina/catamarca.", examples: [ "Date.america_argentina_catamarca?", "Date.new(\"2024-03-05\").america_argentina_catamarca?", "Time.zone = \"Etc/UTC\" Date.america_argentina_catamarca?" ] }, "america_argentina_comodrivadavia?" => { name: "america_argentina_comodrivadavia?", description: "returns whether the current time zone is america/argentina/comodrivadavia.", examples: [ "Date.america_argentina_comodrivadavia?", "Date.new(\"2024-03-05\").america_argentina_comodrivadavia?", "Time.zone = \"Etc/UTC\" Date.america_argentina_comodrivadavia?" ] }, "america_argentina_cordoba?" => { name: "america_argentina_cordoba?", description: "returns whether the current time zone is america/argentina/cordoba.", examples: [ "Date.america_argentina_cordoba?", "Date.new(\"2024-03-05\").america_argentina_cordoba?", "Time.zone = \"Etc/UTC\" Date.america_argentina_cordoba?" ] }, "america_argentina_jujuy?" => { name: "america_argentina_jujuy?", description: "returns whether the current time zone is america/argentina/jujuy.", examples: [ "Date.america_argentina_jujuy?", "Date.new(\"2024-03-05\").america_argentina_jujuy?", "Time.zone = \"Etc/UTC\" Date.america_argentina_jujuy?" ] }, "america_argentina_la_rioja?" => { name: "america_argentina_la_rioja?", description: "returns whether the current time zone is america/argentina/la_rioja.", examples: [ "Date.america_argentina_la_rioja?", "Date.new(\"2024-03-05\").america_argentina_la_rioja?", "Time.zone = \"Etc/UTC\" Date.america_argentina_la_rioja?" ] }, "america_argentina_mendoza?" => { name: "america_argentina_mendoza?", description: "returns whether the current time zone is america/argentina/mendoza.", examples: [ "Date.america_argentina_mendoza?", "Date.new(\"2024-03-05\").america_argentina_mendoza?", "Time.zone = \"Etc/UTC\" Date.america_argentina_mendoza?" ] }, "america_argentina_rio_gallegos?" => { name: "america_argentina_rio_gallegos?", description: "returns whether the current time zone is america/argentina/rio_gallegos.", examples: [ "Date.america_argentina_rio_gallegos?", "Date.new(\"2024-03-05\").america_argentina_rio_gallegos?", "Time.zone = \"Etc/UTC\" Date.america_argentina_rio_gallegos?" ] }, "america_argentina_salta?" => { name: "america_argentina_salta?", description: "returns whether the current time zone is america/argentina/salta.", examples: [ "Date.america_argentina_salta?", "Date.new(\"2024-03-05\").america_argentina_salta?", "Time.zone = \"Etc/UTC\" Date.america_argentina_salta?" ] }, "america_argentina_san_juan?" => { name: "america_argentina_san_juan?", description: "returns whether the current time zone is america/argentina/san_juan.", examples: [ "Date.america_argentina_san_juan?", "Date.new(\"2024-03-05\").america_argentina_san_juan?", "Time.zone = \"Etc/UTC\" Date.america_argentina_san_juan?" ] }, "america_argentina_san_luis?" => { name: "america_argentina_san_luis?", description: "returns whether the current time zone is america/argentina/san_luis.", examples: [ "Date.america_argentina_san_luis?", "Date.new(\"2024-03-05\").america_argentina_san_luis?", "Time.zone = \"Etc/UTC\" Date.america_argentina_san_luis?" ] }, "america_argentina_tucuman?" => { name: "america_argentina_tucuman?", description: "returns whether the current time zone is america/argentina/tucuman.", examples: [ "Date.america_argentina_tucuman?", "Date.new(\"2024-03-05\").america_argentina_tucuman?", "Time.zone = \"Etc/UTC\" Date.america_argentina_tucuman?" ] }, "america_argentina_ushuaia?" => { name: "america_argentina_ushuaia?", description: "returns whether the current time zone is america/argentina/ushuaia.", examples: [ "Date.america_argentina_ushuaia?", "Date.new(\"2024-03-05\").america_argentina_ushuaia?", "Time.zone = \"Etc/UTC\" Date.america_argentina_ushuaia?" ] }, "america_aruba?" => { name: "america_aruba?", description: "returns whether the current time zone is america/aruba.", examples: [ "Date.america_aruba?", "Date.new(\"2024-03-05\").america_aruba?", "Time.zone = \"Etc/UTC\" Date.america_aruba?" ] }, "america_asuncion?" => { name: "america_asuncion?", description: "returns whether the current time zone is america/asuncion.", examples: [ "Date.america_asuncion?", "Date.new(\"2024-03-05\").america_asuncion?", "Time.zone = \"Etc/UTC\" Date.america_asuncion?" ] }, "america_atikokan?" => { name: "america_atikokan?", description: "returns whether the current time zone is america/atikokan.", examples: [ "Date.america_atikokan?", "Date.new(\"2024-03-05\").america_atikokan?", "Time.zone = \"Etc/UTC\" Date.america_atikokan?" ] }, "america_atka?" => { name: "america_atka?", description: "returns whether the current time zone is america/atka.", examples: [ "Date.america_atka?", "Date.new(\"2024-03-05\").america_atka?", "Time.zone = \"Etc/UTC\" Date.america_atka?" ] }, "america_bahia?" => { name: "america_bahia?", description: "returns whether the current time zone is america/bahia.", examples: [ "Date.america_bahia?", "Date.new(\"2024-03-05\").america_bahia?", "Time.zone = \"Etc/UTC\" Date.america_bahia?" ] }, "america_bahia_banderas?" => { name: "america_bahia_banderas?", description: "returns whether the current time zone is america/bahia_banderas.", examples: [ "Date.america_bahia_banderas?", "Date.new(\"2024-03-05\").america_bahia_banderas?", "Time.zone = \"Etc/UTC\" Date.america_bahia_banderas?" ] }, "america_barbados?" => { name: "america_barbados?", description: "returns whether the current time zone is america/barbados.", examples: [ "Date.america_barbados?", "Date.new(\"2024-03-05\").america_barbados?", "Time.zone = \"Etc/UTC\" Date.america_barbados?" ] }, "america_belem?" => { name: "america_belem?", description: "returns whether the current time zone is america/belem.", examples: [ "Date.america_belem?", "Date.new(\"2024-03-05\").america_belem?", "Time.zone = \"Etc/UTC\" Date.america_belem?" ] }, "america_belize?" => { name: "america_belize?", description: "returns whether the current time zone is america/belize.", examples: [ "Date.america_belize?", "Date.new(\"2024-03-05\").america_belize?", "Time.zone = \"Etc/UTC\" Date.america_belize?" ] }, "america_blanc_minus_sablon?" => { name: "america_blanc_minus_sablon?", description: "returns whether the current time zone is america/blanc-sablon.", examples: [ "Date.america_blanc_minus_sablon?", "Date.new(\"2024-03-05\").america_blanc_minus_sablon?", "Time.zone = \"Etc/UTC\" Date.america_blanc_minus_sablon?" ] }, "america_boa_vista?" => { name: "america_boa_vista?", description: "returns whether the current time zone is america/boa_vista.", examples: [ "Date.america_boa_vista?", "Date.new(\"2024-03-05\").america_boa_vista?", "Time.zone = \"Etc/UTC\" Date.america_boa_vista?" ] }, "america_bogota?" => { name: "america_bogota?", description: "returns whether the current time zone is america/bogota.", examples: [ "Date.america_bogota?", "Date.new(\"2024-03-05\").america_bogota?", "Time.zone = \"Etc/UTC\" Date.america_bogota?" ] }, "america_boise?" => { name: "america_boise?", description: "returns whether the current time zone is america/boise.", examples: [ "Date.america_boise?", "Date.new(\"2024-03-05\").america_boise?", "Time.zone = \"Etc/UTC\" Date.america_boise?" ] }, "america_buenos_aires?" => { name: "america_buenos_aires?", description: "returns whether the current time zone is america/buenos_aires.", examples: [ "Date.america_buenos_aires?", "Date.new(\"2024-03-05\").america_buenos_aires?", "Time.zone = \"Etc/UTC\" Date.america_buenos_aires?" ] }, "america_cambridge_bay?" => { name: "america_cambridge_bay?", description: "returns whether the current time zone is america/cambridge_bay.", examples: [ "Date.america_cambridge_bay?", "Date.new(\"2024-03-05\").america_cambridge_bay?", "Time.zone = \"Etc/UTC\" Date.america_cambridge_bay?" ] }, "america_campo_grande?" => { name: "america_campo_grande?", description: "returns whether the current time zone is america/campo_grande.", examples: [ "Date.america_campo_grande?", "Date.new(\"2024-03-05\").america_campo_grande?", "Time.zone = \"Etc/UTC\" Date.america_campo_grande?" ] }, "america_cancun?" => { name: "america_cancun?", description: "returns whether the current time zone is america/cancun.", examples: [ "Date.america_cancun?", "Date.new(\"2024-03-05\").america_cancun?", "Time.zone = \"Etc/UTC\" Date.america_cancun?" ] }, "america_caracas?" => { name: "america_caracas?", description: "returns whether the current time zone is america/caracas.", examples: [ "Date.america_caracas?", "Date.new(\"2024-03-05\").america_caracas?", "Time.zone = \"Etc/UTC\" Date.america_caracas?" ] }, "america_catamarca?" => { name: "america_catamarca?", description: "returns whether the current time zone is america/catamarca.", examples: [ "Date.america_catamarca?", "Date.new(\"2024-03-05\").america_catamarca?", "Time.zone = \"Etc/UTC\" Date.america_catamarca?" ] }, "america_cayenne?" => { name: "america_cayenne?", description: "returns whether the current time zone is america/cayenne.", examples: [ "Date.america_cayenne?", "Date.new(\"2024-03-05\").america_cayenne?", "Time.zone = \"Etc/UTC\" Date.america_cayenne?" ] }, "america_cayman?" => { name: "america_cayman?", description: "returns whether the current time zone is america/cayman.", examples: [ "Date.america_cayman?", "Date.new(\"2024-03-05\").america_cayman?", "Time.zone = \"Etc/UTC\" Date.america_cayman?" ] }, "america_chicago?" => { name: "america_chicago?", description: "returns whether the current time zone is america/chicago.", examples: [ "Date.america_chicago?", "Date.new(\"2024-03-05\").america_chicago?", "Time.zone = \"Etc/UTC\" Date.america_chicago?" ] }, "america_chihuahua?" => { name: "america_chihuahua?", description: "returns whether the current time zone is america/chihuahua.", examples: [ "Date.america_chihuahua?", "Date.new(\"2024-03-05\").america_chihuahua?", "Time.zone = \"Etc/UTC\" Date.america_chihuahua?" ] }, "america_ciudad_juarez?" => { name: "america_ciudad_juarez?", description: "returns whether the current time zone is america/ciudad_juarez.", examples: [ "Date.america_ciudad_juarez?", "Date.new(\"2024-03-05\").america_ciudad_juarez?", "Time.zone = \"Etc/UTC\" Date.america_ciudad_juarez?" ] }, "america_coral_harbour?" => { name: "america_coral_harbour?", description: "returns whether the current time zone is america/coral_harbour.", examples: [ "Date.america_coral_harbour?", "Date.new(\"2024-03-05\").america_coral_harbour?", "Time.zone = \"Etc/UTC\" Date.america_coral_harbour?" ] }, "america_cordoba?" => { name: "america_cordoba?", description: "returns whether the current time zone is america/cordoba.", examples: [ "Date.america_cordoba?", "Date.new(\"2024-03-05\").america_cordoba?", "Time.zone = \"Etc/UTC\" Date.america_cordoba?" ] }, "america_costa_rica?" => { name: "america_costa_rica?", description: "returns whether the current time zone is america/costa_rica.", examples: [ "Date.america_costa_rica?", "Date.new(\"2024-03-05\").america_costa_rica?", "Time.zone = \"Etc/UTC\" Date.america_costa_rica?" ] }, "america_coyhaique?" => { name: "america_coyhaique?", description: "returns whether the current time zone is america/coyhaique.", examples: [ "Date.america_coyhaique?", "Date.new(\"2024-03-05\").america_coyhaique?", "Time.zone = \"Etc/UTC\" Date.america_coyhaique?" ] }, "america_creston?" => { name: "america_creston?", description: "returns whether the current time zone is america/creston.", examples: [ "Date.america_creston?", "Date.new(\"2024-03-05\").america_creston?", "Time.zone = \"Etc/UTC\" Date.america_creston?" ] }, "america_cuiaba?" => { name: "america_cuiaba?", description: "returns whether the current time zone is america/cuiaba.", examples: [ "Date.america_cuiaba?", "Date.new(\"2024-03-05\").america_cuiaba?", "Time.zone = \"Etc/UTC\" Date.america_cuiaba?" ] }, "america_curacao?" => { name: "america_curacao?", description: "returns whether the current time zone is america/curacao.", examples: [ "Date.america_curacao?", "Date.new(\"2024-03-05\").america_curacao?", "Time.zone = \"Etc/UTC\" Date.america_curacao?" ] }, "america_danmarkshavn?" => { name: "america_danmarkshavn?", description: "returns whether the current time zone is america/danmarkshavn.", examples: [ "Date.america_danmarkshavn?", "Date.new(\"2024-03-05\").america_danmarkshavn?", "Time.zone = \"Etc/UTC\" Date.america_danmarkshavn?" ] }, "america_dawson?" => { name: "america_dawson?", description: "returns whether the current time zone is america/dawson.", examples: [ "Date.america_dawson?", "Date.new(\"2024-03-05\").america_dawson?", "Time.zone = \"Etc/UTC\" Date.america_dawson?" ] }, "america_dawson_creek?" => { name: "america_dawson_creek?", description: "returns whether the current time zone is america/dawson_creek.", examples: [ "Date.america_dawson_creek?", "Date.new(\"2024-03-05\").america_dawson_creek?", "Time.zone = \"Etc/UTC\" Date.america_dawson_creek?" ] }, "america_denver?" => { name: "america_denver?", description: "returns whether the current time zone is america/denver.", examples: [ "Date.america_denver?", "Date.new(\"2024-03-05\").america_denver?", "Time.zone = \"Etc/UTC\" Date.america_denver?" ] }, "america_detroit?" => { name: "america_detroit?", description: "returns whether the current time zone is america/detroit.", examples: [ "Date.america_detroit?", "Date.new(\"2024-03-05\").america_detroit?", "Time.zone = \"Etc/UTC\" Date.america_detroit?" ] }, "america_dominica?" => { name: "america_dominica?", description: "returns whether the current time zone is america/dominica.", examples: [ "Date.america_dominica?", "Date.new(\"2024-03-05\").america_dominica?", "Time.zone = \"Etc/UTC\" Date.america_dominica?" ] }, "america_edmonton?" => { name: "america_edmonton?", description: "returns whether the current time zone is america/edmonton.", examples: [ "Date.america_edmonton?", "Date.new(\"2024-03-05\").america_edmonton?", "Time.zone = \"Etc/UTC\" Date.america_edmonton?" ] }, "america_eirunepe?" => { name: "america_eirunepe?", description: "returns whether the current time zone is america/eirunepe.", examples: [ "Date.america_eirunepe?", "Date.new(\"2024-03-05\").america_eirunepe?", "Time.zone = \"Etc/UTC\" Date.america_eirunepe?" ] }, "america_el_salvador?" => { name: "america_el_salvador?", description: "returns whether the current time zone is america/el_salvador.", examples: [ "Date.america_el_salvador?", "Date.new(\"2024-03-05\").america_el_salvador?", "Time.zone = \"Etc/UTC\" Date.america_el_salvador?" ] }, "america_ensenada?" => { name: "america_ensenada?", description: "returns whether the current time zone is america/ensenada.", examples: [ "Date.america_ensenada?", "Date.new(\"2024-03-05\").america_ensenada?", "Time.zone = \"Etc/UTC\" Date.america_ensenada?" ] }, "america_fort_nelson?" => { name: "america_fort_nelson?", description: "returns whether the current time zone is america/fort_nelson.", examples: [ "Date.america_fort_nelson?", "Date.new(\"2024-03-05\").america_fort_nelson?", "Time.zone = \"Etc/UTC\" Date.america_fort_nelson?" ] }, "america_fort_wayne?" => { name: "america_fort_wayne?", description: "returns whether the current time zone is america/fort_wayne.", examples: [ "Date.america_fort_wayne?", "Date.new(\"2024-03-05\").america_fort_wayne?", "Time.zone = \"Etc/UTC\" Date.america_fort_wayne?" ] }, "america_fortaleza?" => { name: "america_fortaleza?", description: "returns whether the current time zone is america/fortaleza.", examples: [ "Date.america_fortaleza?", "Date.new(\"2024-03-05\").america_fortaleza?", "Time.zone = \"Etc/UTC\" Date.america_fortaleza?" ] }, "america_glace_bay?" => { name: "america_glace_bay?", description: "returns whether the current time zone is america/glace_bay.", examples: [ "Date.america_glace_bay?", "Date.new(\"2024-03-05\").america_glace_bay?", "Time.zone = \"Etc/UTC\" Date.america_glace_bay?" ] }, "america_godthab?" => { name: "america_godthab?", description: "returns whether the current time zone is america/godthab.", examples: [ "Date.america_godthab?", "Date.new(\"2024-03-05\").america_godthab?", "Time.zone = \"Etc/UTC\" Date.america_godthab?" ] }, "america_goose_bay?" => { name: "america_goose_bay?", description: "returns whether the current time zone is america/goose_bay.", examples: [ "Date.america_goose_bay?", "Date.new(\"2024-03-05\").america_goose_bay?", "Time.zone = \"Etc/UTC\" Date.america_goose_bay?" ] }, "america_grand_turk?" => { name: "america_grand_turk?", description: "returns whether the current time zone is america/grand_turk.", examples: [ "Date.america_grand_turk?", "Date.new(\"2024-03-05\").america_grand_turk?", "Time.zone = \"Etc/UTC\" Date.america_grand_turk?" ] }, "america_grenada?" => { name: "america_grenada?", description: "returns whether the current time zone is america/grenada.", examples: [ "Date.america_grenada?", "Date.new(\"2024-03-05\").america_grenada?", "Time.zone = \"Etc/UTC\" Date.america_grenada?" ] }, "america_guadeloupe?" => { name: "america_guadeloupe?", description: "returns whether the current time zone is america/guadeloupe.", examples: [ "Date.america_guadeloupe?", "Date.new(\"2024-03-05\").america_guadeloupe?", "Time.zone = \"Etc/UTC\" Date.america_guadeloupe?" ] }, "america_guatemala?" => { name: "america_guatemala?", description: "returns whether the current time zone is america/guatemala.", examples: [ "Date.america_guatemala?", "Date.new(\"2024-03-05\").america_guatemala?", "Time.zone = \"Etc/UTC\" Date.america_guatemala?" ] }, "america_guayaquil?" => { name: "america_guayaquil?", description: "returns whether the current time zone is america/guayaquil.", examples: [ "Date.america_guayaquil?", "Date.new(\"2024-03-05\").america_guayaquil?", "Time.zone = \"Etc/UTC\" Date.america_guayaquil?" ] }, "america_guyana?" => { name: "america_guyana?", description: "returns whether the current time zone is america/guyana.", examples: [ "Date.america_guyana?", "Date.new(\"2024-03-05\").america_guyana?", "Time.zone = \"Etc/UTC\" Date.america_guyana?" ] }, "america_halifax?" => { name: "america_halifax?", description: "returns whether the current time zone is america/halifax.", examples: [ "Date.america_halifax?", "Date.new(\"2024-03-05\").america_halifax?", "Time.zone = \"Etc/UTC\" Date.america_halifax?" ] }, "america_havana?" => { name: "america_havana?", description: "returns whether the current time zone is america/havana.", examples: [ "Date.america_havana?", "Date.new(\"2024-03-05\").america_havana?", "Time.zone = \"Etc/UTC\" Date.america_havana?" ] }, "america_hermosillo?" => { name: "america_hermosillo?", description: "returns whether the current time zone is america/hermosillo.", examples: [ "Date.america_hermosillo?", "Date.new(\"2024-03-05\").america_hermosillo?", "Time.zone = \"Etc/UTC\" Date.america_hermosillo?" ] }, "america_indiana_indianapolis?" => { name: "america_indiana_indianapolis?", description: "returns whether the current time zone is america/indiana/indianapolis.", examples: [ "Date.america_indiana_indianapolis?", "Date.new(\"2024-03-05\").america_indiana_indianapolis?", "Time.zone = \"Etc/UTC\" Date.america_indiana_indianapolis?" ] }, "america_indiana_knox?" => { name: "america_indiana_knox?", description: "returns whether the current time zone is america/indiana/knox.", examples: [ "Date.america_indiana_knox?", "Date.new(\"2024-03-05\").america_indiana_knox?", "Time.zone = \"Etc/UTC\" Date.america_indiana_knox?" ] }, "america_indiana_marengo?" => { name: "america_indiana_marengo?", description: "returns whether the current time zone is america/indiana/marengo.", examples: [ "Date.america_indiana_marengo?", "Date.new(\"2024-03-05\").america_indiana_marengo?", "Time.zone = \"Etc/UTC\" Date.america_indiana_marengo?" ] }, "america_indiana_petersburg?" => { name: "america_indiana_petersburg?", description: "returns whether the current time zone is america/indiana/petersburg.", examples: [ "Date.america_indiana_petersburg?", "Date.new(\"2024-03-05\").america_indiana_petersburg?", "Time.zone = \"Etc/UTC\" Date.america_indiana_petersburg?" ] }, "america_indiana_tell_city?" => { name: "america_indiana_tell_city?", description: "returns whether the current time zone is america/indiana/tell_city.", examples: [ "Date.america_indiana_tell_city?", "Date.new(\"2024-03-05\").america_indiana_tell_city?", "Time.zone = \"Etc/UTC\" Date.america_indiana_tell_city?" ] }, "america_indiana_vevay?" => { name: "america_indiana_vevay?", description: "returns whether the current time zone is america/indiana/vevay.", examples: [ "Date.america_indiana_vevay?", "Date.new(\"2024-03-05\").america_indiana_vevay?", "Time.zone = \"Etc/UTC\" Date.america_indiana_vevay?" ] }, "america_indiana_vincennes?" => { name: "america_indiana_vincennes?", description: "returns whether the current time zone is america/indiana/vincennes.", examples: [ "Date.america_indiana_vincennes?", "Date.new(\"2024-03-05\").america_indiana_vincennes?", "Time.zone = \"Etc/UTC\" Date.america_indiana_vincennes?" ] }, "america_indiana_winamac?" => { name: "america_indiana_winamac?", description: "returns whether the current time zone is america/indiana/winamac.", examples: [ "Date.america_indiana_winamac?", "Date.new(\"2024-03-05\").america_indiana_winamac?", "Time.zone = \"Etc/UTC\" Date.america_indiana_winamac?" ] }, "america_indianapolis?" => { name: "america_indianapolis?", description: "returns whether the current time zone is america/indianapolis.", examples: [ "Date.america_indianapolis?", "Date.new(\"2024-03-05\").america_indianapolis?", "Time.zone = \"Etc/UTC\" Date.america_indianapolis?" ] }, "america_inuvik?" => { name: "america_inuvik?", description: "returns whether the current time zone is america/inuvik.", examples: [ "Date.america_inuvik?", "Date.new(\"2024-03-05\").america_inuvik?", "Time.zone = \"Etc/UTC\" Date.america_inuvik?" ] }, "america_iqaluit?" => { name: "america_iqaluit?", description: "returns whether the current time zone is america/iqaluit.", examples: [ "Date.america_iqaluit?", "Date.new(\"2024-03-05\").america_iqaluit?", "Time.zone = \"Etc/UTC\" Date.america_iqaluit?" ] }, "america_jamaica?" => { name: "america_jamaica?", description: "returns whether the current time zone is america/jamaica.", examples: [ "Date.america_jamaica?", "Date.new(\"2024-03-05\").america_jamaica?", "Time.zone = \"Etc/UTC\" Date.america_jamaica?" ] }, "america_jujuy?" => { name: "america_jujuy?", description: "returns whether the current time zone is america/jujuy.", examples: [ "Date.america_jujuy?", "Date.new(\"2024-03-05\").america_jujuy?", "Time.zone = \"Etc/UTC\" Date.america_jujuy?" ] }, "america_juneau?" => { name: "america_juneau?", description: "returns whether the current time zone is america/juneau.", examples: [ "Date.america_juneau?", "Date.new(\"2024-03-05\").america_juneau?", "Time.zone = \"Etc/UTC\" Date.america_juneau?" ] }, "america_kentucky_louisville?" => { name: "america_kentucky_louisville?", description: "returns whether the current time zone is america/kentucky/louisville.", examples: [ "Date.america_kentucky_louisville?", "Date.new(\"2024-03-05\").america_kentucky_louisville?", "Time.zone = \"Etc/UTC\" Date.america_kentucky_louisville?" ] }, "america_kentucky_monticello?" => { name: "america_kentucky_monticello?", description: "returns whether the current time zone is america/kentucky/monticello.", examples: [ "Date.america_kentucky_monticello?", "Date.new(\"2024-03-05\").america_kentucky_monticello?", "Time.zone = \"Etc/UTC\" Date.america_kentucky_monticello?" ] }, "america_knox_in?" => { name: "america_knox_in?", description: "returns whether the current time zone is america/knox_in.", examples: [ "Date.america_knox_in?", "Date.new(\"2024-03-05\").america_knox_in?", "Time.zone = \"Etc/UTC\" Date.america_knox_in?" ] }, "america_kralendijk?" => { name: "america_kralendijk?", description: "returns whether the current time zone is america/kralendijk.", examples: [ "Date.america_kralendijk?", "Date.new(\"2024-03-05\").america_kralendijk?", "Time.zone = \"Etc/UTC\" Date.america_kralendijk?" ] }, "america_la_paz?" => { name: "america_la_paz?", description: "returns whether the current time zone is america/la_paz.", examples: [ "Date.america_la_paz?", "Date.new(\"2024-03-05\").america_la_paz?", "Time.zone = \"Etc/UTC\" Date.america_la_paz?" ] }, "america_lima?" => { name: "america_lima?", description: "returns whether the current time zone is america/lima.", examples: [ "Date.america_lima?", "Date.new(\"2024-03-05\").america_lima?", "Time.zone = \"Etc/UTC\" Date.america_lima?" ] }, "america_los_angeles?" => { name: "america_los_angeles?", description: "returns whether the current time zone is america/los_angeles.", examples: [ "Date.america_los_angeles?", "Date.new(\"2024-03-05\").america_los_angeles?", "Time.zone = \"Etc/UTC\" Date.america_los_angeles?" ] }, "america_louisville?" => { name: "america_louisville?", description: "returns whether the current time zone is america/louisville.", examples: [ "Date.america_louisville?", "Date.new(\"2024-03-05\").america_louisville?", "Time.zone = \"Etc/UTC\" Date.america_louisville?" ] }, "america_lower_princes?" => { name: "america_lower_princes?", description: "returns whether the current time zone is america/lower_princes.", examples: [ "Date.america_lower_princes?", "Date.new(\"2024-03-05\").america_lower_princes?", "Time.zone = \"Etc/UTC\" Date.america_lower_princes?" ] }, "america_maceio?" => { name: "america_maceio?", description: "returns whether the current time zone is america/maceio.", examples: [ "Date.america_maceio?", "Date.new(\"2024-03-05\").america_maceio?", "Time.zone = \"Etc/UTC\" Date.america_maceio?" ] }, "america_managua?" => { name: "america_managua?", description: "returns whether the current time zone is america/managua.", examples: [ "Date.america_managua?", "Date.new(\"2024-03-05\").america_managua?", "Time.zone = \"Etc/UTC\" Date.america_managua?" ] }, "america_manaus?" => { name: "america_manaus?", description: "returns whether the current time zone is america/manaus.", examples: [ "Date.america_manaus?", "Date.new(\"2024-03-05\").america_manaus?", "Time.zone = \"Etc/UTC\" Date.america_manaus?" ] }, "america_marigot?" => { name: "america_marigot?", description: "returns whether the current time zone is america/marigot.", examples: [ "Date.america_marigot?", "Date.new(\"2024-03-05\").america_marigot?", "Time.zone = \"Etc/UTC\" Date.america_marigot?" ] }, "america_martinique?" => { name: "america_martinique?", description: "returns whether the current time zone is america/martinique.", examples: [ "Date.america_martinique?", "Date.new(\"2024-03-05\").america_martinique?", "Time.zone = \"Etc/UTC\" Date.america_martinique?" ] }, "america_matamoros?" => { name: "america_matamoros?", description: "returns whether the current time zone is america/matamoros.", examples: [ "Date.america_matamoros?", "Date.new(\"2024-03-05\").america_matamoros?", "Time.zone = \"Etc/UTC\" Date.america_matamoros?" ] }, "america_mazatlan?" => { name: "america_mazatlan?", description: "returns whether the current time zone is america/mazatlan.", examples: [ "Date.america_mazatlan?", "Date.new(\"2024-03-05\").america_mazatlan?", "Time.zone = \"Etc/UTC\" Date.america_mazatlan?" ] }, "america_mendoza?" => { name: "america_mendoza?", description: "returns whether the current time zone is america/mendoza.", examples: [ "Date.america_mendoza?", "Date.new(\"2024-03-05\").america_mendoza?", "Time.zone = \"Etc/UTC\" Date.america_mendoza?" ] }, "america_menominee?" => { name: "america_menominee?", description: "returns whether the current time zone is america/menominee.", examples: [ "Date.america_menominee?", "Date.new(\"2024-03-05\").america_menominee?", "Time.zone = \"Etc/UTC\" Date.america_menominee?" ] }, "america_merida?" => { name: "america_merida?", description: "returns whether the current time zone is america/merida.", examples: [ "Date.america_merida?", "Date.new(\"2024-03-05\").america_merida?", "Time.zone = \"Etc/UTC\" Date.america_merida?" ] }, "america_metlakatla?" => { name: "america_metlakatla?", description: "returns whether the current time zone is america/metlakatla.", examples: [ "Date.america_metlakatla?", "Date.new(\"2024-03-05\").america_metlakatla?", "Time.zone = \"Etc/UTC\" Date.america_metlakatla?" ] }, "america_mexico_city?" => { name: "america_mexico_city?", description: "returns whether the current time zone is america/mexico_city.", examples: [ "Date.america_mexico_city?", "Date.new(\"2024-03-05\").america_mexico_city?", "Time.zone = \"Etc/UTC\" Date.america_mexico_city?" ] }, "america_miquelon?" => { name: "america_miquelon?", description: "returns whether the current time zone is america/miquelon.", examples: [ "Date.america_miquelon?", "Date.new(\"2024-03-05\").america_miquelon?", "Time.zone = \"Etc/UTC\" Date.america_miquelon?" ] }, "america_moncton?" => { name: "america_moncton?", description: "returns whether the current time zone is america/moncton.", examples: [ "Date.america_moncton?", "Date.new(\"2024-03-05\").america_moncton?", "Time.zone = \"Etc/UTC\" Date.america_moncton?" ] }, "america_monterrey?" => { name: "america_monterrey?", description: "returns whether the current time zone is america/monterrey.", examples: [ "Date.america_monterrey?", "Date.new(\"2024-03-05\").america_monterrey?", "Time.zone = \"Etc/UTC\" Date.america_monterrey?" ] }, "america_montevideo?" => { name: "america_montevideo?", description: "returns whether the current time zone is america/montevideo.", examples: [ "Date.america_montevideo?", "Date.new(\"2024-03-05\").america_montevideo?", "Time.zone = \"Etc/UTC\" Date.america_montevideo?" ] }, "america_montreal?" => { name: "america_montreal?", description: "returns whether the current time zone is america/montreal.", examples: [ "Date.america_montreal?", "Date.new(\"2024-03-05\").america_montreal?", "Time.zone = \"Etc/UTC\" Date.america_montreal?" ] }, "america_montserrat?" => { name: "america_montserrat?", description: "returns whether the current time zone is america/montserrat.", examples: [ "Date.america_montserrat?", "Date.new(\"2024-03-05\").america_montserrat?", "Time.zone = \"Etc/UTC\" Date.america_montserrat?" ] }, "america_nassau?" => { name: "america_nassau?", description: "returns whether the current time zone is america/nassau.", examples: [ "Date.america_nassau?", "Date.new(\"2024-03-05\").america_nassau?", "Time.zone = \"Etc/UTC\" Date.america_nassau?" ] }, "america_new_york?" => { name: "america_new_york?", description: "returns whether the current time zone is america/new_york.", examples: [ "Date.america_new_york?", "Date.new(\"2024-03-05\").america_new_york?", "Time.zone = \"Etc/UTC\" Date.america_new_york?" ] }, "america_nipigon?" => { name: "america_nipigon?", description: "returns whether the current time zone is america/nipigon.", examples: [ "Date.america_nipigon?", "Date.new(\"2024-03-05\").america_nipigon?", "Time.zone = \"Etc/UTC\" Date.america_nipigon?" ] }, "america_nome?" => { name: "america_nome?", description: "returns whether the current time zone is america/nome.", examples: [ "Date.america_nome?", "Date.new(\"2024-03-05\").america_nome?", "Time.zone = \"Etc/UTC\" Date.america_nome?" ] }, "america_noronha?" => { name: "america_noronha?", description: "returns whether the current time zone is america/noronha.", examples: [ "Date.america_noronha?", "Date.new(\"2024-03-05\").america_noronha?", "Time.zone = \"Etc/UTC\" Date.america_noronha?" ] }, "america_north_dakota_beulah?" => { name: "america_north_dakota_beulah?", description: "returns whether the current time zone is america/north_dakota/beulah.", examples: [ "Date.america_north_dakota_beulah?", "Date.new(\"2024-03-05\").america_north_dakota_beulah?", "Time.zone = \"Etc/UTC\" Date.america_north_dakota_beulah?" ] }, "america_north_dakota_center?" => { name: "america_north_dakota_center?", description: "returns whether the current time zone is america/north_dakota/center.", examples: [ "Date.america_north_dakota_center?", "Date.new(\"2024-03-05\").america_north_dakota_center?", "Time.zone = \"Etc/UTC\" Date.america_north_dakota_center?" ] }, "america_north_dakota_new_salem?" => { name: "america_north_dakota_new_salem?", description: "returns whether the current time zone is america/north_dakota/new_salem.", examples: [ "Date.america_north_dakota_new_salem?", "Date.new(\"2024-03-05\").america_north_dakota_new_salem?", "Time.zone = \"Etc/UTC\" Date.america_north_dakota_new_salem?" ] }, "america_nuuk?" => { name: "america_nuuk?", description: "returns whether the current time zone is america/nuuk.", examples: [ "Date.america_nuuk?", "Date.new(\"2024-03-05\").america_nuuk?", "Time.zone = \"Etc/UTC\" Date.america_nuuk?" ] }, "america_ojinaga?" => { name: "america_ojinaga?", description: "returns whether the current time zone is america/ojinaga.", examples: [ "Date.america_ojinaga?", "Date.new(\"2024-03-05\").america_ojinaga?", "Time.zone = \"Etc/UTC\" Date.america_ojinaga?" ] }, "america_panama?" => { name: "america_panama?", description: "returns whether the current time zone is america/panama.", examples: [ "Date.america_panama?", "Date.new(\"2024-03-05\").america_panama?", "Time.zone = \"Etc/UTC\" Date.america_panama?" ] }, "america_pangnirtung?" => { name: "america_pangnirtung?", description: "returns whether the current time zone is america/pangnirtung.", examples: [ "Date.america_pangnirtung?", "Date.new(\"2024-03-05\").america_pangnirtung?", "Time.zone = \"Etc/UTC\" Date.america_pangnirtung?" ] }, "america_paramaribo?" => { name: "america_paramaribo?", description: "returns whether the current time zone is america/paramaribo.", examples: [ "Date.america_paramaribo?", "Date.new(\"2024-03-05\").america_paramaribo?", "Time.zone = \"Etc/UTC\" Date.america_paramaribo?" ] }, "america_phoenix?" => { name: "america_phoenix?", description: "returns whether the current time zone is america/phoenix.", examples: [ "Date.america_phoenix?", "Date.new(\"2024-03-05\").america_phoenix?", "Time.zone = \"Etc/UTC\" Date.america_phoenix?" ] }, "america_port_minus_au_minus_prince?" => { name: "america_port_minus_au_minus_prince?", description: "returns whether the current time zone is america/port-au-prince.", examples: [ "Date.america_port_minus_au_minus_prince?", "Date.new(\"2024-03-05\").america_port_minus_au_minus_prince?", "Time.zone = \"Etc/UTC\" Date.america_port_minus_au_minus_prince?" ] }, "america_port_of_spain?" => { name: "america_port_of_spain?", description: "returns whether the current time zone is america/port_of_spain.", examples: [ "Date.america_port_of_spain?", "Date.new(\"2024-03-05\").america_port_of_spain?", "Time.zone = \"Etc/UTC\" Date.america_port_of_spain?" ] }, "america_porto_acre?" => { name: "america_porto_acre?", description: "returns whether the current time zone is america/porto_acre.", examples: [ "Date.america_porto_acre?", "Date.new(\"2024-03-05\").america_porto_acre?", "Time.zone = \"Etc/UTC\" Date.america_porto_acre?" ] }, "america_porto_velho?" => { name: "america_porto_velho?", description: "returns whether the current time zone is america/porto_velho.", examples: [ "Date.america_porto_velho?", "Date.new(\"2024-03-05\").america_porto_velho?", "Time.zone = \"Etc/UTC\" Date.america_porto_velho?" ] }, "america_puerto_rico?" => { name: "america_puerto_rico?", description: "returns whether the current time zone is america/puerto_rico.", examples: [ "Date.america_puerto_rico?", "Date.new(\"2024-03-05\").america_puerto_rico?", "Time.zone = \"Etc/UTC\" Date.america_puerto_rico?" ] }, "america_punta_arenas?" => { name: "america_punta_arenas?", description: "returns whether the current time zone is america/punta_arenas.", examples: [ "Date.america_punta_arenas?", "Date.new(\"2024-03-05\").america_punta_arenas?", "Time.zone = \"Etc/UTC\" Date.america_punta_arenas?" ] }, "america_rainy_river?" => { name: "america_rainy_river?", description: "returns whether the current time zone is america/rainy_river.", examples: [ "Date.america_rainy_river?", "Date.new(\"2024-03-05\").america_rainy_river?", "Time.zone = \"Etc/UTC\" Date.america_rainy_river?" ] }, "america_rankin_inlet?" => { name: "america_rankin_inlet?", description: "returns whether the current time zone is america/rankin_inlet.", examples: [ "Date.america_rankin_inlet?", "Date.new(\"2024-03-05\").america_rankin_inlet?", "Time.zone = \"Etc/UTC\" Date.america_rankin_inlet?" ] }, "america_recife?" => { name: "america_recife?", description: "returns whether the current time zone is america/recife.", examples: [ "Date.america_recife?", "Date.new(\"2024-03-05\").america_recife?", "Time.zone = \"Etc/UTC\" Date.america_recife?" ] }, "america_regina?" => { name: "america_regina?", description: "returns whether the current time zone is america/regina.", examples: [ "Date.america_regina?", "Date.new(\"2024-03-05\").america_regina?", "Time.zone = \"Etc/UTC\" Date.america_regina?" ] }, "america_resolute?" => { name: "america_resolute?", description: "returns whether the current time zone is america/resolute.", examples: [ "Date.america_resolute?", "Date.new(\"2024-03-05\").america_resolute?", "Time.zone = \"Etc/UTC\" Date.america_resolute?" ] }, "america_rio_branco?" => { name: "america_rio_branco?", description: "returns whether the current time zone is america/rio_branco.", examples: [ "Date.america_rio_branco?", "Date.new(\"2024-03-05\").america_rio_branco?", "Time.zone = \"Etc/UTC\" Date.america_rio_branco?" ] }, "america_rosario?" => { name: "america_rosario?", description: "returns whether the current time zone is america/rosario.", examples: [ "Date.america_rosario?", "Date.new(\"2024-03-05\").america_rosario?", "Time.zone = \"Etc/UTC\" Date.america_rosario?" ] }, "america_santa_isabel?" => { name: "america_santa_isabel?", description: "returns whether the current time zone is america/santa_isabel.", examples: [ "Date.america_santa_isabel?", "Date.new(\"2024-03-05\").america_santa_isabel?", "Time.zone = \"Etc/UTC\" Date.america_santa_isabel?" ] }, "america_santarem?" => { name: "america_santarem?", description: "returns whether the current time zone is america/santarem.", examples: [ "Date.america_santarem?", "Date.new(\"2024-03-05\").america_santarem?", "Time.zone = \"Etc/UTC\" Date.america_santarem?" ] }, "america_santiago?" => { name: "america_santiago?", description: "returns whether the current time zone is america/santiago.", examples: [ "Date.america_santiago?", "Date.new(\"2024-03-05\").america_santiago?", "Time.zone = \"Etc/UTC\" Date.america_santiago?" ] }, "america_santo_domingo?" => { name: "america_santo_domingo?", description: "returns whether the current time zone is america/santo_domingo.", examples: [ "Date.america_santo_domingo?", "Date.new(\"2024-03-05\").america_santo_domingo?", "Time.zone = \"Etc/UTC\" Date.america_santo_domingo?" ] }, "america_sao_paulo?" => { name: "america_sao_paulo?", description: "returns whether the current time zone is america/sao_paulo.", examples: [ "Date.america_sao_paulo?", "Date.new(\"2024-03-05\").america_sao_paulo?", "Time.zone = \"Etc/UTC\" Date.america_sao_paulo?" ] }, "america_scoresbysund?" => { name: "america_scoresbysund?", description: "returns whether the current time zone is america/scoresbysund.", examples: [ "Date.america_scoresbysund?", "Date.new(\"2024-03-05\").america_scoresbysund?", "Time.zone = \"Etc/UTC\" Date.america_scoresbysund?" ] }, "america_shiprock?" => { name: "america_shiprock?", description: "returns whether the current time zone is america/shiprock.", examples: [ "Date.america_shiprock?", "Date.new(\"2024-03-05\").america_shiprock?", "Time.zone = \"Etc/UTC\" Date.america_shiprock?" ] }, "america_sitka?" => { name: "america_sitka?", description: "returns whether the current time zone is america/sitka.", examples: [ "Date.america_sitka?", "Date.new(\"2024-03-05\").america_sitka?", "Time.zone = \"Etc/UTC\" Date.america_sitka?" ] }, "america_st_barthelemy?" => { name: "america_st_barthelemy?", description: "returns whether the current time zone is america/st_barthelemy.", examples: [ "Date.america_st_barthelemy?", "Date.new(\"2024-03-05\").america_st_barthelemy?", "Time.zone = \"Etc/UTC\" Date.america_st_barthelemy?" ] }, "america_st_johns?" => { name: "america_st_johns?", description: "returns whether the current time zone is america/st_johns.", examples: [ "Date.america_st_johns?", "Date.new(\"2024-03-05\").america_st_johns?", "Time.zone = \"Etc/UTC\" Date.america_st_johns?" ] }, "america_st_kitts?" => { name: "america_st_kitts?", description: "returns whether the current time zone is america/st_kitts.", examples: [ "Date.america_st_kitts?", "Date.new(\"2024-03-05\").america_st_kitts?", "Time.zone = \"Etc/UTC\" Date.america_st_kitts?" ] }, "america_st_lucia?" => { name: "america_st_lucia?", description: "returns whether the current time zone is america/st_lucia.", examples: [ "Date.america_st_lucia?", "Date.new(\"2024-03-05\").america_st_lucia?", "Time.zone = \"Etc/UTC\" Date.america_st_lucia?" ] }, "america_st_thomas?" => { name: "america_st_thomas?", description: "returns whether the current time zone is america/st_thomas.", examples: [ "Date.america_st_thomas?", "Date.new(\"2024-03-05\").america_st_thomas?", "Time.zone = \"Etc/UTC\" Date.america_st_thomas?" ] }, "america_st_vincent?" => { name: "america_st_vincent?", description: "returns whether the current time zone is america/st_vincent.", examples: [ "Date.america_st_vincent?", "Date.new(\"2024-03-05\").america_st_vincent?", "Time.zone = \"Etc/UTC\" Date.america_st_vincent?" ] }, "america_swift_current?" => { name: "america_swift_current?", description: "returns whether the current time zone is america/swift_current.", examples: [ "Date.america_swift_current?", "Date.new(\"2024-03-05\").america_swift_current?", "Time.zone = \"Etc/UTC\" Date.america_swift_current?" ] }, "america_tegucigalpa?" => { name: "america_tegucigalpa?", description: "returns whether the current time zone is america/tegucigalpa.", examples: [ "Date.america_tegucigalpa?", "Date.new(\"2024-03-05\").america_tegucigalpa?", "Time.zone = \"Etc/UTC\" Date.america_tegucigalpa?" ] }, "america_thule?" => { name: "america_thule?", description: "returns whether the current time zone is america/thule.", examples: [ "Date.america_thule?", "Date.new(\"2024-03-05\").america_thule?", "Time.zone = \"Etc/UTC\" Date.america_thule?" ] }, "america_thunder_bay?" => { name: "america_thunder_bay?", description: "returns whether the current time zone is america/thunder_bay.", examples: [ "Date.america_thunder_bay?", "Date.new(\"2024-03-05\").america_thunder_bay?", "Time.zone = \"Etc/UTC\" Date.america_thunder_bay?" ] }, "america_tijuana?" => { name: "america_tijuana?", description: "returns whether the current time zone is america/tijuana.", examples: [ "Date.america_tijuana?", "Date.new(\"2024-03-05\").america_tijuana?", "Time.zone = \"Etc/UTC\" Date.america_tijuana?" ] }, "america_toronto?" => { name: "america_toronto?", description: "returns whether the current time zone is america/toronto.", examples: [ "Date.america_toronto?", "Date.new(\"2024-03-05\").america_toronto?", "Time.zone = \"Etc/UTC\" Date.america_toronto?" ] }, "america_tortola?" => { name: "america_tortola?", description: "returns whether the current time zone is america/tortola.", examples: [ "Date.america_tortola?", "Date.new(\"2024-03-05\").america_tortola?", "Time.zone = \"Etc/UTC\" Date.america_tortola?" ] }, "america_vancouver?" => { name: "america_vancouver?", description: "returns whether the current time zone is america/vancouver.", examples: [ "Date.america_vancouver?", "Date.new(\"2024-03-05\").america_vancouver?", "Time.zone = \"Etc/UTC\" Date.america_vancouver?" ] }, "america_virgin?" => { name: "america_virgin?", description: "returns whether the current time zone is america/virgin.", examples: [ "Date.america_virgin?", "Date.new(\"2024-03-05\").america_virgin?", "Time.zone = \"Etc/UTC\" Date.america_virgin?" ] }, "america_whitehorse?" => { name: "america_whitehorse?", description: "returns whether the current time zone is america/whitehorse.", examples: [ "Date.america_whitehorse?", "Date.new(\"2024-03-05\").america_whitehorse?", "Time.zone = \"Etc/UTC\" Date.america_whitehorse?" ] }, "america_winnipeg?" => { name: "america_winnipeg?", description: "returns whether the current time zone is america/winnipeg.", examples: [ "Date.america_winnipeg?", "Date.new(\"2024-03-05\").america_winnipeg?", "Time.zone = \"Etc/UTC\" Date.america_winnipeg?" ] }, "america_yakutat?" => { name: "america_yakutat?", description: "returns whether the current time zone is america/yakutat.", examples: [ "Date.america_yakutat?", "Date.new(\"2024-03-05\").america_yakutat?", "Time.zone = \"Etc/UTC\" Date.america_yakutat?" ] }, "america_yellowknife?" => { name: "america_yellowknife?", description: "returns whether the current time zone is america/yellowknife.", examples: [ "Date.america_yellowknife?", "Date.new(\"2024-03-05\").america_yellowknife?", "Time.zone = \"Etc/UTC\" Date.america_yellowknife?" ] }, "antarctica_casey?" => { name: "antarctica_casey?", description: "returns whether the current time zone is antarctica/casey.", examples: [ "Date.antarctica_casey?", "Date.new(\"2024-03-05\").antarctica_casey?", "Time.zone = \"Etc/UTC\" Date.antarctica_casey?" ] }, "antarctica_davis?" => { name: "antarctica_davis?", description: "returns whether the current time zone is antarctica/davis.", examples: [ "Date.antarctica_davis?", "Date.new(\"2024-03-05\").antarctica_davis?", "Time.zone = \"Etc/UTC\" Date.antarctica_davis?" ] }, "antarctica_dumontdurville?" => { name: "antarctica_dumontdurville?", description: "returns whether the current time zone is antarctica/dumontdurville.", examples: [ "Date.antarctica_dumontdurville?", "Date.new(\"2024-03-05\").antarctica_dumontdurville?", "Time.zone = \"Etc/UTC\" Date.antarctica_dumontdurville?" ] }, "antarctica_macquarie?" => { name: "antarctica_macquarie?", description: "returns whether the current time zone is antarctica/macquarie.", examples: [ "Date.antarctica_macquarie?", "Date.new(\"2024-03-05\").antarctica_macquarie?", "Time.zone = \"Etc/UTC\" Date.antarctica_macquarie?" ] }, "antarctica_mawson?" => { name: "antarctica_mawson?", description: "returns whether the current time zone is antarctica/mawson.", examples: [ "Date.antarctica_mawson?", "Date.new(\"2024-03-05\").antarctica_mawson?", "Time.zone = \"Etc/UTC\" Date.antarctica_mawson?" ] }, "antarctica_mcmurdo?" => { name: "antarctica_mcmurdo?", description: "returns whether the current time zone is antarctica/mcmurdo.", examples: [ "Date.antarctica_mcmurdo?", "Date.new(\"2024-03-05\").antarctica_mcmurdo?", "Time.zone = \"Etc/UTC\" Date.antarctica_mcmurdo?" ] }, "antarctica_palmer?" => { name: "antarctica_palmer?", description: "returns whether the current time zone is antarctica/palmer.", examples: [ "Date.antarctica_palmer?", "Date.new(\"2024-03-05\").antarctica_palmer?", "Time.zone = \"Etc/UTC\" Date.antarctica_palmer?" ] }, "antarctica_rothera?" => { name: "antarctica_rothera?", description: "returns whether the current time zone is antarctica/rothera.", examples: [ "Date.antarctica_rothera?", "Date.new(\"2024-03-05\").antarctica_rothera?", "Time.zone = \"Etc/UTC\" Date.antarctica_rothera?" ] }, "antarctica_south_pole?" => { name: "antarctica_south_pole?", description: "returns whether the current time zone is antarctica/south_pole.", examples: [ "Date.antarctica_south_pole?", "Date.new(\"2024-03-05\").antarctica_south_pole?", "Time.zone = \"Etc/UTC\" Date.antarctica_south_pole?" ] }, "antarctica_syowa?" => { name: "antarctica_syowa?", description: "returns whether the current time zone is antarctica/syowa.", examples: [ "Date.antarctica_syowa?", "Date.new(\"2024-03-05\").antarctica_syowa?", "Time.zone = \"Etc/UTC\" Date.antarctica_syowa?" ] }, "antarctica_troll?" => { name: "antarctica_troll?", description: "returns whether the current time zone is antarctica/troll.", examples: [ "Date.antarctica_troll?", "Date.new(\"2024-03-05\").antarctica_troll?", "Time.zone = \"Etc/UTC\" Date.antarctica_troll?" ] }, "antarctica_vostok?" => { name: "antarctica_vostok?", description: "returns whether the current time zone is antarctica/vostok.", examples: [ "Date.antarctica_vostok?", "Date.new(\"2024-03-05\").antarctica_vostok?", "Time.zone = \"Etc/UTC\" Date.antarctica_vostok?" ] }, "arctic_longyearbyen?" => { name: "arctic_longyearbyen?", description: "returns whether the current time zone is arctic/longyearbyen.", examples: [ "Date.arctic_longyearbyen?", "Date.new(\"2024-03-05\").arctic_longyearbyen?", "Time.zone = \"Etc/UTC\" Date.arctic_longyearbyen?" ] }, "asia_aden?" => { name: "asia_aden?", description: "returns whether the current time zone is asia/aden.", examples: [ "Date.asia_aden?", "Date.new(\"2024-03-05\").asia_aden?", "Time.zone = \"Etc/UTC\" Date.asia_aden?" ] }, "asia_almaty?" => { name: "asia_almaty?", description: "returns whether the current time zone is asia/almaty.", examples: [ "Date.asia_almaty?", "Date.new(\"2024-03-05\").asia_almaty?", "Time.zone = \"Etc/UTC\" Date.asia_almaty?" ] }, "asia_amman?" => { name: "asia_amman?", description: "returns whether the current time zone is asia/amman.", examples: [ "Date.asia_amman?", "Date.new(\"2024-03-05\").asia_amman?", "Time.zone = \"Etc/UTC\" Date.asia_amman?" ] }, "asia_anadyr?" => { name: "asia_anadyr?", description: "returns whether the current time zone is asia/anadyr.", examples: [ "Date.asia_anadyr?", "Date.new(\"2024-03-05\").asia_anadyr?", "Time.zone = \"Etc/UTC\" Date.asia_anadyr?" ] }, "asia_aqtau?" => { name: "asia_aqtau?", description: "returns whether the current time zone is asia/aqtau.", examples: [ "Date.asia_aqtau?", "Date.new(\"2024-03-05\").asia_aqtau?", "Time.zone = \"Etc/UTC\" Date.asia_aqtau?" ] }, "asia_aqtobe?" => { name: "asia_aqtobe?", description: "returns whether the current time zone is asia/aqtobe.", examples: [ "Date.asia_aqtobe?", "Date.new(\"2024-03-05\").asia_aqtobe?", "Time.zone = \"Etc/UTC\" Date.asia_aqtobe?" ] }, "asia_ashgabat?" => { name: "asia_ashgabat?", description: "returns whether the current time zone is asia/ashgabat.", examples: [ "Date.asia_ashgabat?", "Date.new(\"2024-03-05\").asia_ashgabat?", "Time.zone = \"Etc/UTC\" Date.asia_ashgabat?" ] }, "asia_ashkhabad?" => { name: "asia_ashkhabad?", description: "returns whether the current time zone is asia/ashkhabad.", examples: [ "Date.asia_ashkhabad?", "Date.new(\"2024-03-05\").asia_ashkhabad?", "Time.zone = \"Etc/UTC\" Date.asia_ashkhabad?" ] }, "asia_atyrau?" => { name: "asia_atyrau?", description: "returns whether the current time zone is asia/atyrau.", examples: [ "Date.asia_atyrau?", "Date.new(\"2024-03-05\").asia_atyrau?", "Time.zone = \"Etc/UTC\" Date.asia_atyrau?" ] }, "asia_baghdad?" => { name: "asia_baghdad?", description: "returns whether the current time zone is asia/baghdad.", examples: [ "Date.asia_baghdad?", "Date.new(\"2024-03-05\").asia_baghdad?", "Time.zone = \"Etc/UTC\" Date.asia_baghdad?" ] }, "asia_bahrain?" => { name: "asia_bahrain?", description: "returns whether the current time zone is asia/bahrain.", examples: [ "Date.asia_bahrain?", "Date.new(\"2024-03-05\").asia_bahrain?", "Time.zone = \"Etc/UTC\" Date.asia_bahrain?" ] }, "asia_baku?" => { name: "asia_baku?", description: "returns whether the current time zone is asia/baku.", examples: [ "Date.asia_baku?", "Date.new(\"2024-03-05\").asia_baku?", "Time.zone = \"Etc/UTC\" Date.asia_baku?" ] }, "asia_bangkok?" => { name: "asia_bangkok?", description: "returns whether the current time zone is asia/bangkok.", examples: [ "Date.asia_bangkok?", "Date.new(\"2024-03-05\").asia_bangkok?", "Time.zone = \"Etc/UTC\" Date.asia_bangkok?" ] }, "asia_barnaul?" => { name: "asia_barnaul?", description: "returns whether the current time zone is asia/barnaul.", examples: [ "Date.asia_barnaul?", "Date.new(\"2024-03-05\").asia_barnaul?", "Time.zone = \"Etc/UTC\" Date.asia_barnaul?" ] }, "asia_beirut?" => { name: "asia_beirut?", description: "returns whether the current time zone is asia/beirut.", examples: [ "Date.asia_beirut?", "Date.new(\"2024-03-05\").asia_beirut?", "Time.zone = \"Etc/UTC\" Date.asia_beirut?" ] }, "asia_bishkek?" => { name: "asia_bishkek?", description: "returns whether the current time zone is asia/bishkek.", examples: [ "Date.asia_bishkek?", "Date.new(\"2024-03-05\").asia_bishkek?", "Time.zone = \"Etc/UTC\" Date.asia_bishkek?" ] }, "asia_brunei?" => { name: "asia_brunei?", description: "returns whether the current time zone is asia/brunei.", examples: [ "Date.asia_brunei?", "Date.new(\"2024-03-05\").asia_brunei?", "Time.zone = \"Etc/UTC\" Date.asia_brunei?" ] }, "asia_calcutta?" => { name: "asia_calcutta?", description: "returns whether the current time zone is asia/calcutta.", examples: [ "Date.asia_calcutta?", "Date.new(\"2024-03-05\").asia_calcutta?", "Time.zone = \"Etc/UTC\" Date.asia_calcutta?" ] }, "asia_chita?" => { name: "asia_chita?", description: "returns whether the current time zone is asia/chita.", examples: [ "Date.asia_chita?", "Date.new(\"2024-03-05\").asia_chita?", "Time.zone = \"Etc/UTC\" Date.asia_chita?" ] }, "asia_choibalsan?" => { name: "asia_choibalsan?", description: "returns whether the current time zone is asia/choibalsan.", examples: [ "Date.asia_choibalsan?", "Date.new(\"2024-03-05\").asia_choibalsan?", "Time.zone = \"Etc/UTC\" Date.asia_choibalsan?" ] }, "asia_chongqing?" => { name: "asia_chongqing?", description: "returns whether the current time zone is asia/chongqing.", examples: [ "Date.asia_chongqing?", "Date.new(\"2024-03-05\").asia_chongqing?", "Time.zone = \"Etc/UTC\" Date.asia_chongqing?" ] }, "asia_chungking?" => { name: "asia_chungking?", description: "returns whether the current time zone is asia/chungking.", examples: [ "Date.asia_chungking?", "Date.new(\"2024-03-05\").asia_chungking?", "Time.zone = \"Etc/UTC\" Date.asia_chungking?" ] }, "asia_colombo?" => { name: "asia_colombo?", description: "returns whether the current time zone is asia/colombo.", examples: [ "Date.asia_colombo?", "Date.new(\"2024-03-05\").asia_colombo?", "Time.zone = \"Etc/UTC\" Date.asia_colombo?" ] }, "asia_dacca?" => { name: "asia_dacca?", description: "returns whether the current time zone is asia/dacca.", examples: [ "Date.asia_dacca?", "Date.new(\"2024-03-05\").asia_dacca?", "Time.zone = \"Etc/UTC\" Date.asia_dacca?" ] }, "asia_damascus?" => { name: "asia_damascus?", description: "returns whether the current time zone is asia/damascus.", examples: [ "Date.asia_damascus?", "Date.new(\"2024-03-05\").asia_damascus?", "Time.zone = \"Etc/UTC\" Date.asia_damascus?" ] }, "asia_dhaka?" => { name: "asia_dhaka?", description: "returns whether the current time zone is asia/dhaka.", examples: [ "Date.asia_dhaka?", "Date.new(\"2024-03-05\").asia_dhaka?", "Time.zone = \"Etc/UTC\" Date.asia_dhaka?" ] }, "asia_dili?" => { name: "asia_dili?", description: "returns whether the current time zone is asia/dili.", examples: [ "Date.asia_dili?", "Date.new(\"2024-03-05\").asia_dili?", "Time.zone = \"Etc/UTC\" Date.asia_dili?" ] }, "asia_dubai?" => { name: "asia_dubai?", description: "returns whether the current time zone is asia/dubai.", examples: [ "Date.asia_dubai?", "Date.new(\"2024-03-05\").asia_dubai?", "Time.zone = \"Etc/UTC\" Date.asia_dubai?" ] }, "asia_dushanbe?" => { name: "asia_dushanbe?", description: "returns whether the current time zone is asia/dushanbe.", examples: [ "Date.asia_dushanbe?", "Date.new(\"2024-03-05\").asia_dushanbe?", "Time.zone = \"Etc/UTC\" Date.asia_dushanbe?" ] }, "asia_famagusta?" => { name: "asia_famagusta?", description: "returns whether the current time zone is asia/famagusta.", examples: [ "Date.asia_famagusta?", "Date.new(\"2024-03-05\").asia_famagusta?", "Time.zone = \"Etc/UTC\" Date.asia_famagusta?" ] }, "asia_gaza?" => { name: "asia_gaza?", description: "returns whether the current time zone is asia/gaza.", examples: [ "Date.asia_gaza?", "Date.new(\"2024-03-05\").asia_gaza?", "Time.zone = \"Etc/UTC\" Date.asia_gaza?" ] }, "asia_harbin?" => { name: "asia_harbin?", description: "returns whether the current time zone is asia/harbin.", examples: [ "Date.asia_harbin?", "Date.new(\"2024-03-05\").asia_harbin?", "Time.zone = \"Etc/UTC\" Date.asia_harbin?" ] }, "asia_hebron?" => { name: "asia_hebron?", description: "returns whether the current time zone is asia/hebron.", examples: [ "Date.asia_hebron?", "Date.new(\"2024-03-05\").asia_hebron?", "Time.zone = \"Etc/UTC\" Date.asia_hebron?" ] }, "asia_ho_chi_minh?" => { name: "asia_ho_chi_minh?", description: "returns whether the current time zone is asia/ho_chi_minh.", examples: [ "Date.asia_ho_chi_minh?", "Date.new(\"2024-03-05\").asia_ho_chi_minh?", "Time.zone = \"Etc/UTC\" Date.asia_ho_chi_minh?" ] }, "asia_hong_kong?" => { name: "asia_hong_kong?", description: "returns whether the current time zone is asia/hong_kong.", examples: [ "Date.asia_hong_kong?", "Date.new(\"2024-03-05\").asia_hong_kong?", "Time.zone = \"Etc/UTC\" Date.asia_hong_kong?" ] }, "asia_hovd?" => { name: "asia_hovd?", description: "returns whether the current time zone is asia/hovd.", examples: [ "Date.asia_hovd?", "Date.new(\"2024-03-05\").asia_hovd?", "Time.zone = \"Etc/UTC\" Date.asia_hovd?" ] }, "asia_irkutsk?" => { name: "asia_irkutsk?", description: "returns whether the current time zone is asia/irkutsk.", examples: [ "Date.asia_irkutsk?", "Date.new(\"2024-03-05\").asia_irkutsk?", "Time.zone = \"Etc/UTC\" Date.asia_irkutsk?" ] }, "asia_istanbul?" => { name: "asia_istanbul?", description: "returns whether the current time zone is asia/istanbul.", examples: [ "Date.asia_istanbul?", "Date.new(\"2024-03-05\").asia_istanbul?", "Time.zone = \"Etc/UTC\" Date.asia_istanbul?" ] }, "asia_jakarta?" => { name: "asia_jakarta?", description: "returns whether the current time zone is asia/jakarta.", examples: [ "Date.asia_jakarta?", "Date.new(\"2024-03-05\").asia_jakarta?", "Time.zone = \"Etc/UTC\" Date.asia_jakarta?" ] }, "asia_jayapura?" => { name: "asia_jayapura?", description: "returns whether the current time zone is asia/jayapura.", examples: [ "Date.asia_jayapura?", "Date.new(\"2024-03-05\").asia_jayapura?", "Time.zone = \"Etc/UTC\" Date.asia_jayapura?" ] }, "asia_jerusalem?" => { name: "asia_jerusalem?", description: "returns whether the current time zone is asia/jerusalem.", examples: [ "Date.asia_jerusalem?", "Date.new(\"2024-03-05\").asia_jerusalem?", "Time.zone = \"Etc/UTC\" Date.asia_jerusalem?" ] }, "asia_kabul?" => { name: "asia_kabul?", description: "returns whether the current time zone is asia/kabul.", examples: [ "Date.asia_kabul?", "Date.new(\"2024-03-05\").asia_kabul?", "Time.zone = \"Etc/UTC\" Date.asia_kabul?" ] }, "asia_kamchatka?" => { name: "asia_kamchatka?", description: "returns whether the current time zone is asia/kamchatka.", examples: [ "Date.asia_kamchatka?", "Date.new(\"2024-03-05\").asia_kamchatka?", "Time.zone = \"Etc/UTC\" Date.asia_kamchatka?" ] }, "asia_karachi?" => { name: "asia_karachi?", description: "returns whether the current time zone is asia/karachi.", examples: [ "Date.asia_karachi?", "Date.new(\"2024-03-05\").asia_karachi?", "Time.zone = \"Etc/UTC\" Date.asia_karachi?" ] }, "asia_kashgar?" => { name: "asia_kashgar?", description: "returns whether the current time zone is asia/kashgar.", examples: [ "Date.asia_kashgar?", "Date.new(\"2024-03-05\").asia_kashgar?", "Time.zone = \"Etc/UTC\" Date.asia_kashgar?" ] }, "asia_kathmandu?" => { name: "asia_kathmandu?", description: "returns whether the current time zone is asia/kathmandu.", examples: [ "Date.asia_kathmandu?", "Date.new(\"2024-03-05\").asia_kathmandu?", "Time.zone = \"Etc/UTC\" Date.asia_kathmandu?" ] }, "asia_katmandu?" => { name: "asia_katmandu?", description: "returns whether the current time zone is asia/katmandu.", examples: [ "Date.asia_katmandu?", "Date.new(\"2024-03-05\").asia_katmandu?", "Time.zone = \"Etc/UTC\" Date.asia_katmandu?" ] }, "asia_khandyga?" => { name: "asia_khandyga?", description: "returns whether the current time zone is asia/khandyga.", examples: [ "Date.asia_khandyga?", "Date.new(\"2024-03-05\").asia_khandyga?", "Time.zone = \"Etc/UTC\" Date.asia_khandyga?" ] }, "asia_kolkata?" => { name: "asia_kolkata?", description: "returns whether the current time zone is asia/kolkata.", examples: [ "Date.asia_kolkata?", "Date.new(\"2024-03-05\").asia_kolkata?", "Time.zone = \"Etc/UTC\" Date.asia_kolkata?" ] }, "asia_krasnoyarsk?" => { name: "asia_krasnoyarsk?", description: "returns whether the current time zone is asia/krasnoyarsk.", examples: [ "Date.asia_krasnoyarsk?", "Date.new(\"2024-03-05\").asia_krasnoyarsk?", "Time.zone = \"Etc/UTC\" Date.asia_krasnoyarsk?" ] }, "asia_kuala_lumpur?" => { name: "asia_kuala_lumpur?", description: "returns whether the current time zone is asia/kuala_lumpur.", examples: [ "Date.asia_kuala_lumpur?", "Date.new(\"2024-03-05\").asia_kuala_lumpur?", "Time.zone = \"Etc/UTC\" Date.asia_kuala_lumpur?" ] }, "asia_kuching?" => { name: "asia_kuching?", description: "returns whether the current time zone is asia/kuching.", examples: [ "Date.asia_kuching?", "Date.new(\"2024-03-05\").asia_kuching?", "Time.zone = \"Etc/UTC\" Date.asia_kuching?" ] }, "asia_kuwait?" => { name: "asia_kuwait?", description: "returns whether the current time zone is asia/kuwait.", examples: [ "Date.asia_kuwait?", "Date.new(\"2024-03-05\").asia_kuwait?", "Time.zone = \"Etc/UTC\" Date.asia_kuwait?" ] }, "asia_macao?" => { name: "asia_macao?", description: "returns whether the current time zone is asia/macao.", examples: [ "Date.asia_macao?", "Date.new(\"2024-03-05\").asia_macao?", "Time.zone = \"Etc/UTC\" Date.asia_macao?" ] }, "asia_macau?" => { name: "asia_macau?", description: "returns whether the current time zone is asia/macau.", examples: [ "Date.asia_macau?", "Date.new(\"2024-03-05\").asia_macau?", "Time.zone = \"Etc/UTC\" Date.asia_macau?" ] }, "asia_magadan?" => { name: "asia_magadan?", description: "returns whether the current time zone is asia/magadan.", examples: [ "Date.asia_magadan?", "Date.new(\"2024-03-05\").asia_magadan?", "Time.zone = \"Etc/UTC\" Date.asia_magadan?" ] }, "asia_makassar?" => { name: "asia_makassar?", description: "returns whether the current time zone is asia/makassar.", examples: [ "Date.asia_makassar?", "Date.new(\"2024-03-05\").asia_makassar?", "Time.zone = \"Etc/UTC\" Date.asia_makassar?" ] }, "asia_manila?" => { name: "asia_manila?", description: "returns whether the current time zone is asia/manila.", examples: [ "Date.asia_manila?", "Date.new(\"2024-03-05\").asia_manila?", "Time.zone = \"Etc/UTC\" Date.asia_manila?" ] }, "asia_muscat?" => { name: "asia_muscat?", description: "returns whether the current time zone is asia/muscat.", examples: [ "Date.asia_muscat?", "Date.new(\"2024-03-05\").asia_muscat?", "Time.zone = \"Etc/UTC\" Date.asia_muscat?" ] }, "asia_nicosia?" => { name: "asia_nicosia?", description: "returns whether the current time zone is asia/nicosia.", examples: [ "Date.asia_nicosia?", "Date.new(\"2024-03-05\").asia_nicosia?", "Time.zone = \"Etc/UTC\" Date.asia_nicosia?" ] }, "asia_novokuznetsk?" => { name: "asia_novokuznetsk?", description: "returns whether the current time zone is asia/novokuznetsk.", examples: [ "Date.asia_novokuznetsk?", "Date.new(\"2024-03-05\").asia_novokuznetsk?", "Time.zone = \"Etc/UTC\" Date.asia_novokuznetsk?" ] }, "asia_novosibirsk?" => { name: "asia_novosibirsk?", description: "returns whether the current time zone is asia/novosibirsk.", examples: [ "Date.asia_novosibirsk?", "Date.new(\"2024-03-05\").asia_novosibirsk?", "Time.zone = \"Etc/UTC\" Date.asia_novosibirsk?" ] }, "asia_omsk?" => { name: "asia_omsk?", description: "returns whether the current time zone is asia/omsk.", examples: [ "Date.asia_omsk?", "Date.new(\"2024-03-05\").asia_omsk?", "Time.zone = \"Etc/UTC\" Date.asia_omsk?" ] }, "asia_oral?" => { name: "asia_oral?", description: "returns whether the current time zone is asia/oral.", examples: [ "Date.asia_oral?", "Date.new(\"2024-03-05\").asia_oral?", "Time.zone = \"Etc/UTC\" Date.asia_oral?" ] }, "asia_phnom_penh?" => { name: "asia_phnom_penh?", description: "returns whether the current time zone is asia/phnom_penh.", examples: [ "Date.asia_phnom_penh?", "Date.new(\"2024-03-05\").asia_phnom_penh?", "Time.zone = \"Etc/UTC\" Date.asia_phnom_penh?" ] }, "asia_pontianak?" => { name: "asia_pontianak?", description: "returns whether the current time zone is asia/pontianak.", examples: [ "Date.asia_pontianak?", "Date.new(\"2024-03-05\").asia_pontianak?", "Time.zone = \"Etc/UTC\" Date.asia_pontianak?" ] }, "asia_pyongyang?" => { name: "asia_pyongyang?", description: "returns whether the current time zone is asia/pyongyang.", examples: [ "Date.asia_pyongyang?", "Date.new(\"2024-03-05\").asia_pyongyang?", "Time.zone = \"Etc/UTC\" Date.asia_pyongyang?" ] }, "asia_qatar?" => { name: "asia_qatar?", description: "returns whether the current time zone is asia/qatar.", examples: [ "Date.asia_qatar?", "Date.new(\"2024-03-05\").asia_qatar?", "Time.zone = \"Etc/UTC\" Date.asia_qatar?" ] }, "asia_qostanay?" => { name: "asia_qostanay?", description: "returns whether the current time zone is asia/qostanay.", examples: [ "Date.asia_qostanay?", "Date.new(\"2024-03-05\").asia_qostanay?", "Time.zone = \"Etc/UTC\" Date.asia_qostanay?" ] }, "asia_qyzylorda?" => { name: "asia_qyzylorda?", description: "returns whether the current time zone is asia/qyzylorda.", examples: [ "Date.asia_qyzylorda?", "Date.new(\"2024-03-05\").asia_qyzylorda?", "Time.zone = \"Etc/UTC\" Date.asia_qyzylorda?" ] }, "asia_rangoon?" => { name: "asia_rangoon?", description: "returns whether the current time zone is asia/rangoon.", examples: [ "Date.asia_rangoon?", "Date.new(\"2024-03-05\").asia_rangoon?", "Time.zone = \"Etc/UTC\" Date.asia_rangoon?" ] }, "asia_riyadh?" => { name: "asia_riyadh?", description: "returns whether the current time zone is asia/riyadh.", examples: [ "Date.asia_riyadh?", "Date.new(\"2024-03-05\").asia_riyadh?", "Time.zone = \"Etc/UTC\" Date.asia_riyadh?" ] }, "asia_saigon?" => { name: "asia_saigon?", description: "returns whether the current time zone is asia/saigon.", examples: [ "Date.asia_saigon?", "Date.new(\"2024-03-05\").asia_saigon?", "Time.zone = \"Etc/UTC\" Date.asia_saigon?" ] }, "asia_sakhalin?" => { name: "asia_sakhalin?", description: "returns whether the current time zone is asia/sakhalin.", examples: [ "Date.asia_sakhalin?", "Date.new(\"2024-03-05\").asia_sakhalin?", "Time.zone = \"Etc/UTC\" Date.asia_sakhalin?" ] }, "asia_samarkand?" => { name: "asia_samarkand?", description: "returns whether the current time zone is asia/samarkand.", examples: [ "Date.asia_samarkand?", "Date.new(\"2024-03-05\").asia_samarkand?", "Time.zone = \"Etc/UTC\" Date.asia_samarkand?" ] }, "asia_seoul?" => { name: "asia_seoul?", description: "returns whether the current time zone is asia/seoul.", examples: [ "Date.asia_seoul?", "Date.new(\"2024-03-05\").asia_seoul?", "Time.zone = \"Etc/UTC\" Date.asia_seoul?" ] }, "asia_shanghai?" => { name: "asia_shanghai?", description: "returns whether the current time zone is asia/shanghai.", examples: [ "Date.asia_shanghai?", "Date.new(\"2024-03-05\").asia_shanghai?", "Time.zone = \"Etc/UTC\" Date.asia_shanghai?" ] }, "asia_singapore?" => { name: "asia_singapore?", description: "returns whether the current time zone is asia/singapore.", examples: [ "Date.asia_singapore?", "Date.new(\"2024-03-05\").asia_singapore?", "Time.zone = \"Etc/UTC\" Date.asia_singapore?" ] }, "asia_srednekolymsk?" => { name: "asia_srednekolymsk?", description: "returns whether the current time zone is asia/srednekolymsk.", examples: [ "Date.asia_srednekolymsk?", "Date.new(\"2024-03-05\").asia_srednekolymsk?", "Time.zone = \"Etc/UTC\" Date.asia_srednekolymsk?" ] }, "asia_taipei?" => { name: "asia_taipei?", description: "returns whether the current time zone is asia/taipei.", examples: [ "Date.asia_taipei?", "Date.new(\"2024-03-05\").asia_taipei?", "Time.zone = \"Etc/UTC\" Date.asia_taipei?" ] }, "asia_tashkent?" => { name: "asia_tashkent?", description: "returns whether the current time zone is asia/tashkent.", examples: [ "Date.asia_tashkent?", "Date.new(\"2024-03-05\").asia_tashkent?", "Time.zone = \"Etc/UTC\" Date.asia_tashkent?" ] }, "asia_tbilisi?" => { name: "asia_tbilisi?", description: "returns whether the current time zone is asia/tbilisi.", examples: [ "Date.asia_tbilisi?", "Date.new(\"2024-03-05\").asia_tbilisi?", "Time.zone = \"Etc/UTC\" Date.asia_tbilisi?" ] }, "asia_tehran?" => { name: "asia_tehran?", description: "returns whether the current time zone is asia/tehran.", examples: [ "Date.asia_tehran?", "Date.new(\"2024-03-05\").asia_tehran?", "Time.zone = \"Etc/UTC\" Date.asia_tehran?" ] }, "asia_tel_aviv?" => { name: "asia_tel_aviv?", description: "returns whether the current time zone is asia/tel_aviv.", examples: [ "Date.asia_tel_aviv?", "Date.new(\"2024-03-05\").asia_tel_aviv?", "Time.zone = \"Etc/UTC\" Date.asia_tel_aviv?" ] }, "asia_thimbu?" => { name: "asia_thimbu?", description: "returns whether the current time zone is asia/thimbu.", examples: [ "Date.asia_thimbu?", "Date.new(\"2024-03-05\").asia_thimbu?", "Time.zone = \"Etc/UTC\" Date.asia_thimbu?" ] }, "asia_thimphu?" => { name: "asia_thimphu?", description: "returns whether the current time zone is asia/thimphu.", examples: [ "Date.asia_thimphu?", "Date.new(\"2024-03-05\").asia_thimphu?", "Time.zone = \"Etc/UTC\" Date.asia_thimphu?" ] }, "asia_tokyo?" => { name: "asia_tokyo?", description: "returns whether the current time zone is asia/tokyo.", examples: [ "Date.asia_tokyo?", "Date.new(\"2024-03-05\").asia_tokyo?", "Time.zone = \"Etc/UTC\" Date.asia_tokyo?" ] }, "asia_tomsk?" => { name: "asia_tomsk?", description: "returns whether the current time zone is asia/tomsk.", examples: [ "Date.asia_tomsk?", "Date.new(\"2024-03-05\").asia_tomsk?", "Time.zone = \"Etc/UTC\" Date.asia_tomsk?" ] }, "asia_ujung_pandang?" => { name: "asia_ujung_pandang?", description: "returns whether the current time zone is asia/ujung_pandang.", examples: [ "Date.asia_ujung_pandang?", "Date.new(\"2024-03-05\").asia_ujung_pandang?", "Time.zone = \"Etc/UTC\" Date.asia_ujung_pandang?" ] }, "asia_ulaanbaatar?" => { name: "asia_ulaanbaatar?", description: "returns whether the current time zone is asia/ulaanbaatar.", examples: [ "Date.asia_ulaanbaatar?", "Date.new(\"2024-03-05\").asia_ulaanbaatar?", "Time.zone = \"Etc/UTC\" Date.asia_ulaanbaatar?" ] }, "asia_ulan_bator?" => { name: "asia_ulan_bator?", description: "returns whether the current time zone is asia/ulan_bator.", examples: [ "Date.asia_ulan_bator?", "Date.new(\"2024-03-05\").asia_ulan_bator?", "Time.zone = \"Etc/UTC\" Date.asia_ulan_bator?" ] }, "asia_urumqi?" => { name: "asia_urumqi?", description: "returns whether the current time zone is asia/urumqi.", examples: [ "Date.asia_urumqi?", "Date.new(\"2024-03-05\").asia_urumqi?", "Time.zone = \"Etc/UTC\" Date.asia_urumqi?" ] }, "asia_ust_minus_nera?" => { name: "asia_ust_minus_nera?", description: "returns whether the current time zone is asia/ust-nera.", examples: [ "Date.asia_ust_minus_nera?", "Date.new(\"2024-03-05\").asia_ust_minus_nera?", "Time.zone = \"Etc/UTC\" Date.asia_ust_minus_nera?" ] }, "asia_vientiane?" => { name: "asia_vientiane?", description: "returns whether the current time zone is asia/vientiane.", examples: [ "Date.asia_vientiane?", "Date.new(\"2024-03-05\").asia_vientiane?", "Time.zone = \"Etc/UTC\" Date.asia_vientiane?" ] }, "asia_vladivostok?" => { name: "asia_vladivostok?", description: "returns whether the current time zone is asia/vladivostok.", examples: [ "Date.asia_vladivostok?", "Date.new(\"2024-03-05\").asia_vladivostok?", "Time.zone = \"Etc/UTC\" Date.asia_vladivostok?" ] }, "asia_yakutsk?" => { name: "asia_yakutsk?", description: "returns whether the current time zone is asia/yakutsk.", examples: [ "Date.asia_yakutsk?", "Date.new(\"2024-03-05\").asia_yakutsk?", "Time.zone = \"Etc/UTC\" Date.asia_yakutsk?" ] }, "asia_yangon?" => { name: "asia_yangon?", description: "returns whether the current time zone is asia/yangon.", examples: [ "Date.asia_yangon?", "Date.new(\"2024-03-05\").asia_yangon?", "Time.zone = \"Etc/UTC\" Date.asia_yangon?" ] }, "asia_yekaterinburg?" => { name: "asia_yekaterinburg?", description: "returns whether the current time zone is asia/yekaterinburg.", examples: [ "Date.asia_yekaterinburg?", "Date.new(\"2024-03-05\").asia_yekaterinburg?", "Time.zone = \"Etc/UTC\" Date.asia_yekaterinburg?" ] }, "asia_yerevan?" => { name: "asia_yerevan?", description: "returns whether the current time zone is asia/yerevan.", examples: [ "Date.asia_yerevan?", "Date.new(\"2024-03-05\").asia_yerevan?", "Time.zone = \"Etc/UTC\" Date.asia_yerevan?" ] }, "atlantic_azores?" => { name: "atlantic_azores?", description: "returns whether the current time zone is atlantic/azores.", examples: [ "Date.atlantic_azores?", "Date.new(\"2024-03-05\").atlantic_azores?", "Time.zone = \"Etc/UTC\" Date.atlantic_azores?" ] }, "atlantic_bermuda?" => { name: "atlantic_bermuda?", description: "returns whether the current time zone is atlantic/bermuda.", examples: [ "Date.atlantic_bermuda?", "Date.new(\"2024-03-05\").atlantic_bermuda?", "Time.zone = \"Etc/UTC\" Date.atlantic_bermuda?" ] }, "atlantic_canary?" => { name: "atlantic_canary?", description: "returns whether the current time zone is atlantic/canary.", examples: [ "Date.atlantic_canary?", "Date.new(\"2024-03-05\").atlantic_canary?", "Time.zone = \"Etc/UTC\" Date.atlantic_canary?" ] }, "atlantic_cape_verde?" => { name: "atlantic_cape_verde?", description: "returns whether the current time zone is atlantic/cape_verde.", examples: [ "Date.atlantic_cape_verde?", "Date.new(\"2024-03-05\").atlantic_cape_verde?", "Time.zone = \"Etc/UTC\" Date.atlantic_cape_verde?" ] }, "atlantic_faeroe?" => { name: "atlantic_faeroe?", description: "returns whether the current time zone is atlantic/faeroe.", examples: [ "Date.atlantic_faeroe?", "Date.new(\"2024-03-05\").atlantic_faeroe?", "Time.zone = \"Etc/UTC\" Date.atlantic_faeroe?" ] }, "atlantic_faroe?" => { name: "atlantic_faroe?", description: "returns whether the current time zone is atlantic/faroe.", examples: [ "Date.atlantic_faroe?", "Date.new(\"2024-03-05\").atlantic_faroe?", "Time.zone = \"Etc/UTC\" Date.atlantic_faroe?" ] }, "atlantic_jan_mayen?" => { name: "atlantic_jan_mayen?", description: "returns whether the current time zone is atlantic/jan_mayen.", examples: [ "Date.atlantic_jan_mayen?", "Date.new(\"2024-03-05\").atlantic_jan_mayen?", "Time.zone = \"Etc/UTC\" Date.atlantic_jan_mayen?" ] }, "atlantic_madeira?" => { name: "atlantic_madeira?", description: "returns whether the current time zone is atlantic/madeira.", examples: [ "Date.atlantic_madeira?", "Date.new(\"2024-03-05\").atlantic_madeira?", "Time.zone = \"Etc/UTC\" Date.atlantic_madeira?" ] }, "atlantic_reykjavik?" => { name: "atlantic_reykjavik?", description: "returns whether the current time zone is atlantic/reykjavik.", examples: [ "Date.atlantic_reykjavik?", "Date.new(\"2024-03-05\").atlantic_reykjavik?", "Time.zone = \"Etc/UTC\" Date.atlantic_reykjavik?" ] }, "atlantic_south_georgia?" => { name: "atlantic_south_georgia?", description: "returns whether the current time zone is atlantic/south_georgia.", examples: [ "Date.atlantic_south_georgia?", "Date.new(\"2024-03-05\").atlantic_south_georgia?", "Time.zone = \"Etc/UTC\" Date.atlantic_south_georgia?" ] }, "atlantic_st_helena?" => { name: "atlantic_st_helena?", description: "returns whether the current time zone is atlantic/st_helena.", examples: [ "Date.atlantic_st_helena?", "Date.new(\"2024-03-05\").atlantic_st_helena?", "Time.zone = \"Etc/UTC\" Date.atlantic_st_helena?" ] }, "atlantic_stanley?" => { name: "atlantic_stanley?", description: "returns whether the current time zone is atlantic/stanley.", examples: [ "Date.atlantic_stanley?", "Date.new(\"2024-03-05\").atlantic_stanley?", "Time.zone = \"Etc/UTC\" Date.atlantic_stanley?" ] }, "australia_act?" => { name: "australia_act?", description: "returns whether the current time zone is australia/act.", examples: [ "Date.australia_act?", "Date.new(\"2024-03-05\").australia_act?", "Time.zone = \"Etc/UTC\" Date.australia_act?" ] }, "australia_adelaide?" => { name: "australia_adelaide?", description: "returns whether the current time zone is australia/adelaide.", examples: [ "Date.australia_adelaide?", "Date.new(\"2024-03-05\").australia_adelaide?", "Time.zone = \"Etc/UTC\" Date.australia_adelaide?" ] }, "australia_brisbane?" => { name: "australia_brisbane?", description: "returns whether the current time zone is australia/brisbane.", examples: [ "Date.australia_brisbane?", "Date.new(\"2024-03-05\").australia_brisbane?", "Time.zone = \"Etc/UTC\" Date.australia_brisbane?" ] }, "australia_broken_hill?" => { name: "australia_broken_hill?", description: "returns whether the current time zone is australia/broken_hill.", examples: [ "Date.australia_broken_hill?", "Date.new(\"2024-03-05\").australia_broken_hill?", "Time.zone = \"Etc/UTC\" Date.australia_broken_hill?" ] }, "australia_canberra?" => { name: "australia_canberra?", description: "returns whether the current time zone is australia/canberra.", examples: [ "Date.australia_canberra?", "Date.new(\"2024-03-05\").australia_canberra?", "Time.zone = \"Etc/UTC\" Date.australia_canberra?" ] }, "australia_currie?" => { name: "australia_currie?", description: "returns whether the current time zone is australia/currie.", examples: [ "Date.australia_currie?", "Date.new(\"2024-03-05\").australia_currie?", "Time.zone = \"Etc/UTC\" Date.australia_currie?" ] }, "australia_darwin?" => { name: "australia_darwin?", description: "returns whether the current time zone is australia/darwin.", examples: [ "Date.australia_darwin?", "Date.new(\"2024-03-05\").australia_darwin?", "Time.zone = \"Etc/UTC\" Date.australia_darwin?" ] }, "australia_eucla?" => { name: "australia_eucla?", description: "returns whether the current time zone is australia/eucla.", examples: [ "Date.australia_eucla?", "Date.new(\"2024-03-05\").australia_eucla?", "Time.zone = \"Etc/UTC\" Date.australia_eucla?" ] }, "australia_hobart?" => { name: "australia_hobart?", description: "returns whether the current time zone is australia/hobart.", examples: [ "Date.australia_hobart?", "Date.new(\"2024-03-05\").australia_hobart?", "Time.zone = \"Etc/UTC\" Date.australia_hobart?" ] }, "australia_lhi?" => { name: "australia_lhi?", description: "returns whether the current time zone is australia/lhi.", examples: [ "Date.australia_lhi?", "Date.new(\"2024-03-05\").australia_lhi?", "Time.zone = \"Etc/UTC\" Date.australia_lhi?" ] }, "australia_lindeman?" => { name: "australia_lindeman?", description: "returns whether the current time zone is australia/lindeman.", examples: [ "Date.australia_lindeman?", "Date.new(\"2024-03-05\").australia_lindeman?", "Time.zone = \"Etc/UTC\" Date.australia_lindeman?" ] }, "australia_lord_howe?" => { name: "australia_lord_howe?", description: "returns whether the current time zone is australia/lord_howe.", examples: [ "Date.australia_lord_howe?", "Date.new(\"2024-03-05\").australia_lord_howe?", "Time.zone = \"Etc/UTC\" Date.australia_lord_howe?" ] }, "australia_melbourne?" => { name: "australia_melbourne?", description: "returns whether the current time zone is australia/melbourne.", examples: [ "Date.australia_melbourne?", "Date.new(\"2024-03-05\").australia_melbourne?", "Time.zone = \"Etc/UTC\" Date.australia_melbourne?" ] }, "australia_nsw?" => { name: "australia_nsw?", description: "returns whether the current time zone is australia/nsw.", examples: [ "Date.australia_nsw?", "Date.new(\"2024-03-05\").australia_nsw?", "Time.zone = \"Etc/UTC\" Date.australia_nsw?" ] }, "australia_north?" => { name: "australia_north?", description: "returns whether the current time zone is australia/north.", examples: [ "Date.australia_north?", "Date.new(\"2024-03-05\").australia_north?", "Time.zone = \"Etc/UTC\" Date.australia_north?" ] }, "australia_perth?" => { name: "australia_perth?", description: "returns whether the current time zone is australia/perth.", examples: [ "Date.australia_perth?", "Date.new(\"2024-03-05\").australia_perth?", "Time.zone = \"Etc/UTC\" Date.australia_perth?" ] }, "australia_queensland?" => { name: "australia_queensland?", description: "returns whether the current time zone is australia/queensland.", examples: [ "Date.australia_queensland?", "Date.new(\"2024-03-05\").australia_queensland?", "Time.zone = \"Etc/UTC\" Date.australia_queensland?" ] }, "australia_south?" => { name: "australia_south?", description: "returns whether the current time zone is australia/south.", examples: [ "Date.australia_south?", "Date.new(\"2024-03-05\").australia_south?", "Time.zone = \"Etc/UTC\" Date.australia_south?" ] }, "australia_sydney?" => { name: "australia_sydney?", description: "returns whether the current time zone is australia/sydney.", examples: [ "Date.australia_sydney?", "Date.new(\"2024-03-05\").australia_sydney?", "Time.zone = \"Etc/UTC\" Date.australia_sydney?" ] }, "australia_tasmania?" => { name: "australia_tasmania?", description: "returns whether the current time zone is australia/tasmania.", examples: [ "Date.australia_tasmania?", "Date.new(\"2024-03-05\").australia_tasmania?", "Time.zone = \"Etc/UTC\" Date.australia_tasmania?" ] }, "australia_victoria?" => { name: "australia_victoria?", description: "returns whether the current time zone is australia/victoria.", examples: [ "Date.australia_victoria?", "Date.new(\"2024-03-05\").australia_victoria?", "Time.zone = \"Etc/UTC\" Date.australia_victoria?" ] }, "australia_west?" => { name: "australia_west?", description: "returns whether the current time zone is australia/west.", examples: [ "Date.australia_west?", "Date.new(\"2024-03-05\").australia_west?", "Time.zone = \"Etc/UTC\" Date.australia_west?" ] }, "australia_yancowinna?" => { name: "australia_yancowinna?", description: "returns whether the current time zone is australia/yancowinna.", examples: [ "Date.australia_yancowinna?", "Date.new(\"2024-03-05\").australia_yancowinna?", "Time.zone = \"Etc/UTC\" Date.australia_yancowinna?" ] }, "brazil_acre?" => { name: "brazil_acre?", description: "returns whether the current time zone is brazil/acre.", examples: [ "Date.brazil_acre?", "Date.new(\"2024-03-05\").brazil_acre?", "Time.zone = \"Etc/UTC\" Date.brazil_acre?" ] }, "brazil_denoronha?" => { name: "brazil_denoronha?", description: "returns whether the current time zone is brazil/denoronha.", examples: [ "Date.brazil_denoronha?", "Date.new(\"2024-03-05\").brazil_denoronha?", "Time.zone = \"Etc/UTC\" Date.brazil_denoronha?" ] }, "brazil_east?" => { name: "brazil_east?", description: "returns whether the current time zone is brazil/east.", examples: [ "Date.brazil_east?", "Date.new(\"2024-03-05\").brazil_east?", "Time.zone = \"Etc/UTC\" Date.brazil_east?" ] }, "brazil_west?" => { name: "brazil_west?", description: "returns whether the current time zone is brazil/west.", examples: [ "Date.brazil_west?", "Date.new(\"2024-03-05\").brazil_west?", "Time.zone = \"Etc/UTC\" Date.brazil_west?" ] }, "cet?" => { name: "cet?", description: "returns whether the current time zone is cet.", examples: [ "Date.cet?", "Date.new(\"2024-03-05\").cet?", "Time.zone = \"Etc/UTC\" Date.cet?" ] }, "cst6cdt?" => { name: "cst6cdt?", description: "returns whether the current time zone is cst6cdt.", examples: [ "Date.cst6cdt?", "Date.new(\"2024-03-05\").cst6cdt?", "Time.zone = \"Etc/UTC\" Date.cst6cdt?" ] }, "canada_atlantic?" => { name: "canada_atlantic?", description: "returns whether the current time zone is canada/atlantic.", examples: [ "Date.canada_atlantic?", "Date.new(\"2024-03-05\").canada_atlantic?", "Time.zone = \"Etc/UTC\" Date.canada_atlantic?" ] }, "canada_central?" => { name: "canada_central?", description: "returns whether the current time zone is canada/central.", examples: [ "Date.canada_central?", "Date.new(\"2024-03-05\").canada_central?", "Time.zone = \"Etc/UTC\" Date.canada_central?" ] }, "canada_eastern?" => { name: "canada_eastern?", description: "returns whether the current time zone is canada/eastern.", examples: [ "Date.canada_eastern?", "Date.new(\"2024-03-05\").canada_eastern?", "Time.zone = \"Etc/UTC\" Date.canada_eastern?" ] }, "canada_mountain?" => { name: "canada_mountain?", description: "returns whether the current time zone is canada/mountain.", examples: [ "Date.canada_mountain?", "Date.new(\"2024-03-05\").canada_mountain?", "Time.zone = \"Etc/UTC\" Date.canada_mountain?" ] }, "canada_newfoundland?" => { name: "canada_newfoundland?", description: "returns whether the current time zone is canada/newfoundland.", examples: [ "Date.canada_newfoundland?", "Date.new(\"2024-03-05\").canada_newfoundland?", "Time.zone = \"Etc/UTC\" Date.canada_newfoundland?" ] }, "canada_pacific?" => { name: "canada_pacific?", description: "returns whether the current time zone is canada/pacific.", examples: [ "Date.canada_pacific?", "Date.new(\"2024-03-05\").canada_pacific?", "Time.zone = \"Etc/UTC\" Date.canada_pacific?" ] }, "canada_saskatchewan?" => { name: "canada_saskatchewan?", description: "returns whether the current time zone is canada/saskatchewan.", examples: [ "Date.canada_saskatchewan?", "Date.new(\"2024-03-05\").canada_saskatchewan?", "Time.zone = \"Etc/UTC\" Date.canada_saskatchewan?" ] }, "canada_yukon?" => { name: "canada_yukon?", description: "returns whether the current time zone is canada/yukon.", examples: [ "Date.canada_yukon?", "Date.new(\"2024-03-05\").canada_yukon?", "Time.zone = \"Etc/UTC\" Date.canada_yukon?" ] }, "chile_continental?" => { name: "chile_continental?", description: "returns whether the current time zone is chile/continental.", examples: [ "Date.chile_continental?", "Date.new(\"2024-03-05\").chile_continental?", "Time.zone = \"Etc/UTC\" Date.chile_continental?" ] }, "chile_easterisland?" => { name: "chile_easterisland?", description: "returns whether the current time zone is chile/easterisland.", examples: [ "Date.chile_easterisland?", "Date.new(\"2024-03-05\").chile_easterisland?", "Time.zone = \"Etc/UTC\" Date.chile_easterisland?" ] }, "cuba?" => { name: "cuba?", description: "returns whether the current time zone is cuba.", examples: [ "Date.cuba?", "Date.new(\"2024-03-05\").cuba?", "Time.zone = \"Etc/UTC\" Date.cuba?" ] }, "eet?" => { name: "eet?", description: "returns whether the current time zone is eet.", examples: [ "Date.eet?", "Date.new(\"2024-03-05\").eet?", "Time.zone = \"Etc/UTC\" Date.eet?" ] }, "est?" => { name: "est?", description: "returns whether the current time zone is est.", examples: [ "Date.est?", "Date.new(\"2024-03-05\").est?", "Time.zone = \"Etc/UTC\" Date.est?" ] }, "est5edt?" => { name: "est5edt?", description: "returns whether the current time zone is est5edt.", examples: [ "Date.est5edt?", "Date.new(\"2024-03-05\").est5edt?", "Time.zone = \"Etc/UTC\" Date.est5edt?" ] }, "egypt?" => { name: "egypt?", description: "returns whether the current time zone is egypt.", examples: [ "Date.egypt?", "Date.new(\"2024-03-05\").egypt?", "Time.zone = \"Etc/UTC\" Date.egypt?" ] }, "eire?" => { name: "eire?", description: "returns whether the current time zone is eire.", examples: [ "Date.eire?", "Date.new(\"2024-03-05\").eire?", "Time.zone = \"Etc/UTC\" Date.eire?" ] }, "etc_gmt?" => { name: "etc_gmt?", description: "returns whether the current time zone is etc/gmt.", examples: [ "Date.etc_gmt?", "Date.new(\"2024-03-05\").etc_gmt?", "Time.zone = \"Etc/UTC\" Date.etc_gmt?" ] }, "etc_gmt_plus_0?" => { name: "etc_gmt_plus_0?", description: "returns whether the current time zone is etc/gmt+0.", examples: [ "Date.etc_gmt_plus_0?", "Date.new(\"2024-03-05\").etc_gmt_plus_0?", "Time.zone = \"Etc/UTC\" Date.etc_gmt_plus_0?" ] }, "etc_gmt_plus_1?" => { name: "etc_gmt_plus_1?", description: "returns whether the current time zone is etc/gmt+1.", examples: [ "Date.etc_gmt_plus_1?", "Date.new(\"2024-03-05\").etc_gmt_plus_1?", "Time.zone = \"Etc/UTC\" Date.etc_gmt_plus_1?" ] }, "etc_gmt_plus_10?" => { name: "etc_gmt_plus_10?", description: "returns whether the current time zone is etc/gmt+10.", examples: [ "Date.etc_gmt_plus_10?", "Date.new(\"2024-03-05\").etc_gmt_plus_10?", "Time.zone = \"Etc/UTC\" Date.etc_gmt_plus_10?" ] }, "etc_gmt_plus_11?" => { name: "etc_gmt_plus_11?", description: "returns whether the current time zone is etc/gmt+11.", examples: [ "Date.etc_gmt_plus_11?", "Date.new(\"2024-03-05\").etc_gmt_plus_11?", "Time.zone = \"Etc/UTC\" Date.etc_gmt_plus_11?" ] }, "etc_gmt_plus_12?" => { name: "etc_gmt_plus_12?", description: "returns whether the current time zone is etc/gmt+12.", examples: [ "Date.etc_gmt_plus_12?", "Date.new(\"2024-03-05\").etc_gmt_plus_12?", "Time.zone = \"Etc/UTC\" Date.etc_gmt_plus_12?" ] }, "etc_gmt_plus_2?" => { name: "etc_gmt_plus_2?", description: "returns whether the current time zone is etc/gmt+2.", examples: [ "Date.etc_gmt_plus_2?", "Date.new(\"2024-03-05\").etc_gmt_plus_2?", "Time.zone = \"Etc/UTC\" Date.etc_gmt_plus_2?" ] }, "etc_gmt_plus_3?" => { name: "etc_gmt_plus_3?", description: "returns whether the current time zone is etc/gmt+3.", examples: [ "Date.etc_gmt_plus_3?", "Date.new(\"2024-03-05\").etc_gmt_plus_3?", "Time.zone = \"Etc/UTC\" Date.etc_gmt_plus_3?" ] }, "etc_gmt_plus_4?" => { name: "etc_gmt_plus_4?", description: "returns whether the current time zone is etc/gmt+4.", examples: [ "Date.etc_gmt_plus_4?", "Date.new(\"2024-03-05\").etc_gmt_plus_4?", "Time.zone = \"Etc/UTC\" Date.etc_gmt_plus_4?" ] }, "etc_gmt_plus_5?" => { name: "etc_gmt_plus_5?", description: "returns whether the current time zone is etc/gmt+5.", examples: [ "Date.etc_gmt_plus_5?", "Date.new(\"2024-03-05\").etc_gmt_plus_5?", "Time.zone = \"Etc/UTC\" Date.etc_gmt_plus_5?" ] }, "etc_gmt_plus_6?" => { name: "etc_gmt_plus_6?", description: "returns whether the current time zone is etc/gmt+6.", examples: [ "Date.etc_gmt_plus_6?", "Date.new(\"2024-03-05\").etc_gmt_plus_6?", "Time.zone = \"Etc/UTC\" Date.etc_gmt_plus_6?" ] }, "etc_gmt_plus_7?" => { name: "etc_gmt_plus_7?", description: "returns whether the current time zone is etc/gmt+7.", examples: [ "Date.etc_gmt_plus_7?", "Date.new(\"2024-03-05\").etc_gmt_plus_7?", "Time.zone = \"Etc/UTC\" Date.etc_gmt_plus_7?" ] }, "etc_gmt_plus_8?" => { name: "etc_gmt_plus_8?", description: "returns whether the current time zone is etc/gmt+8.", examples: [ "Date.etc_gmt_plus_8?", "Date.new(\"2024-03-05\").etc_gmt_plus_8?", "Time.zone = \"Etc/UTC\" Date.etc_gmt_plus_8?" ] }, "etc_gmt_plus_9?" => { name: "etc_gmt_plus_9?", description: "returns whether the current time zone is etc/gmt+9.", examples: [ "Date.etc_gmt_plus_9?", "Date.new(\"2024-03-05\").etc_gmt_plus_9?", "Time.zone = \"Etc/UTC\" Date.etc_gmt_plus_9?" ] }, "etc_gmt_minus_0?" => { name: "etc_gmt_minus_0?", description: "returns whether the current time zone is etc/gmt-0.", examples: [ "Date.etc_gmt_minus_0?", "Date.new(\"2024-03-05\").etc_gmt_minus_0?", "Time.zone = \"Etc/UTC\" Date.etc_gmt_minus_0?" ] }, "etc_gmt_minus_1?" => { name: "etc_gmt_minus_1?", description: "returns whether the current time zone is etc/gmt-1.", examples: [ "Date.etc_gmt_minus_1?", "Date.new(\"2024-03-05\").etc_gmt_minus_1?", "Time.zone = \"Etc/UTC\" Date.etc_gmt_minus_1?" ] }, "etc_gmt_minus_10?" => { name: "etc_gmt_minus_10?", description: "returns whether the current time zone is etc/gmt-10.", examples: [ "Date.etc_gmt_minus_10?", "Date.new(\"2024-03-05\").etc_gmt_minus_10?", "Time.zone = \"Etc/UTC\" Date.etc_gmt_minus_10?" ] }, "etc_gmt_minus_11?" => { name: "etc_gmt_minus_11?", description: "returns whether the current time zone is etc/gmt-11.", examples: [ "Date.etc_gmt_minus_11?", "Date.new(\"2024-03-05\").etc_gmt_minus_11?", "Time.zone = \"Etc/UTC\" Date.etc_gmt_minus_11?" ] }, "etc_gmt_minus_12?" => { name: "etc_gmt_minus_12?", description: "returns whether the current time zone is etc/gmt-12.", examples: [ "Date.etc_gmt_minus_12?", "Date.new(\"2024-03-05\").etc_gmt_minus_12?", "Time.zone = \"Etc/UTC\" Date.etc_gmt_minus_12?" ] }, "etc_gmt_minus_13?" => { name: "etc_gmt_minus_13?", description: "returns whether the current time zone is etc/gmt-13.", examples: [ "Date.etc_gmt_minus_13?", "Date.new(\"2024-03-05\").etc_gmt_minus_13?", "Time.zone = \"Etc/UTC\" Date.etc_gmt_minus_13?" ] }, "etc_gmt_minus_14?" => { name: "etc_gmt_minus_14?", description: "returns whether the current time zone is etc/gmt-14.", examples: [ "Date.etc_gmt_minus_14?", "Date.new(\"2024-03-05\").etc_gmt_minus_14?", "Time.zone = \"Etc/UTC\" Date.etc_gmt_minus_14?" ] }, "etc_gmt_minus_2?" => { name: "etc_gmt_minus_2?", description: "returns whether the current time zone is etc/gmt-2.", examples: [ "Date.etc_gmt_minus_2?", "Date.new(\"2024-03-05\").etc_gmt_minus_2?", "Time.zone = \"Etc/UTC\" Date.etc_gmt_minus_2?" ] }, "etc_gmt_minus_3?" => { name: "etc_gmt_minus_3?", description: "returns whether the current time zone is etc/gmt-3.", examples: [ "Date.etc_gmt_minus_3?", "Date.new(\"2024-03-05\").etc_gmt_minus_3?", "Time.zone = \"Etc/UTC\" Date.etc_gmt_minus_3?" ] }, "etc_gmt_minus_4?" => { name: "etc_gmt_minus_4?", description: "returns whether the current time zone is etc/gmt-4.", examples: [ "Date.etc_gmt_minus_4?", "Date.new(\"2024-03-05\").etc_gmt_minus_4?", "Time.zone = \"Etc/UTC\" Date.etc_gmt_minus_4?" ] }, "etc_gmt_minus_5?" => { name: "etc_gmt_minus_5?", description: "returns whether the current time zone is etc/gmt-5.", examples: [ "Date.etc_gmt_minus_5?", "Date.new(\"2024-03-05\").etc_gmt_minus_5?", "Time.zone = \"Etc/UTC\" Date.etc_gmt_minus_5?" ] }, "etc_gmt_minus_6?" => { name: "etc_gmt_minus_6?", description: "returns whether the current time zone is etc/gmt-6.", examples: [ "Date.etc_gmt_minus_6?", "Date.new(\"2024-03-05\").etc_gmt_minus_6?", "Time.zone = \"Etc/UTC\" Date.etc_gmt_minus_6?" ] }, "etc_gmt_minus_7?" => { name: "etc_gmt_minus_7?", description: "returns whether the current time zone is etc/gmt-7.", examples: [ "Date.etc_gmt_minus_7?", "Date.new(\"2024-03-05\").etc_gmt_minus_7?", "Time.zone = \"Etc/UTC\" Date.etc_gmt_minus_7?" ] }, "etc_gmt_minus_8?" => { name: "etc_gmt_minus_8?", description: "returns whether the current time zone is etc/gmt-8.", examples: [ "Date.etc_gmt_minus_8?", "Date.new(\"2024-03-05\").etc_gmt_minus_8?", "Time.zone = \"Etc/UTC\" Date.etc_gmt_minus_8?" ] }, "etc_gmt_minus_9?" => { name: "etc_gmt_minus_9?", description: "returns whether the current time zone is etc/gmt-9.", examples: [ "Date.etc_gmt_minus_9?", "Date.new(\"2024-03-05\").etc_gmt_minus_9?", "Time.zone = \"Etc/UTC\" Date.etc_gmt_minus_9?" ] }, "etc_gmt0?" => { name: "etc_gmt0?", description: "returns whether the current time zone is etc/gmt0.", examples: [ "Date.etc_gmt0?", "Date.new(\"2024-03-05\").etc_gmt0?", "Time.zone = \"Etc/UTC\" Date.etc_gmt0?" ] }, "etc_greenwich?" => { name: "etc_greenwich?", description: "returns whether the current time zone is etc/greenwich.", examples: [ "Date.etc_greenwich?", "Date.new(\"2024-03-05\").etc_greenwich?", "Time.zone = \"Etc/UTC\" Date.etc_greenwich?" ] }, "etc_uct?" => { name: "etc_uct?", description: "returns whether the current time zone is etc/uct.", examples: [ "Date.etc_uct?", "Date.new(\"2024-03-05\").etc_uct?", "Time.zone = \"Etc/UTC\" Date.etc_uct?" ] }, "etc_utc?" => { name: "etc_utc?", description: "returns whether the current time zone is etc/utc.", examples: [ "Date.etc_utc?", "Date.new(\"2024-03-05\").etc_utc?", "Time.zone = \"Etc/UTC\" Date.etc_utc?" ] }, "etc_universal?" => { name: "etc_universal?", description: "returns whether the current time zone is etc/universal.", examples: [ "Date.etc_universal?", "Date.new(\"2024-03-05\").etc_universal?", "Time.zone = \"Etc/UTC\" Date.etc_universal?" ] }, "etc_zulu?" => { name: "etc_zulu?", description: "returns whether the current time zone is etc/zulu.", examples: [ "Date.etc_zulu?", "Date.new(\"2024-03-05\").etc_zulu?", "Time.zone = \"Etc/UTC\" Date.etc_zulu?" ] }, "europe_amsterdam?" => { name: "europe_amsterdam?", description: "returns whether the current time zone is europe/amsterdam.", examples: [ "Date.europe_amsterdam?", "Date.new(\"2024-03-05\").europe_amsterdam?", "Time.zone = \"Etc/UTC\" Date.europe_amsterdam?" ] }, "europe_andorra?" => { name: "europe_andorra?", description: "returns whether the current time zone is europe/andorra.", examples: [ "Date.europe_andorra?", "Date.new(\"2024-03-05\").europe_andorra?", "Time.zone = \"Etc/UTC\" Date.europe_andorra?" ] }, "europe_astrakhan?" => { name: "europe_astrakhan?", description: "returns whether the current time zone is europe/astrakhan.", examples: [ "Date.europe_astrakhan?", "Date.new(\"2024-03-05\").europe_astrakhan?", "Time.zone = \"Etc/UTC\" Date.europe_astrakhan?" ] }, "europe_athens?" => { name: "europe_athens?", description: "returns whether the current time zone is europe/athens.", examples: [ "Date.europe_athens?", "Date.new(\"2024-03-05\").europe_athens?", "Time.zone = \"Etc/UTC\" Date.europe_athens?" ] }, "europe_belfast?" => { name: "europe_belfast?", description: "returns whether the current time zone is europe/belfast.", examples: [ "Date.europe_belfast?", "Date.new(\"2024-03-05\").europe_belfast?", "Time.zone = \"Etc/UTC\" Date.europe_belfast?" ] }, "europe_belgrade?" => { name: "europe_belgrade?", description: "returns whether the current time zone is europe/belgrade.", examples: [ "Date.europe_belgrade?", "Date.new(\"2024-03-05\").europe_belgrade?", "Time.zone = \"Etc/UTC\" Date.europe_belgrade?" ] }, "europe_berlin?" => { name: "europe_berlin?", description: "returns whether the current time zone is europe/berlin.", examples: [ "Date.europe_berlin?", "Date.new(\"2024-03-05\").europe_berlin?", "Time.zone = \"Etc/UTC\" Date.europe_berlin?" ] }, "europe_bratislava?" => { name: "europe_bratislava?", description: "returns whether the current time zone is europe/bratislava.", examples: [ "Date.europe_bratislava?", "Date.new(\"2024-03-05\").europe_bratislava?", "Time.zone = \"Etc/UTC\" Date.europe_bratislava?" ] }, "europe_brussels?" => { name: "europe_brussels?", description: "returns whether the current time zone is europe/brussels.", examples: [ "Date.europe_brussels?", "Date.new(\"2024-03-05\").europe_brussels?", "Time.zone = \"Etc/UTC\" Date.europe_brussels?" ] }, "europe_bucharest?" => { name: "europe_bucharest?", description: "returns whether the current time zone is europe/bucharest.", examples: [ "Date.europe_bucharest?", "Date.new(\"2024-03-05\").europe_bucharest?", "Time.zone = \"Etc/UTC\" Date.europe_bucharest?" ] }, "europe_budapest?" => { name: "europe_budapest?", description: "returns whether the current time zone is europe/budapest.", examples: [ "Date.europe_budapest?", "Date.new(\"2024-03-05\").europe_budapest?", "Time.zone = \"Etc/UTC\" Date.europe_budapest?" ] }, "europe_busingen?" => { name: "europe_busingen?", description: "returns whether the current time zone is europe/busingen.", examples: [ "Date.europe_busingen?", "Date.new(\"2024-03-05\").europe_busingen?", "Time.zone = \"Etc/UTC\" Date.europe_busingen?" ] }, "europe_chisinau?" => { name: "europe_chisinau?", description: "returns whether the current time zone is europe/chisinau.", examples: [ "Date.europe_chisinau?", "Date.new(\"2024-03-05\").europe_chisinau?", "Time.zone = \"Etc/UTC\" Date.europe_chisinau?" ] }, "europe_copenhagen?" => { name: "europe_copenhagen?", description: "returns whether the current time zone is europe/copenhagen.", examples: [ "Date.europe_copenhagen?", "Date.new(\"2024-03-05\").europe_copenhagen?", "Time.zone = \"Etc/UTC\" Date.europe_copenhagen?" ] }, "europe_dublin?" => { name: "europe_dublin?", description: "returns whether the current time zone is europe/dublin.", examples: [ "Date.europe_dublin?", "Date.new(\"2024-03-05\").europe_dublin?", "Time.zone = \"Etc/UTC\" Date.europe_dublin?" ] }, "europe_gibraltar?" => { name: "europe_gibraltar?", description: "returns whether the current time zone is europe/gibraltar.", examples: [ "Date.europe_gibraltar?", "Date.new(\"2024-03-05\").europe_gibraltar?", "Time.zone = \"Etc/UTC\" Date.europe_gibraltar?" ] }, "europe_guernsey?" => { name: "europe_guernsey?", description: "returns whether the current time zone is europe/guernsey.", examples: [ "Date.europe_guernsey?", "Date.new(\"2024-03-05\").europe_guernsey?", "Time.zone = \"Etc/UTC\" Date.europe_guernsey?" ] }, "europe_helsinki?" => { name: "europe_helsinki?", description: "returns whether the current time zone is europe/helsinki.", examples: [ "Date.europe_helsinki?", "Date.new(\"2024-03-05\").europe_helsinki?", "Time.zone = \"Etc/UTC\" Date.europe_helsinki?" ] }, "europe_isle_of_man?" => { name: "europe_isle_of_man?", description: "returns whether the current time zone is europe/isle_of_man.", examples: [ "Date.europe_isle_of_man?", "Date.new(\"2024-03-05\").europe_isle_of_man?", "Time.zone = \"Etc/UTC\" Date.europe_isle_of_man?" ] }, "europe_istanbul?" => { name: "europe_istanbul?", description: "returns whether the current time zone is europe/istanbul.", examples: [ "Date.europe_istanbul?", "Date.new(\"2024-03-05\").europe_istanbul?", "Time.zone = \"Etc/UTC\" Date.europe_istanbul?" ] }, "europe_jersey?" => { name: "europe_jersey?", description: "returns whether the current time zone is europe/jersey.", examples: [ "Date.europe_jersey?", "Date.new(\"2024-03-05\").europe_jersey?", "Time.zone = \"Etc/UTC\" Date.europe_jersey?" ] }, "europe_kaliningrad?" => { name: "europe_kaliningrad?", description: "returns whether the current time zone is europe/kaliningrad.", examples: [ "Date.europe_kaliningrad?", "Date.new(\"2024-03-05\").europe_kaliningrad?", "Time.zone = \"Etc/UTC\" Date.europe_kaliningrad?" ] }, "europe_kiev?" => { name: "europe_kiev?", description: "returns whether the current time zone is europe/kiev.", examples: [ "Date.europe_kiev?", "Date.new(\"2024-03-05\").europe_kiev?", "Time.zone = \"Etc/UTC\" Date.europe_kiev?" ] }, "europe_kirov?" => { name: "europe_kirov?", description: "returns whether the current time zone is europe/kirov.", examples: [ "Date.europe_kirov?", "Date.new(\"2024-03-05\").europe_kirov?", "Time.zone = \"Etc/UTC\" Date.europe_kirov?" ] }, "europe_kyiv?" => { name: "europe_kyiv?", description: "returns whether the current time zone is europe/kyiv.", examples: [ "Date.europe_kyiv?", "Date.new(\"2024-03-05\").europe_kyiv?", "Time.zone = \"Etc/UTC\" Date.europe_kyiv?" ] }, "europe_lisbon?" => { name: "europe_lisbon?", description: "returns whether the current time zone is europe/lisbon.", examples: [ "Date.europe_lisbon?", "Date.new(\"2024-03-05\").europe_lisbon?", "Time.zone = \"Etc/UTC\" Date.europe_lisbon?" ] }, "europe_ljubljana?" => { name: "europe_ljubljana?", description: "returns whether the current time zone is europe/ljubljana.", examples: [ "Date.europe_ljubljana?", "Date.new(\"2024-03-05\").europe_ljubljana?", "Time.zone = \"Etc/UTC\" Date.europe_ljubljana?" ] }, "europe_london?" => { name: "europe_london?", description: "returns whether the current time zone is europe/london.", examples: [ "Date.europe_london?", "Date.new(\"2024-03-05\").europe_london?", "Time.zone = \"Etc/UTC\" Date.europe_london?" ] }, "europe_luxembourg?" => { name: "europe_luxembourg?", description: "returns whether the current time zone is europe/luxembourg.", examples: [ "Date.europe_luxembourg?", "Date.new(\"2024-03-05\").europe_luxembourg?", "Time.zone = \"Etc/UTC\" Date.europe_luxembourg?" ] }, "europe_madrid?" => { name: "europe_madrid?", description: "returns whether the current time zone is europe/madrid.", examples: [ "Date.europe_madrid?", "Date.new(\"2024-03-05\").europe_madrid?", "Time.zone = \"Etc/UTC\" Date.europe_madrid?" ] }, "europe_malta?" => { name: "europe_malta?", description: "returns whether the current time zone is europe/malta.", examples: [ "Date.europe_malta?", "Date.new(\"2024-03-05\").europe_malta?", "Time.zone = \"Etc/UTC\" Date.europe_malta?" ] }, "europe_mariehamn?" => { name: "europe_mariehamn?", description: "returns whether the current time zone is europe/mariehamn.", examples: [ "Date.europe_mariehamn?", "Date.new(\"2024-03-05\").europe_mariehamn?", "Time.zone = \"Etc/UTC\" Date.europe_mariehamn?" ] }, "europe_minsk?" => { name: "europe_minsk?", description: "returns whether the current time zone is europe/minsk.", examples: [ "Date.europe_minsk?", "Date.new(\"2024-03-05\").europe_minsk?", "Time.zone = \"Etc/UTC\" Date.europe_minsk?" ] }, "europe_monaco?" => { name: "europe_monaco?", description: "returns whether the current time zone is europe/monaco.", examples: [ "Date.europe_monaco?", "Date.new(\"2024-03-05\").europe_monaco?", "Time.zone = \"Etc/UTC\" Date.europe_monaco?" ] }, "europe_moscow?" => { name: "europe_moscow?", description: "returns whether the current time zone is europe/moscow.", examples: [ "Date.europe_moscow?", "Date.new(\"2024-03-05\").europe_moscow?", "Time.zone = \"Etc/UTC\" Date.europe_moscow?" ] }, "europe_nicosia?" => { name: "europe_nicosia?", description: "returns whether the current time zone is europe/nicosia.", examples: [ "Date.europe_nicosia?", "Date.new(\"2024-03-05\").europe_nicosia?", "Time.zone = \"Etc/UTC\" Date.europe_nicosia?" ] }, "europe_oslo?" => { name: "europe_oslo?", description: "returns whether the current time zone is europe/oslo.", examples: [ "Date.europe_oslo?", "Date.new(\"2024-03-05\").europe_oslo?", "Time.zone = \"Etc/UTC\" Date.europe_oslo?" ] }, "europe_paris?" => { name: "europe_paris?", description: "returns whether the current time zone is europe/paris.", examples: [ "Date.europe_paris?", "Date.new(\"2024-03-05\").europe_paris?", "Time.zone = \"Etc/UTC\" Date.europe_paris?" ] }, "europe_podgorica?" => { name: "europe_podgorica?", description: "returns whether the current time zone is europe/podgorica.", examples: [ "Date.europe_podgorica?", "Date.new(\"2024-03-05\").europe_podgorica?", "Time.zone = \"Etc/UTC\" Date.europe_podgorica?" ] }, "europe_prague?" => { name: "europe_prague?", description: "returns whether the current time zone is europe/prague.", examples: [ "Date.europe_prague?", "Date.new(\"2024-03-05\").europe_prague?", "Time.zone = \"Etc/UTC\" Date.europe_prague?" ] }, "europe_riga?" => { name: "europe_riga?", description: "returns whether the current time zone is europe/riga.", examples: [ "Date.europe_riga?", "Date.new(\"2024-03-05\").europe_riga?", "Time.zone = \"Etc/UTC\" Date.europe_riga?" ] }, "europe_rome?" => { name: "europe_rome?", description: "returns whether the current time zone is europe/rome.", examples: [ "Date.europe_rome?", "Date.new(\"2024-03-05\").europe_rome?", "Time.zone = \"Etc/UTC\" Date.europe_rome?" ] }, "europe_samara?" => { name: "europe_samara?", description: "returns whether the current time zone is europe/samara.", examples: [ "Date.europe_samara?", "Date.new(\"2024-03-05\").europe_samara?", "Time.zone = \"Etc/UTC\" Date.europe_samara?" ] }, "europe_san_marino?" => { name: "europe_san_marino?", description: "returns whether the current time zone is europe/san_marino.", examples: [ "Date.europe_san_marino?", "Date.new(\"2024-03-05\").europe_san_marino?", "Time.zone = \"Etc/UTC\" Date.europe_san_marino?" ] }, "europe_sarajevo?" => { name: "europe_sarajevo?", description: "returns whether the current time zone is europe/sarajevo.", examples: [ "Date.europe_sarajevo?", "Date.new(\"2024-03-05\").europe_sarajevo?", "Time.zone = \"Etc/UTC\" Date.europe_sarajevo?" ] }, "europe_saratov?" => { name: "europe_saratov?", description: "returns whether the current time zone is europe/saratov.", examples: [ "Date.europe_saratov?", "Date.new(\"2024-03-05\").europe_saratov?", "Time.zone = \"Etc/UTC\" Date.europe_saratov?" ] }, "europe_simferopol?" => { name: "europe_simferopol?", description: "returns whether the current time zone is europe/simferopol.", examples: [ "Date.europe_simferopol?", "Date.new(\"2024-03-05\").europe_simferopol?", "Time.zone = \"Etc/UTC\" Date.europe_simferopol?" ] }, "europe_skopje?" => { name: "europe_skopje?", description: "returns whether the current time zone is europe/skopje.", examples: [ "Date.europe_skopje?", "Date.new(\"2024-03-05\").europe_skopje?", "Time.zone = \"Etc/UTC\" Date.europe_skopje?" ] }, "europe_sofia?" => { name: "europe_sofia?", description: "returns whether the current time zone is europe/sofia.", examples: [ "Date.europe_sofia?", "Date.new(\"2024-03-05\").europe_sofia?", "Time.zone = \"Etc/UTC\" Date.europe_sofia?" ] }, "europe_stockholm?" => { name: "europe_stockholm?", description: "returns whether the current time zone is europe/stockholm.", examples: [ "Date.europe_stockholm?", "Date.new(\"2024-03-05\").europe_stockholm?", "Time.zone = \"Etc/UTC\" Date.europe_stockholm?" ] }, "europe_tallinn?" => { name: "europe_tallinn?", description: "returns whether the current time zone is europe/tallinn.", examples: [ "Date.europe_tallinn?", "Date.new(\"2024-03-05\").europe_tallinn?", "Time.zone = \"Etc/UTC\" Date.europe_tallinn?" ] }, "europe_tirane?" => { name: "europe_tirane?", description: "returns whether the current time zone is europe/tirane.", examples: [ "Date.europe_tirane?", "Date.new(\"2024-03-05\").europe_tirane?", "Time.zone = \"Etc/UTC\" Date.europe_tirane?" ] }, "europe_tiraspol?" => { name: "europe_tiraspol?", description: "returns whether the current time zone is europe/tiraspol.", examples: [ "Date.europe_tiraspol?", "Date.new(\"2024-03-05\").europe_tiraspol?", "Time.zone = \"Etc/UTC\" Date.europe_tiraspol?" ] }, "europe_ulyanovsk?" => { name: "europe_ulyanovsk?", description: "returns whether the current time zone is europe/ulyanovsk.", examples: [ "Date.europe_ulyanovsk?", "Date.new(\"2024-03-05\").europe_ulyanovsk?", "Time.zone = \"Etc/UTC\" Date.europe_ulyanovsk?" ] }, "europe_uzhgorod?" => { name: "europe_uzhgorod?", description: "returns whether the current time zone is europe/uzhgorod.", examples: [ "Date.europe_uzhgorod?", "Date.new(\"2024-03-05\").europe_uzhgorod?", "Time.zone = \"Etc/UTC\" Date.europe_uzhgorod?" ] }, "europe_vaduz?" => { name: "europe_vaduz?", description: "returns whether the current time zone is europe/vaduz.", examples: [ "Date.europe_vaduz?", "Date.new(\"2024-03-05\").europe_vaduz?", "Time.zone = \"Etc/UTC\" Date.europe_vaduz?" ] }, "europe_vatican?" => { name: "europe_vatican?", description: "returns whether the current time zone is europe/vatican.", examples: [ "Date.europe_vatican?", "Date.new(\"2024-03-05\").europe_vatican?", "Time.zone = \"Etc/UTC\" Date.europe_vatican?" ] }, "europe_vienna?" => { name: "europe_vienna?", description: "returns whether the current time zone is europe/vienna.", examples: [ "Date.europe_vienna?", "Date.new(\"2024-03-05\").europe_vienna?", "Time.zone = \"Etc/UTC\" Date.europe_vienna?" ] }, "europe_vilnius?" => { name: "europe_vilnius?", description: "returns whether the current time zone is europe/vilnius.", examples: [ "Date.europe_vilnius?", "Date.new(\"2024-03-05\").europe_vilnius?", "Time.zone = \"Etc/UTC\" Date.europe_vilnius?" ] }, "europe_volgograd?" => { name: "europe_volgograd?", description: "returns whether the current time zone is europe/volgograd.", examples: [ "Date.europe_volgograd?", "Date.new(\"2024-03-05\").europe_volgograd?", "Time.zone = \"Etc/UTC\" Date.europe_volgograd?" ] }, "europe_warsaw?" => { name: "europe_warsaw?", description: "returns whether the current time zone is europe/warsaw.", examples: [ "Date.europe_warsaw?", "Date.new(\"2024-03-05\").europe_warsaw?", "Time.zone = \"Etc/UTC\" Date.europe_warsaw?" ] }, "europe_zagreb?" => { name: "europe_zagreb?", description: "returns whether the current time zone is europe/zagreb.", examples: [ "Date.europe_zagreb?", "Date.new(\"2024-03-05\").europe_zagreb?", "Time.zone = \"Etc/UTC\" Date.europe_zagreb?" ] }, "europe_zaporozhye?" => { name: "europe_zaporozhye?", description: "returns whether the current time zone is europe/zaporozhye.", examples: [ "Date.europe_zaporozhye?", "Date.new(\"2024-03-05\").europe_zaporozhye?", "Time.zone = \"Etc/UTC\" Date.europe_zaporozhye?" ] }, "europe_zurich?" => { name: "europe_zurich?", description: "returns whether the current time zone is europe/zurich.", examples: [ "Date.europe_zurich?", "Date.new(\"2024-03-05\").europe_zurich?", "Time.zone = \"Etc/UTC\" Date.europe_zurich?" ] }, "factory?" => { name: "factory?", description: "returns whether the current time zone is factory.", examples: [ "Date.factory?", "Date.new(\"2024-03-05\").factory?", "Time.zone = \"Etc/UTC\" Date.factory?" ] }, "gb?" => { name: "gb?", description: "returns whether the current time zone is gb.", examples: [ "Date.gb?", "Date.new(\"2024-03-05\").gb?", "Time.zone = \"Etc/UTC\" Date.gb?" ] }, "gb_minus_eire?" => { name: "gb_minus_eire?", description: "returns whether the current time zone is gb-eire.", examples: [ "Date.gb_minus_eire?", "Date.new(\"2024-03-05\").gb_minus_eire?", "Time.zone = \"Etc/UTC\" Date.gb_minus_eire?" ] }, "gmt?" => { name: "gmt?", description: "returns whether the current time zone is gmt.", examples: [ "Date.gmt?", "Date.new(\"2024-03-05\").gmt?", "Time.zone = \"Etc/UTC\" Date.gmt?" ] }, "gmt_plus_0?" => { name: "gmt_plus_0?", description: "returns whether the current time zone is gmt+0.", examples: [ "Date.gmt_plus_0?", "Date.new(\"2024-03-05\").gmt_plus_0?", "Time.zone = \"Etc/UTC\" Date.gmt_plus_0?" ] }, "gmt_minus_0?" => { name: "gmt_minus_0?", description: "returns whether the current time zone is gmt-0.", examples: [ "Date.gmt_minus_0?", "Date.new(\"2024-03-05\").gmt_minus_0?", "Time.zone = \"Etc/UTC\" Date.gmt_minus_0?" ] }, "gmt0?" => { name: "gmt0?", description: "returns whether the current time zone is gmt0.", examples: [ "Date.gmt0?", "Date.new(\"2024-03-05\").gmt0?", "Time.zone = \"Etc/UTC\" Date.gmt0?" ] }, "greenwich?" => { name: "greenwich?", description: "returns whether the current time zone is greenwich.", examples: [ "Date.greenwich?", "Date.new(\"2024-03-05\").greenwich?", "Time.zone = \"Etc/UTC\" Date.greenwich?" ] }, "hst?" => { name: "hst?", description: "returns whether the current time zone is hst.", examples: [ "Date.hst?", "Date.new(\"2024-03-05\").hst?", "Time.zone = \"Etc/UTC\" Date.hst?" ] }, "hongkong?" => { name: "hongkong?", description: "returns whether the current time zone is hongkong.", examples: [ "Date.hongkong?", "Date.new(\"2024-03-05\").hongkong?", "Time.zone = \"Etc/UTC\" Date.hongkong?" ] }, "iceland?" => { name: "iceland?", description: "returns whether the current time zone is iceland.", examples: [ "Date.iceland?", "Date.new(\"2024-03-05\").iceland?", "Time.zone = \"Etc/UTC\" Date.iceland?" ] }, "indian_antananarivo?" => { name: "indian_antananarivo?", description: "returns whether the current time zone is indian/antananarivo.", examples: [ "Date.indian_antananarivo?", "Date.new(\"2024-03-05\").indian_antananarivo?", "Time.zone = \"Etc/UTC\" Date.indian_antananarivo?" ] }, "indian_chagos?" => { name: "indian_chagos?", description: "returns whether the current time zone is indian/chagos.", examples: [ "Date.indian_chagos?", "Date.new(\"2024-03-05\").indian_chagos?", "Time.zone = \"Etc/UTC\" Date.indian_chagos?" ] }, "indian_christmas?" => { name: "indian_christmas?", description: "returns whether the current time zone is indian/christmas.", examples: [ "Date.indian_christmas?", "Date.new(\"2024-03-05\").indian_christmas?", "Time.zone = \"Etc/UTC\" Date.indian_christmas?" ] }, "indian_cocos?" => { name: "indian_cocos?", description: "returns whether the current time zone is indian/cocos.", examples: [ "Date.indian_cocos?", "Date.new(\"2024-03-05\").indian_cocos?", "Time.zone = \"Etc/UTC\" Date.indian_cocos?" ] }, "indian_comoro?" => { name: "indian_comoro?", description: "returns whether the current time zone is indian/comoro.", examples: [ "Date.indian_comoro?", "Date.new(\"2024-03-05\").indian_comoro?", "Time.zone = \"Etc/UTC\" Date.indian_comoro?" ] }, "indian_kerguelen?" => { name: "indian_kerguelen?", description: "returns whether the current time zone is indian/kerguelen.", examples: [ "Date.indian_kerguelen?", "Date.new(\"2024-03-05\").indian_kerguelen?", "Time.zone = \"Etc/UTC\" Date.indian_kerguelen?" ] }, "indian_mahe?" => { name: "indian_mahe?", description: "returns whether the current time zone is indian/mahe.", examples: [ "Date.indian_mahe?", "Date.new(\"2024-03-05\").indian_mahe?", "Time.zone = \"Etc/UTC\" Date.indian_mahe?" ] }, "indian_maldives?" => { name: "indian_maldives?", description: "returns whether the current time zone is indian/maldives.", examples: [ "Date.indian_maldives?", "Date.new(\"2024-03-05\").indian_maldives?", "Time.zone = \"Etc/UTC\" Date.indian_maldives?" ] }, "indian_mauritius?" => { name: "indian_mauritius?", description: "returns whether the current time zone is indian/mauritius.", examples: [ "Date.indian_mauritius?", "Date.new(\"2024-03-05\").indian_mauritius?", "Time.zone = \"Etc/UTC\" Date.indian_mauritius?" ] }, "indian_mayotte?" => { name: "indian_mayotte?", description: "returns whether the current time zone is indian/mayotte.", examples: [ "Date.indian_mayotte?", "Date.new(\"2024-03-05\").indian_mayotte?", "Time.zone = \"Etc/UTC\" Date.indian_mayotte?" ] }, "indian_reunion?" => { name: "indian_reunion?", description: "returns whether the current time zone is indian/reunion.", examples: [ "Date.indian_reunion?", "Date.new(\"2024-03-05\").indian_reunion?", "Time.zone = \"Etc/UTC\" Date.indian_reunion?" ] }, "iran?" => { name: "iran?", description: "returns whether the current time zone is iran.", examples: [ "Date.iran?", "Date.new(\"2024-03-05\").iran?", "Time.zone = \"Etc/UTC\" Date.iran?" ] }, "israel?" => { name: "israel?", description: "returns whether the current time zone is israel.", examples: [ "Date.israel?", "Date.new(\"2024-03-05\").israel?", "Time.zone = \"Etc/UTC\" Date.israel?" ] }, "jamaica?" => { name: "jamaica?", description: "returns whether the current time zone is jamaica.", examples: [ "Date.jamaica?", "Date.new(\"2024-03-05\").jamaica?", "Time.zone = \"Etc/UTC\" Date.jamaica?" ] }, "japan?" => { name: "japan?", description: "returns whether the current time zone is japan.", examples: [ "Date.japan?", "Date.new(\"2024-03-05\").japan?", "Time.zone = \"Etc/UTC\" Date.japan?" ] }, "kwajalein?" => { name: "kwajalein?", description: "returns whether the current time zone is kwajalein.", examples: [ "Date.kwajalein?", "Date.new(\"2024-03-05\").kwajalein?", "Time.zone = \"Etc/UTC\" Date.kwajalein?" ] }, "libya?" => { name: "libya?", description: "returns whether the current time zone is libya.", examples: [ "Date.libya?", "Date.new(\"2024-03-05\").libya?", "Time.zone = \"Etc/UTC\" Date.libya?" ] }, "met?" => { name: "met?", description: "returns whether the current time zone is met.", examples: [ "Date.met?", "Date.new(\"2024-03-05\").met?", "Time.zone = \"Etc/UTC\" Date.met?" ] }, "mst?" => { name: "mst?", description: "returns whether the current time zone is mst.", examples: [ "Date.mst?", "Date.new(\"2024-03-05\").mst?", "Time.zone = \"Etc/UTC\" Date.mst?" ] }, "mst7mdt?" => { name: "mst7mdt?", description: "returns whether the current time zone is mst7mdt.", examples: [ "Date.mst7mdt?", "Date.new(\"2024-03-05\").mst7mdt?", "Time.zone = \"Etc/UTC\" Date.mst7mdt?" ] }, "mexico_bajanorte?" => { name: "mexico_bajanorte?", description: "returns whether the current time zone is mexico/bajanorte.", examples: [ "Date.mexico_bajanorte?", "Date.new(\"2024-03-05\").mexico_bajanorte?", "Time.zone = \"Etc/UTC\" Date.mexico_bajanorte?" ] }, "mexico_bajasur?" => { name: "mexico_bajasur?", description: "returns whether the current time zone is mexico/bajasur.", examples: [ "Date.mexico_bajasur?", "Date.new(\"2024-03-05\").mexico_bajasur?", "Time.zone = \"Etc/UTC\" Date.mexico_bajasur?" ] }, "mexico_general?" => { name: "mexico_general?", description: "returns whether the current time zone is mexico/general.", examples: [ "Date.mexico_general?", "Date.new(\"2024-03-05\").mexico_general?", "Time.zone = \"Etc/UTC\" Date.mexico_general?" ] }, "nz?" => { name: "nz?", description: "returns whether the current time zone is nz.", examples: [ "Date.nz?", "Date.new(\"2024-03-05\").nz?", "Time.zone = \"Etc/UTC\" Date.nz?" ] }, "nz_minus_chat?" => { name: "nz_minus_chat?", description: "returns whether the current time zone is nz-chat.", examples: [ "Date.nz_minus_chat?", "Date.new(\"2024-03-05\").nz_minus_chat?", "Time.zone = \"Etc/UTC\" Date.nz_minus_chat?" ] }, "navajo?" => { name: "navajo?", description: "returns whether the current time zone is navajo.", examples: [ "Date.navajo?", "Date.new(\"2024-03-05\").navajo?", "Time.zone = \"Etc/UTC\" Date.navajo?" ] }, "prc?" => { name: "prc?", description: "returns whether the current time zone is prc.", examples: [ "Date.prc?", "Date.new(\"2024-03-05\").prc?", "Time.zone = \"Etc/UTC\" Date.prc?" ] }, "pst8pdt?" => { name: "pst8pdt?", description: "returns whether the current time zone is pst8pdt.", examples: [ "Date.pst8pdt?", "Date.new(\"2024-03-05\").pst8pdt?", "Time.zone = \"Etc/UTC\" Date.pst8pdt?" ] }, "pacific_apia?" => { name: "pacific_apia?", description: "returns whether the current time zone is pacific/apia.", examples: [ "Date.pacific_apia?", "Date.new(\"2024-03-05\").pacific_apia?", "Time.zone = \"Etc/UTC\" Date.pacific_apia?" ] }, "pacific_auckland?" => { name: "pacific_auckland?", description: "returns whether the current time zone is pacific/auckland.", examples: [ "Date.pacific_auckland?", "Date.new(\"2024-03-05\").pacific_auckland?", "Time.zone = \"Etc/UTC\" Date.pacific_auckland?" ] }, "pacific_bougainville?" => { name: "pacific_bougainville?", description: "returns whether the current time zone is pacific/bougainville.", examples: [ "Date.pacific_bougainville?", "Date.new(\"2024-03-05\").pacific_bougainville?", "Time.zone = \"Etc/UTC\" Date.pacific_bougainville?" ] }, "pacific_chatham?" => { name: "pacific_chatham?", description: "returns whether the current time zone is pacific/chatham.", examples: [ "Date.pacific_chatham?", "Date.new(\"2024-03-05\").pacific_chatham?", "Time.zone = \"Etc/UTC\" Date.pacific_chatham?" ] }, "pacific_chuuk?" => { name: "pacific_chuuk?", description: "returns whether the current time zone is pacific/chuuk.", examples: [ "Date.pacific_chuuk?", "Date.new(\"2024-03-05\").pacific_chuuk?", "Time.zone = \"Etc/UTC\" Date.pacific_chuuk?" ] }, "pacific_easter?" => { name: "pacific_easter?", description: "returns whether the current time zone is pacific/easter.", examples: [ "Date.pacific_easter?", "Date.new(\"2024-03-05\").pacific_easter?", "Time.zone = \"Etc/UTC\" Date.pacific_easter?" ] }, "pacific_efate?" => { name: "pacific_efate?", description: "returns whether the current time zone is pacific/efate.", examples: [ "Date.pacific_efate?", "Date.new(\"2024-03-05\").pacific_efate?", "Time.zone = \"Etc/UTC\" Date.pacific_efate?" ] }, "pacific_enderbury?" => { name: "pacific_enderbury?", description: "returns whether the current time zone is pacific/enderbury.", examples: [ "Date.pacific_enderbury?", "Date.new(\"2024-03-05\").pacific_enderbury?", "Time.zone = \"Etc/UTC\" Date.pacific_enderbury?" ] }, "pacific_fakaofo?" => { name: "pacific_fakaofo?", description: "returns whether the current time zone is pacific/fakaofo.", examples: [ "Date.pacific_fakaofo?", "Date.new(\"2024-03-05\").pacific_fakaofo?", "Time.zone = \"Etc/UTC\" Date.pacific_fakaofo?" ] }, "pacific_fiji?" => { name: "pacific_fiji?", description: "returns whether the current time zone is pacific/fiji.", examples: [ "Date.pacific_fiji?", "Date.new(\"2024-03-05\").pacific_fiji?", "Time.zone = \"Etc/UTC\" Date.pacific_fiji?" ] }, "pacific_funafuti?" => { name: "pacific_funafuti?", description: "returns whether the current time zone is pacific/funafuti.", examples: [ "Date.pacific_funafuti?", "Date.new(\"2024-03-05\").pacific_funafuti?", "Time.zone = \"Etc/UTC\" Date.pacific_funafuti?" ] }, "pacific_galapagos?" => { name: "pacific_galapagos?", description: "returns whether the current time zone is pacific/galapagos.", examples: [ "Date.pacific_galapagos?", "Date.new(\"2024-03-05\").pacific_galapagos?", "Time.zone = \"Etc/UTC\" Date.pacific_galapagos?" ] }, "pacific_gambier?" => { name: "pacific_gambier?", description: "returns whether the current time zone is pacific/gambier.", examples: [ "Date.pacific_gambier?", "Date.new(\"2024-03-05\").pacific_gambier?", "Time.zone = \"Etc/UTC\" Date.pacific_gambier?" ] }, "pacific_guadalcanal?" => { name: "pacific_guadalcanal?", description: "returns whether the current time zone is pacific/guadalcanal.", examples: [ "Date.pacific_guadalcanal?", "Date.new(\"2024-03-05\").pacific_guadalcanal?", "Time.zone = \"Etc/UTC\" Date.pacific_guadalcanal?" ] }, "pacific_guam?" => { name: "pacific_guam?", description: "returns whether the current time zone is pacific/guam.", examples: [ "Date.pacific_guam?", "Date.new(\"2024-03-05\").pacific_guam?", "Time.zone = \"Etc/UTC\" Date.pacific_guam?" ] }, "pacific_honolulu?" => { name: "pacific_honolulu?", description: "returns whether the current time zone is pacific/honolulu.", examples: [ "Date.pacific_honolulu?", "Date.new(\"2024-03-05\").pacific_honolulu?", "Time.zone = \"Etc/UTC\" Date.pacific_honolulu?" ] }, "pacific_johnston?" => { name: "pacific_johnston?", description: "returns whether the current time zone is pacific/johnston.", examples: [ "Date.pacific_johnston?", "Date.new(\"2024-03-05\").pacific_johnston?", "Time.zone = \"Etc/UTC\" Date.pacific_johnston?" ] }, "pacific_kanton?" => { name: "pacific_kanton?", description: "returns whether the current time zone is pacific/kanton.", examples: [ "Date.pacific_kanton?", "Date.new(\"2024-03-05\").pacific_kanton?", "Time.zone = \"Etc/UTC\" Date.pacific_kanton?" ] }, "pacific_kiritimati?" => { name: "pacific_kiritimati?", description: "returns whether the current time zone is pacific/kiritimati.", examples: [ "Date.pacific_kiritimati?", "Date.new(\"2024-03-05\").pacific_kiritimati?", "Time.zone = \"Etc/UTC\" Date.pacific_kiritimati?" ] }, "pacific_kosrae?" => { name: "pacific_kosrae?", description: "returns whether the current time zone is pacific/kosrae.", examples: [ "Date.pacific_kosrae?", "Date.new(\"2024-03-05\").pacific_kosrae?", "Time.zone = \"Etc/UTC\" Date.pacific_kosrae?" ] }, "pacific_kwajalein?" => { name: "pacific_kwajalein?", description: "returns whether the current time zone is pacific/kwajalein.", examples: [ "Date.pacific_kwajalein?", "Date.new(\"2024-03-05\").pacific_kwajalein?", "Time.zone = \"Etc/UTC\" Date.pacific_kwajalein?" ] }, "pacific_majuro?" => { name: "pacific_majuro?", description: "returns whether the current time zone is pacific/majuro.", examples: [ "Date.pacific_majuro?", "Date.new(\"2024-03-05\").pacific_majuro?", "Time.zone = \"Etc/UTC\" Date.pacific_majuro?" ] }, "pacific_marquesas?" => { name: "pacific_marquesas?", description: "returns whether the current time zone is pacific/marquesas.", examples: [ "Date.pacific_marquesas?", "Date.new(\"2024-03-05\").pacific_marquesas?", "Time.zone = \"Etc/UTC\" Date.pacific_marquesas?" ] }, "pacific_midway?" => { name: "pacific_midway?", description: "returns whether the current time zone is pacific/midway.", examples: [ "Date.pacific_midway?", "Date.new(\"2024-03-05\").pacific_midway?", "Time.zone = \"Etc/UTC\" Date.pacific_midway?" ] }, "pacific_nauru?" => { name: "pacific_nauru?", description: "returns whether the current time zone is pacific/nauru.", examples: [ "Date.pacific_nauru?", "Date.new(\"2024-03-05\").pacific_nauru?", "Time.zone = \"Etc/UTC\" Date.pacific_nauru?" ] }, "pacific_niue?" => { name: "pacific_niue?", description: "returns whether the current time zone is pacific/niue.", examples: [ "Date.pacific_niue?", "Date.new(\"2024-03-05\").pacific_niue?", "Time.zone = \"Etc/UTC\" Date.pacific_niue?" ] }, "pacific_norfolk?" => { name: "pacific_norfolk?", description: "returns whether the current time zone is pacific/norfolk.", examples: [ "Date.pacific_norfolk?", "Date.new(\"2024-03-05\").pacific_norfolk?", "Time.zone = \"Etc/UTC\" Date.pacific_norfolk?" ] }, "pacific_noumea?" => { name: "pacific_noumea?", description: "returns whether the current time zone is pacific/noumea.", examples: [ "Date.pacific_noumea?", "Date.new(\"2024-03-05\").pacific_noumea?", "Time.zone = \"Etc/UTC\" Date.pacific_noumea?" ] }, "pacific_pago_pago?" => { name: "pacific_pago_pago?", description: "returns whether the current time zone is pacific/pago_pago.", examples: [ "Date.pacific_pago_pago?", "Date.new(\"2024-03-05\").pacific_pago_pago?", "Time.zone = \"Etc/UTC\" Date.pacific_pago_pago?" ] }, "pacific_palau?" => { name: "pacific_palau?", description: "returns whether the current time zone is pacific/palau.", examples: [ "Date.pacific_palau?", "Date.new(\"2024-03-05\").pacific_palau?", "Time.zone = \"Etc/UTC\" Date.pacific_palau?" ] }, "pacific_pitcairn?" => { name: "pacific_pitcairn?", description: "returns whether the current time zone is pacific/pitcairn.", examples: [ "Date.pacific_pitcairn?", "Date.new(\"2024-03-05\").pacific_pitcairn?", "Time.zone = \"Etc/UTC\" Date.pacific_pitcairn?" ] }, "pacific_pohnpei?" => { name: "pacific_pohnpei?", description: "returns whether the current time zone is pacific/pohnpei.", examples: [ "Date.pacific_pohnpei?", "Date.new(\"2024-03-05\").pacific_pohnpei?", "Time.zone = \"Etc/UTC\" Date.pacific_pohnpei?" ] }, "pacific_ponape?" => { name: "pacific_ponape?", description: "returns whether the current time zone is pacific/ponape.", examples: [ "Date.pacific_ponape?", "Date.new(\"2024-03-05\").pacific_ponape?", "Time.zone = \"Etc/UTC\" Date.pacific_ponape?" ] }, "pacific_port_moresby?" => { name: "pacific_port_moresby?", description: "returns whether the current time zone is pacific/port_moresby.", examples: [ "Date.pacific_port_moresby?", "Date.new(\"2024-03-05\").pacific_port_moresby?", "Time.zone = \"Etc/UTC\" Date.pacific_port_moresby?" ] }, "pacific_rarotonga?" => { name: "pacific_rarotonga?", description: "returns whether the current time zone is pacific/rarotonga.", examples: [ "Date.pacific_rarotonga?", "Date.new(\"2024-03-05\").pacific_rarotonga?", "Time.zone = \"Etc/UTC\" Date.pacific_rarotonga?" ] }, "pacific_saipan?" => { name: "pacific_saipan?", description: "returns whether the current time zone is pacific/saipan.", examples: [ "Date.pacific_saipan?", "Date.new(\"2024-03-05\").pacific_saipan?", "Time.zone = \"Etc/UTC\" Date.pacific_saipan?" ] }, "pacific_samoa?" => { name: "pacific_samoa?", description: "returns whether the current time zone is pacific/samoa.", examples: [ "Date.pacific_samoa?", "Date.new(\"2024-03-05\").pacific_samoa?", "Time.zone = \"Etc/UTC\" Date.pacific_samoa?" ] }, "pacific_tahiti?" => { name: "pacific_tahiti?", description: "returns whether the current time zone is pacific/tahiti.", examples: [ "Date.pacific_tahiti?", "Date.new(\"2024-03-05\").pacific_tahiti?", "Time.zone = \"Etc/UTC\" Date.pacific_tahiti?" ] }, "pacific_tarawa?" => { name: "pacific_tarawa?", description: "returns whether the current time zone is pacific/tarawa.", examples: [ "Date.pacific_tarawa?", "Date.new(\"2024-03-05\").pacific_tarawa?", "Time.zone = \"Etc/UTC\" Date.pacific_tarawa?" ] }, "pacific_tongatapu?" => { name: "pacific_tongatapu?", description: "returns whether the current time zone is pacific/tongatapu.", examples: [ "Date.pacific_tongatapu?", "Date.new(\"2024-03-05\").pacific_tongatapu?", "Time.zone = \"Etc/UTC\" Date.pacific_tongatapu?" ] }, "pacific_truk?" => { name: "pacific_truk?", description: "returns whether the current time zone is pacific/truk.", examples: [ "Date.pacific_truk?", "Date.new(\"2024-03-05\").pacific_truk?", "Time.zone = \"Etc/UTC\" Date.pacific_truk?" ] }, "pacific_wake?" => { name: "pacific_wake?", description: "returns whether the current time zone is pacific/wake.", examples: [ "Date.pacific_wake?", "Date.new(\"2024-03-05\").pacific_wake?", "Time.zone = \"Etc/UTC\" Date.pacific_wake?" ] }, "pacific_wallis?" => { name: "pacific_wallis?", description: "returns whether the current time zone is pacific/wallis.", examples: [ "Date.pacific_wallis?", "Date.new(\"2024-03-05\").pacific_wallis?", "Time.zone = \"Etc/UTC\" Date.pacific_wallis?" ] }, "pacific_yap?" => { name: "pacific_yap?", description: "returns whether the current time zone is pacific/yap.", examples: [ "Date.pacific_yap?", "Date.new(\"2024-03-05\").pacific_yap?", "Time.zone = \"Etc/UTC\" Date.pacific_yap?" ] }, "poland?" => { name: "poland?", description: "returns whether the current time zone is poland.", examples: [ "Date.poland?", "Date.new(\"2024-03-05\").poland?", "Time.zone = \"Etc/UTC\" Date.poland?" ] }, "portugal?" => { name: "portugal?", description: "returns whether the current time zone is portugal.", examples: [ "Date.portugal?", "Date.new(\"2024-03-05\").portugal?", "Time.zone = \"Etc/UTC\" Date.portugal?" ] }, "roc?" => { name: "roc?", description: "returns whether the current time zone is roc.", examples: [ "Date.roc?", "Date.new(\"2024-03-05\").roc?", "Time.zone = \"Etc/UTC\" Date.roc?" ] }, "rok?" => { name: "rok?", description: "returns whether the current time zone is rok.", examples: [ "Date.rok?", "Date.new(\"2024-03-05\").rok?", "Time.zone = \"Etc/UTC\" Date.rok?" ] }, "singapore?" => { name: "singapore?", description: "returns whether the current time zone is singapore.", examples: [ "Date.singapore?", "Date.new(\"2024-03-05\").singapore?", "Time.zone = \"Etc/UTC\" Date.singapore?" ] }, "turkey?" => { name: "turkey?", description: "returns whether the current time zone is turkey.", examples: [ "Date.turkey?", "Date.new(\"2024-03-05\").turkey?", "Time.zone = \"Etc/UTC\" Date.turkey?" ] }, "uct?" => { name: "uct?", description: "returns whether the current time zone is uct.", examples: [ "Date.uct?", "Date.new(\"2024-03-05\").uct?", "Time.zone = \"Etc/UTC\" Date.uct?" ] }, "us_alaska?" => { name: "us_alaska?", description: "returns whether the current time zone is us/alaska.", examples: [ "Date.us_alaska?", "Date.new(\"2024-03-05\").us_alaska?", "Time.zone = \"Etc/UTC\" Date.us_alaska?" ] }, "us_aleutian?" => { name: "us_aleutian?", description: "returns whether the current time zone is us/aleutian.", examples: [ "Date.us_aleutian?", "Date.new(\"2024-03-05\").us_aleutian?", "Time.zone = \"Etc/UTC\" Date.us_aleutian?" ] }, "us_arizona?" => { name: "us_arizona?", description: "returns whether the current time zone is us/arizona.", examples: [ "Date.us_arizona?", "Date.new(\"2024-03-05\").us_arizona?", "Time.zone = \"Etc/UTC\" Date.us_arizona?" ] }, "us_central?" => { name: "us_central?", description: "returns whether the current time zone is us/central.", examples: [ "Date.us_central?", "Date.new(\"2024-03-05\").us_central?", "Time.zone = \"Etc/UTC\" Date.us_central?" ] }, "us_east_minus_indiana?" => { name: "us_east_minus_indiana?", description: "returns whether the current time zone is us/east-indiana.", examples: [ "Date.us_east_minus_indiana?", "Date.new(\"2024-03-05\").us_east_minus_indiana?", "Time.zone = \"Etc/UTC\" Date.us_east_minus_indiana?" ] }, "us_eastern?" => { name: "us_eastern?", description: "returns whether the current time zone is us/eastern.", examples: [ "Date.us_eastern?", "Date.new(\"2024-03-05\").us_eastern?", "Time.zone = \"Etc/UTC\" Date.us_eastern?" ] }, "us_hawaii?" => { name: "us_hawaii?", description: "returns whether the current time zone is us/hawaii.", examples: [ "Date.us_hawaii?", "Date.new(\"2024-03-05\").us_hawaii?", "Time.zone = \"Etc/UTC\" Date.us_hawaii?" ] }, "us_indiana_minus_starke?" => { name: "us_indiana_minus_starke?", description: "returns whether the current time zone is us/indiana-starke.", examples: [ "Date.us_indiana_minus_starke?", "Date.new(\"2024-03-05\").us_indiana_minus_starke?", "Time.zone = \"Etc/UTC\" Date.us_indiana_minus_starke?" ] }, "us_michigan?" => { name: "us_michigan?", description: "returns whether the current time zone is us/michigan.", examples: [ "Date.us_michigan?", "Date.new(\"2024-03-05\").us_michigan?", "Time.zone = \"Etc/UTC\" Date.us_michigan?" ] }, "us_mountain?" => { name: "us_mountain?", description: "returns whether the current time zone is us/mountain.", examples: [ "Date.us_mountain?", "Date.new(\"2024-03-05\").us_mountain?", "Time.zone = \"Etc/UTC\" Date.us_mountain?" ] }, "us_pacific?" => { name: "us_pacific?", description: "returns whether the current time zone is us/pacific.", examples: [ "Date.us_pacific?", "Date.new(\"2024-03-05\").us_pacific?", "Time.zone = \"Etc/UTC\" Date.us_pacific?" ] }, "us_samoa?" => { name: "us_samoa?", description: "returns whether the current time zone is us/samoa.", examples: [ "Date.us_samoa?", "Date.new(\"2024-03-05\").us_samoa?", "Time.zone = \"Etc/UTC\" Date.us_samoa?" ] }, "utc?" => { name: "utc?", description: "returns whether the current time zone is utc.", examples: [ "Date.utc?", "Date.new(\"2024-03-05\").utc?", "Time.zone = \"Etc/UTC\" Date.utc?" ] }, "universal?" => { name: "universal?", description: "returns whether the current time zone is universal.", examples: [ "Date.universal?", "Date.new(\"2024-03-05\").universal?", "Time.zone = \"Etc/UTC\" Date.universal?" ] }, "w_minus_su?" => { name: "w_minus_su?", description: "returns whether the current time zone is w-su.", examples: [ "Date.w_minus_su?", "Date.new(\"2024-03-05\").w_minus_su?", "Time.zone = \"Etc/UTC\" Date.w_minus_su?" ] }, "wet?" => { name: "wet?", description: "returns whether the current time zone is wet.", examples: [ "Date.wet?", "Date.new(\"2024-03-05\").wet?", "Time.zone = \"Etc/UTC\" Date.wet?" ] }, "zulu?" => { name: "zulu?", description: "returns whether the current time zone is zulu.", examples: [ "Date.zulu?", "Date.new(\"2024-03-05\").zulu?", "Time.zone = \"Etc/UTC\" Date.zulu?" ] }, "as_json" => { name: "as_json", description: "converts the date to a json-compatible value.", examples: [ "Date.new(\"2024-03-05\").as_json", "Date.today.as_json", "Date.tomorrow.as_json" ] }, "to_parameter" => { name: "to_parameter", description: "converts the date to a url parameter string.", examples: [ "Date.new(\"2024-03-05\").to_parameter", "Date.today.to_parameter", "Date.tomorrow.to_parameter" ] }, "to_json" => { name: "to_json", description: "serializes the date as json.", examples: [ "Date.new(\"2024-03-05\").to_json", "Date.today.to_json", "Date.tomorrow.to_json" ] }, "nanosecond" => { name: "nanosecond", description: "returns zero because dates have no nanosecond component.", examples: [ "Date.new(\"2024-03-05\").nanosecond", "Date.new.nanosecond", "Date.nanosecond" ] }, "nanoseconds" => { name: "nanoseconds", description: "returns zero because dates have no nanosecond component.", examples: [ "Date.new(\"2024-03-05\").nanoseconds", "Date.new.nanoseconds", "Date.nanoseconds" ] }, "millisecond" => { name: "millisecond", description: "returns zero because dates have no millisecond component.", examples: [ "Date.new(\"2024-03-05\").millisecond", "Date.new.millisecond", "Date.millisecond" ] }, "milliseconds" => { name: "milliseconds", description: "returns zero because dates have no millisecond component.", examples: [ "Date.new(\"2024-03-05\").milliseconds", "Date.new.milliseconds", "Date.milliseconds" ] }, "utc" => { name: "utc", description: "returns the date unchanged.", examples: ["Date.new(\"2024-03-05\").utc", "Date.new.utc", "Date.utc"] }, "local" => { name: "local", description: "returns the date unchanged.", examples: [ "Date.new(\"2024-03-05\").local", "Date.new.local", "Date.local" ] }, "beginning_of_day" => { name: "beginning_of_day", description: "returns the beginning of the date as a time.", examples: [ "Date.new(\"2024-03-05\").beginning_of_day", "Date.new(\"2000-01-01\").beginning_of_day", "Date.new.beginning_of_day" ] }, "end_of_day" => { name: "end_of_day", description: "returns the end of the date as a time.", examples: [ "Date.new(\"2024-03-05\").end_of_day", "Date.new(\"2000-01-01\").end_of_day", "Date.new.end_of_day" ] } }.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
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) ⇒ 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) ⇒ 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_format_locale_from_arguments(code_arguments) ⇒ 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) ⇒ 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
- #current_time_zone_names ⇒ Object
-
#initialize(*args, **_kargs, &_block) ⇒ Date
constructor
A new instance of Date.
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) ⇒ Date
Returns a new instance of Date.
7167 7168 7169 7170 7171 7172 7173 7174 7175 7176 7177 7178 7179 7180 7181 7182 7183 7184 7185 7186 7187 7188 7189 7190 7191 |
# File 'lib/code/object/date.rb', line 7167 def initialize(*args, **_kargs, &_block) ::Time.zone ||= DEFAULT_ZONE first = args.first self.raw = case first when String, ::String ::Date.parse(first.to_s) when Time first.raw.to_date when ::Time first.to_date 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().to_date when Date first.raw.dup when ::Date first.dup else ::Date.current end end |
Class Method Details
.call(**args) ⇒ Object
7193 7194 7195 7196 7197 7198 7199 7200 7201 7202 7203 7204 7205 7206 7207 7208 7209 7210 7211 7212 7213 7214 7215 7216 7217 7218 7219 7220 7221 7222 7223 7224 7225 7226 7227 7228 7229 7230 7231 7232 7233 7234 7235 7236 7237 7238 7239 7240 7241 7242 7243 7244 7245 7246 7247 7248 7249 7250 7251 7252 7253 7254 7255 7256 7257 7258 7259 7260 7261 7262 7263 7264 7265 7266 7267 7268 7269 7270 7271 7272 7273 7274 7275 7276 7277 7278 7279 7280 7281 7282 7283 7284 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 7312 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 |
# File 'lib/code/object/date.rb', line 7193 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) 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 "past?" sig(args) code_past? when "future?" sig(args) code_future? 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 "tomorrow" sig(args) code_tomorrow when "yesterday" sig(args) code_yesterday when "today" sig(args) code_today when "current" sig(args) code_current when "now" sig(args) code_now 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 "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 } 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) ) 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 } 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) ) 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 } 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) ) end else super end end |
.code_zone_assign(value) ⇒ Object
14228 14229 14230 14231 14232 14233 |
# File 'lib/code/object/date.rb', line 14228 def self.code_zone_assign(value) code_value = value.to_code ::Time.zone = code_value.raw code_value end |
.function_documentation(scope) ⇒ Object
6487 6488 6489 6490 6491 6492 |
# File 'lib/code/object/date.rb', line 6487 def self.function_documentation(scope) return INSTANCE_FUNCTIONS if scope == :instance return CLASS_FUNCTIONS if scope == :class {} end |
Instance Method Details
#call(**args) ⇒ Object
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 9450 9451 9452 9453 9454 9455 9456 9457 9458 9459 9460 9461 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 |
# File 'lib/code/object/date.rb', line 9300 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 "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 } 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) ) 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 } 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) ) 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 } 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) ) 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) ⇒ Object
14115 14116 14117 14118 14119 14120 14121 14122 14123 14124 14125 14126 14127 14128 14129 14130 14131 14132 14133 14134 14135 14136 14137 14138 14139 14140 14141 14142 14143 14144 14145 14146 14147 14148 |
# File 'lib/code/object/date.rb', line 14115 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 ) 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 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 code_change( year: year, month: month, day: day, week_day: week_day, week: week ) end |
#code_africa_abidjan? ⇒ Boolean
11579 11580 11581 |
# File 'lib/code/object/date.rb', line 11579 def code_africa_abidjan? Boolean.new(current_time_zone_names.include?("Africa/Abidjan")) end |
#code_africa_accra? ⇒ Boolean
11583 11584 11585 |
# File 'lib/code/object/date.rb', line 11583 def code_africa_accra? Boolean.new(current_time_zone_names.include?("Africa/Accra")) end |
#code_africa_addis_ababa? ⇒ Boolean
11587 11588 11589 |
# File 'lib/code/object/date.rb', line 11587 def code_africa_addis_ababa? Boolean.new(current_time_zone_names.include?("Africa/Addis_Ababa")) end |
#code_africa_algiers? ⇒ Boolean
11591 11592 11593 |
# File 'lib/code/object/date.rb', line 11591 def code_africa_algiers? Boolean.new(current_time_zone_names.include?("Africa/Algiers")) end |
#code_africa_asmara? ⇒ Boolean
11595 11596 11597 |
# File 'lib/code/object/date.rb', line 11595 def code_africa_asmara? Boolean.new(current_time_zone_names.include?("Africa/Asmara")) end |
#code_africa_asmera? ⇒ Boolean
11599 11600 11601 |
# File 'lib/code/object/date.rb', line 11599 def code_africa_asmera? Boolean.new(current_time_zone_names.include?("Africa/Asmera")) end |
#code_africa_bamako? ⇒ Boolean
11603 11604 11605 |
# File 'lib/code/object/date.rb', line 11603 def code_africa_bamako? Boolean.new(current_time_zone_names.include?("Africa/Bamako")) end |
#code_africa_bangui? ⇒ Boolean
11607 11608 11609 |
# File 'lib/code/object/date.rb', line 11607 def code_africa_bangui? Boolean.new(current_time_zone_names.include?("Africa/Bangui")) end |
#code_africa_banjul? ⇒ Boolean
11611 11612 11613 |
# File 'lib/code/object/date.rb', line 11611 def code_africa_banjul? Boolean.new(current_time_zone_names.include?("Africa/Banjul")) end |
#code_africa_bissau? ⇒ Boolean
11615 11616 11617 |
# File 'lib/code/object/date.rb', line 11615 def code_africa_bissau? Boolean.new(current_time_zone_names.include?("Africa/Bissau")) end |
#code_africa_blantyre? ⇒ Boolean
11619 11620 11621 |
# File 'lib/code/object/date.rb', line 11619 def code_africa_blantyre? Boolean.new(current_time_zone_names.include?("Africa/Blantyre")) end |
#code_africa_brazzaville? ⇒ Boolean
11623 11624 11625 |
# File 'lib/code/object/date.rb', line 11623 def code_africa_brazzaville? Boolean.new(current_time_zone_names.include?("Africa/Brazzaville")) end |
#code_africa_bujumbura? ⇒ Boolean
11627 11628 11629 |
# File 'lib/code/object/date.rb', line 11627 def code_africa_bujumbura? Boolean.new(current_time_zone_names.include?("Africa/Bujumbura")) end |
#code_africa_cairo? ⇒ Boolean
11631 11632 11633 |
# File 'lib/code/object/date.rb', line 11631 def code_africa_cairo? Boolean.new(current_time_zone_names.include?("Africa/Cairo")) end |
#code_africa_casablanca? ⇒ Boolean
11635 11636 11637 |
# File 'lib/code/object/date.rb', line 11635 def code_africa_casablanca? Boolean.new(current_time_zone_names.include?("Africa/Casablanca")) end |
#code_africa_ceuta? ⇒ Boolean
11639 11640 11641 |
# File 'lib/code/object/date.rb', line 11639 def code_africa_ceuta? Boolean.new(current_time_zone_names.include?("Africa/Ceuta")) end |
#code_africa_conakry? ⇒ Boolean
11643 11644 11645 |
# File 'lib/code/object/date.rb', line 11643 def code_africa_conakry? Boolean.new(current_time_zone_names.include?("Africa/Conakry")) end |
#code_africa_dakar? ⇒ Boolean
11647 11648 11649 |
# File 'lib/code/object/date.rb', line 11647 def code_africa_dakar? Boolean.new(current_time_zone_names.include?("Africa/Dakar")) end |
#code_africa_dar_es_salaam? ⇒ Boolean
11651 11652 11653 |
# File 'lib/code/object/date.rb', line 11651 def code_africa_dar_es_salaam? Boolean.new(current_time_zone_names.include?("Africa/Dar_es_Salaam")) end |
#code_africa_djibouti? ⇒ Boolean
11655 11656 11657 |
# File 'lib/code/object/date.rb', line 11655 def code_africa_djibouti? Boolean.new(current_time_zone_names.include?("Africa/Djibouti")) end |
#code_africa_douala? ⇒ Boolean
11659 11660 11661 |
# File 'lib/code/object/date.rb', line 11659 def code_africa_douala? Boolean.new(current_time_zone_names.include?("Africa/Douala")) end |
#code_africa_el_aaiun? ⇒ Boolean
11663 11664 11665 |
# File 'lib/code/object/date.rb', line 11663 def code_africa_el_aaiun? Boolean.new(current_time_zone_names.include?("Africa/El_Aaiun")) end |
#code_africa_freetown? ⇒ Boolean
11667 11668 11669 |
# File 'lib/code/object/date.rb', line 11667 def code_africa_freetown? Boolean.new(current_time_zone_names.include?("Africa/Freetown")) end |
#code_africa_gaborone? ⇒ Boolean
11671 11672 11673 |
# File 'lib/code/object/date.rb', line 11671 def code_africa_gaborone? Boolean.new(current_time_zone_names.include?("Africa/Gaborone")) end |
#code_africa_harare? ⇒ Boolean
11675 11676 11677 |
# File 'lib/code/object/date.rb', line 11675 def code_africa_harare? Boolean.new(current_time_zone_names.include?("Africa/Harare")) end |
#code_africa_johannesburg? ⇒ Boolean
11679 11680 11681 |
# File 'lib/code/object/date.rb', line 11679 def code_africa_johannesburg? Boolean.new(current_time_zone_names.include?("Africa/Johannesburg")) end |
#code_africa_juba? ⇒ Boolean
11683 11684 11685 |
# File 'lib/code/object/date.rb', line 11683 def code_africa_juba? Boolean.new(current_time_zone_names.include?("Africa/Juba")) end |
#code_africa_kampala? ⇒ Boolean
11687 11688 11689 |
# File 'lib/code/object/date.rb', line 11687 def code_africa_kampala? Boolean.new(current_time_zone_names.include?("Africa/Kampala")) end |
#code_africa_khartoum? ⇒ Boolean
11691 11692 11693 |
# File 'lib/code/object/date.rb', line 11691 def code_africa_khartoum? Boolean.new(current_time_zone_names.include?("Africa/Khartoum")) end |
#code_africa_kigali? ⇒ Boolean
11695 11696 11697 |
# File 'lib/code/object/date.rb', line 11695 def code_africa_kigali? Boolean.new(current_time_zone_names.include?("Africa/Kigali")) end |
#code_africa_kinshasa? ⇒ Boolean
11699 11700 11701 |
# File 'lib/code/object/date.rb', line 11699 def code_africa_kinshasa? Boolean.new(current_time_zone_names.include?("Africa/Kinshasa")) end |
#code_africa_lagos? ⇒ Boolean
11703 11704 11705 |
# File 'lib/code/object/date.rb', line 11703 def code_africa_lagos? Boolean.new(current_time_zone_names.include?("Africa/Lagos")) end |
#code_africa_libreville? ⇒ Boolean
11707 11708 11709 |
# File 'lib/code/object/date.rb', line 11707 def code_africa_libreville? Boolean.new(current_time_zone_names.include?("Africa/Libreville")) end |
#code_africa_lome? ⇒ Boolean
11711 11712 11713 |
# File 'lib/code/object/date.rb', line 11711 def code_africa_lome? Boolean.new(current_time_zone_names.include?("Africa/Lome")) end |
#code_africa_luanda? ⇒ Boolean
11715 11716 11717 |
# File 'lib/code/object/date.rb', line 11715 def code_africa_luanda? Boolean.new(current_time_zone_names.include?("Africa/Luanda")) end |
#code_africa_lubumbashi? ⇒ Boolean
11719 11720 11721 |
# File 'lib/code/object/date.rb', line 11719 def code_africa_lubumbashi? Boolean.new(current_time_zone_names.include?("Africa/Lubumbashi")) end |
#code_africa_lusaka? ⇒ Boolean
11723 11724 11725 |
# File 'lib/code/object/date.rb', line 11723 def code_africa_lusaka? Boolean.new(current_time_zone_names.include?("Africa/Lusaka")) end |
#code_africa_malabo? ⇒ Boolean
11727 11728 11729 |
# File 'lib/code/object/date.rb', line 11727 def code_africa_malabo? Boolean.new(current_time_zone_names.include?("Africa/Malabo")) end |
#code_africa_maputo? ⇒ Boolean
11731 11732 11733 |
# File 'lib/code/object/date.rb', line 11731 def code_africa_maputo? Boolean.new(current_time_zone_names.include?("Africa/Maputo")) end |
#code_africa_maseru? ⇒ Boolean
11735 11736 11737 |
# File 'lib/code/object/date.rb', line 11735 def code_africa_maseru? Boolean.new(current_time_zone_names.include?("Africa/Maseru")) end |
#code_africa_mbabane? ⇒ Boolean
11739 11740 11741 |
# File 'lib/code/object/date.rb', line 11739 def code_africa_mbabane? Boolean.new(current_time_zone_names.include?("Africa/Mbabane")) end |
#code_africa_mogadishu? ⇒ Boolean
11743 11744 11745 |
# File 'lib/code/object/date.rb', line 11743 def code_africa_mogadishu? Boolean.new(current_time_zone_names.include?("Africa/Mogadishu")) end |
#code_africa_monrovia? ⇒ Boolean
11747 11748 11749 |
# File 'lib/code/object/date.rb', line 11747 def code_africa_monrovia? Boolean.new(current_time_zone_names.include?("Africa/Monrovia")) end |
#code_africa_nairobi? ⇒ Boolean
11751 11752 11753 |
# File 'lib/code/object/date.rb', line 11751 def code_africa_nairobi? Boolean.new(current_time_zone_names.include?("Africa/Nairobi")) end |
#code_africa_ndjamena? ⇒ Boolean
11755 11756 11757 |
# File 'lib/code/object/date.rb', line 11755 def code_africa_ndjamena? Boolean.new(current_time_zone_names.include?("Africa/Ndjamena")) end |
#code_africa_niamey? ⇒ Boolean
11759 11760 11761 |
# File 'lib/code/object/date.rb', line 11759 def code_africa_niamey? Boolean.new(current_time_zone_names.include?("Africa/Niamey")) end |
#code_africa_nouakchott? ⇒ Boolean
11763 11764 11765 |
# File 'lib/code/object/date.rb', line 11763 def code_africa_nouakchott? Boolean.new(current_time_zone_names.include?("Africa/Nouakchott")) end |
#code_africa_ouagadougou? ⇒ Boolean
11767 11768 11769 |
# File 'lib/code/object/date.rb', line 11767 def code_africa_ouagadougou? Boolean.new(current_time_zone_names.include?("Africa/Ouagadougou")) end |
#code_africa_porto_minus_novo? ⇒ Boolean
11771 11772 11773 |
# File 'lib/code/object/date.rb', line 11771 def code_africa_porto_minus_novo? Boolean.new(current_time_zone_names.include?("Africa/Porto-Novo")) end |
#code_africa_sao_tome? ⇒ Boolean
11775 11776 11777 |
# File 'lib/code/object/date.rb', line 11775 def code_africa_sao_tome? Boolean.new(current_time_zone_names.include?("Africa/Sao_Tome")) end |
#code_africa_timbuktu? ⇒ Boolean
11779 11780 11781 |
# File 'lib/code/object/date.rb', line 11779 def code_africa_timbuktu? Boolean.new(current_time_zone_names.include?("Africa/Timbuktu")) end |
#code_africa_tripoli? ⇒ Boolean
11783 11784 11785 |
# File 'lib/code/object/date.rb', line 11783 def code_africa_tripoli? Boolean.new(current_time_zone_names.include?("Africa/Tripoli")) end |
#code_africa_tunis? ⇒ Boolean
11787 11788 11789 |
# File 'lib/code/object/date.rb', line 11787 def code_africa_tunis? Boolean.new(current_time_zone_names.include?("Africa/Tunis")) end |
#code_africa_windhoek? ⇒ Boolean
11791 11792 11793 |
# File 'lib/code/object/date.rb', line 11791 def code_africa_windhoek? Boolean.new(current_time_zone_names.include?("Africa/Windhoek")) end |
#code_after?(other = nil) ⇒ Boolean
11389 11390 11391 11392 11393 11394 |
# File 'lib/code/object/date.rb', line 11389 def code_after?(other = nil) code_other = other.to_code code_other = Date.new if code_other.nothing? Boolean.new(raw.after?(code_other.raw)) end |
#code_america_adak? ⇒ Boolean
11795 11796 11797 |
# File 'lib/code/object/date.rb', line 11795 def code_america_adak? Boolean.new(current_time_zone_names.include?("America/Adak")) end |
#code_america_anchorage? ⇒ Boolean
11799 11800 11801 |
# File 'lib/code/object/date.rb', line 11799 def code_america_anchorage? Boolean.new(current_time_zone_names.include?("America/Anchorage")) end |
#code_america_anguilla? ⇒ Boolean
11803 11804 11805 |
# File 'lib/code/object/date.rb', line 11803 def code_america_anguilla? Boolean.new(current_time_zone_names.include?("America/Anguilla")) end |
#code_america_antigua? ⇒ Boolean
11807 11808 11809 |
# File 'lib/code/object/date.rb', line 11807 def code_america_antigua? Boolean.new(current_time_zone_names.include?("America/Antigua")) end |
#code_america_araguaina? ⇒ Boolean
11811 11812 11813 |
# File 'lib/code/object/date.rb', line 11811 def code_america_araguaina? Boolean.new(current_time_zone_names.include?("America/Araguaina")) end |
#code_america_argentina_buenos_aires? ⇒ Boolean
11815 11816 11817 11818 11819 |
# File 'lib/code/object/date.rb', line 11815 def code_america_argentina_buenos_aires? Boolean.new( current_time_zone_names.include?("America/Argentina/Buenos_Aires") ) end |
#code_america_argentina_catamarca? ⇒ Boolean
11821 11822 11823 11824 11825 |
# File 'lib/code/object/date.rb', line 11821 def code_america_argentina_catamarca? Boolean.new( current_time_zone_names.include?("America/Argentina/Catamarca") ) end |
#code_america_argentina_comodrivadavia? ⇒ Boolean
11827 11828 11829 11830 11831 |
# File 'lib/code/object/date.rb', line 11827 def code_america_argentina_comodrivadavia? Boolean.new( current_time_zone_names.include?("America/Argentina/ComodRivadavia") ) end |
#code_america_argentina_cordoba? ⇒ Boolean
11833 11834 11835 11836 11837 |
# File 'lib/code/object/date.rb', line 11833 def code_america_argentina_cordoba? Boolean.new( current_time_zone_names.include?("America/Argentina/Cordoba") ) end |
#code_america_argentina_jujuy? ⇒ Boolean
11839 11840 11841 |
# File 'lib/code/object/date.rb', line 11839 def code_america_argentina_jujuy? Boolean.new(current_time_zone_names.include?("America/Argentina/Jujuy")) end |
#code_america_argentina_la_rioja? ⇒ Boolean
11843 11844 11845 11846 11847 |
# File 'lib/code/object/date.rb', line 11843 def code_america_argentina_la_rioja? Boolean.new( current_time_zone_names.include?("America/Argentina/La_Rioja") ) end |
#code_america_argentina_mendoza? ⇒ Boolean
11849 11850 11851 11852 11853 |
# File 'lib/code/object/date.rb', line 11849 def code_america_argentina_mendoza? Boolean.new( current_time_zone_names.include?("America/Argentina/Mendoza") ) end |
#code_america_argentina_rio_gallegos? ⇒ Boolean
11855 11856 11857 11858 11859 |
# File 'lib/code/object/date.rb', line 11855 def code_america_argentina_rio_gallegos? Boolean.new( current_time_zone_names.include?("America/Argentina/Rio_Gallegos") ) end |
#code_america_argentina_salta? ⇒ Boolean
11861 11862 11863 |
# File 'lib/code/object/date.rb', line 11861 def code_america_argentina_salta? Boolean.new(current_time_zone_names.include?("America/Argentina/Salta")) end |
#code_america_argentina_san_juan? ⇒ Boolean
11865 11866 11867 11868 11869 |
# File 'lib/code/object/date.rb', line 11865 def code_america_argentina_san_juan? Boolean.new( current_time_zone_names.include?("America/Argentina/San_Juan") ) end |
#code_america_argentina_san_luis? ⇒ Boolean
11871 11872 11873 11874 11875 |
# File 'lib/code/object/date.rb', line 11871 def code_america_argentina_san_luis? Boolean.new( current_time_zone_names.include?("America/Argentina/San_Luis") ) end |
#code_america_argentina_tucuman? ⇒ Boolean
11877 11878 11879 11880 11881 |
# File 'lib/code/object/date.rb', line 11877 def code_america_argentina_tucuman? Boolean.new( current_time_zone_names.include?("America/Argentina/Tucuman") ) end |
#code_america_argentina_ushuaia? ⇒ Boolean
11883 11884 11885 11886 11887 |
# File 'lib/code/object/date.rb', line 11883 def code_america_argentina_ushuaia? Boolean.new( current_time_zone_names.include?("America/Argentina/Ushuaia") ) end |
#code_america_aruba? ⇒ Boolean
11889 11890 11891 |
# File 'lib/code/object/date.rb', line 11889 def code_america_aruba? Boolean.new(current_time_zone_names.include?("America/Aruba")) end |
#code_america_asuncion? ⇒ Boolean
11893 11894 11895 |
# File 'lib/code/object/date.rb', line 11893 def code_america_asuncion? Boolean.new(current_time_zone_names.include?("America/Asuncion")) end |
#code_america_atikokan? ⇒ Boolean
11897 11898 11899 |
# File 'lib/code/object/date.rb', line 11897 def code_america_atikokan? Boolean.new(current_time_zone_names.include?("America/Atikokan")) end |
#code_america_atka? ⇒ Boolean
11901 11902 11903 |
# File 'lib/code/object/date.rb', line 11901 def code_america_atka? Boolean.new(current_time_zone_names.include?("America/Atka")) end |
#code_america_bahia? ⇒ Boolean
11905 11906 11907 |
# File 'lib/code/object/date.rb', line 11905 def code_america_bahia? Boolean.new(current_time_zone_names.include?("America/Bahia")) end |
#code_america_bahia_banderas? ⇒ Boolean
11909 11910 11911 |
# File 'lib/code/object/date.rb', line 11909 def code_america_bahia_banderas? Boolean.new(current_time_zone_names.include?("America/Bahia_Banderas")) end |
#code_america_barbados? ⇒ Boolean
11913 11914 11915 |
# File 'lib/code/object/date.rb', line 11913 def Boolean.new(current_time_zone_names.include?("America/Barbados")) end |
#code_america_belem? ⇒ Boolean
11917 11918 11919 |
# File 'lib/code/object/date.rb', line 11917 def code_america_belem? Boolean.new(current_time_zone_names.include?("America/Belem")) end |
#code_america_belize? ⇒ Boolean
11921 11922 11923 |
# File 'lib/code/object/date.rb', line 11921 def code_america_belize? Boolean.new(current_time_zone_names.include?("America/Belize")) end |
#code_america_blanc_minus_sablon? ⇒ Boolean
11925 11926 11927 |
# File 'lib/code/object/date.rb', line 11925 def code_america_blanc_minus_sablon? Boolean.new(current_time_zone_names.include?("America/Blanc-Sablon")) end |
#code_america_boa_vista? ⇒ Boolean
11929 11930 11931 |
# File 'lib/code/object/date.rb', line 11929 def code_america_boa_vista? Boolean.new(current_time_zone_names.include?("America/Boa_Vista")) end |
#code_america_bogota? ⇒ Boolean
11933 11934 11935 |
# File 'lib/code/object/date.rb', line 11933 def code_america_bogota? Boolean.new(current_time_zone_names.include?("America/Bogota")) end |
#code_america_boise? ⇒ Boolean
11937 11938 11939 |
# File 'lib/code/object/date.rb', line 11937 def code_america_boise? Boolean.new(current_time_zone_names.include?("America/Boise")) end |
#code_america_buenos_aires? ⇒ Boolean
11941 11942 11943 |
# File 'lib/code/object/date.rb', line 11941 def code_america_buenos_aires? Boolean.new(current_time_zone_names.include?("America/Buenos_Aires")) end |
#code_america_cambridge_bay? ⇒ Boolean
11945 11946 11947 |
# File 'lib/code/object/date.rb', line 11945 def code_america_cambridge_bay? Boolean.new(current_time_zone_names.include?("America/Cambridge_Bay")) end |
#code_america_campo_grande? ⇒ Boolean
11949 11950 11951 |
# File 'lib/code/object/date.rb', line 11949 def code_america_campo_grande? Boolean.new(current_time_zone_names.include?("America/Campo_Grande")) end |
#code_america_cancun? ⇒ Boolean
11953 11954 11955 |
# File 'lib/code/object/date.rb', line 11953 def code_america_cancun? Boolean.new(current_time_zone_names.include?("America/Cancun")) end |
#code_america_caracas? ⇒ Boolean
11957 11958 11959 |
# File 'lib/code/object/date.rb', line 11957 def code_america_caracas? Boolean.new(current_time_zone_names.include?("America/Caracas")) end |
#code_america_catamarca? ⇒ Boolean
11961 11962 11963 |
# File 'lib/code/object/date.rb', line 11961 def code_america_catamarca? Boolean.new(current_time_zone_names.include?("America/Catamarca")) end |
#code_america_cayenne? ⇒ Boolean
11965 11966 11967 |
# File 'lib/code/object/date.rb', line 11965 def code_america_cayenne? Boolean.new(current_time_zone_names.include?("America/Cayenne")) end |
#code_america_cayman? ⇒ Boolean
11969 11970 11971 |
# File 'lib/code/object/date.rb', line 11969 def code_america_cayman? Boolean.new(current_time_zone_names.include?("America/Cayman")) end |
#code_america_chicago? ⇒ Boolean
11973 11974 11975 |
# File 'lib/code/object/date.rb', line 11973 def code_america_chicago? Boolean.new(current_time_zone_names.include?("America/Chicago")) end |
#code_america_chihuahua? ⇒ Boolean
11977 11978 11979 |
# File 'lib/code/object/date.rb', line 11977 def code_america_chihuahua? Boolean.new(current_time_zone_names.include?("America/Chihuahua")) end |
#code_america_ciudad_juarez? ⇒ Boolean
11981 11982 11983 |
# File 'lib/code/object/date.rb', line 11981 def code_america_ciudad_juarez? Boolean.new(current_time_zone_names.include?("America/Ciudad_Juarez")) end |
#code_america_coral_harbour? ⇒ Boolean
11985 11986 11987 |
# File 'lib/code/object/date.rb', line 11985 def code_america_coral_harbour? Boolean.new(current_time_zone_names.include?("America/Coral_Harbour")) end |
#code_america_cordoba? ⇒ Boolean
11989 11990 11991 |
# File 'lib/code/object/date.rb', line 11989 def code_america_cordoba? Boolean.new(current_time_zone_names.include?("America/Cordoba")) end |
#code_america_costa_rica? ⇒ Boolean
11993 11994 11995 |
# File 'lib/code/object/date.rb', line 11993 def code_america_costa_rica? Boolean.new(current_time_zone_names.include?("America/Costa_Rica")) end |
#code_america_coyhaique? ⇒ Boolean
11997 11998 11999 |
# File 'lib/code/object/date.rb', line 11997 def code_america_coyhaique? Boolean.new(current_time_zone_names.include?("America/Coyhaique")) end |
#code_america_creston? ⇒ Boolean
12001 12002 12003 |
# File 'lib/code/object/date.rb', line 12001 def code_america_creston? Boolean.new(current_time_zone_names.include?("America/Creston")) end |
#code_america_cuiaba? ⇒ Boolean
12005 12006 12007 |
# File 'lib/code/object/date.rb', line 12005 def code_america_cuiaba? Boolean.new(current_time_zone_names.include?("America/Cuiaba")) end |
#code_america_curacao? ⇒ Boolean
12009 12010 12011 |
# File 'lib/code/object/date.rb', line 12009 def code_america_curacao? Boolean.new(current_time_zone_names.include?("America/Curacao")) end |
#code_america_danmarkshavn? ⇒ Boolean
12013 12014 12015 |
# File 'lib/code/object/date.rb', line 12013 def code_america_danmarkshavn? Boolean.new(current_time_zone_names.include?("America/Danmarkshavn")) end |
#code_america_dawson? ⇒ Boolean
12017 12018 12019 |
# File 'lib/code/object/date.rb', line 12017 def code_america_dawson? Boolean.new(current_time_zone_names.include?("America/Dawson")) end |
#code_america_dawson_creek? ⇒ Boolean
12021 12022 12023 |
# File 'lib/code/object/date.rb', line 12021 def code_america_dawson_creek? Boolean.new(current_time_zone_names.include?("America/Dawson_Creek")) end |
#code_america_denver? ⇒ Boolean
12025 12026 12027 |
# File 'lib/code/object/date.rb', line 12025 def code_america_denver? Boolean.new(current_time_zone_names.include?("America/Denver")) end |
#code_america_detroit? ⇒ Boolean
12029 12030 12031 |
# File 'lib/code/object/date.rb', line 12029 def code_america_detroit? Boolean.new(current_time_zone_names.include?("America/Detroit")) end |
#code_america_dominica? ⇒ Boolean
12033 12034 12035 |
# File 'lib/code/object/date.rb', line 12033 def code_america_dominica? Boolean.new(current_time_zone_names.include?("America/Dominica")) end |
#code_america_edmonton? ⇒ Boolean
12037 12038 12039 |
# File 'lib/code/object/date.rb', line 12037 def code_america_edmonton? Boolean.new(current_time_zone_names.include?("America/Edmonton")) end |
#code_america_eirunepe? ⇒ Boolean
12041 12042 12043 |
# File 'lib/code/object/date.rb', line 12041 def code_america_eirunepe? Boolean.new(current_time_zone_names.include?("America/Eirunepe")) end |
#code_america_el_salvador? ⇒ Boolean
12045 12046 12047 |
# File 'lib/code/object/date.rb', line 12045 def code_america_el_salvador? Boolean.new(current_time_zone_names.include?("America/El_Salvador")) end |
#code_america_ensenada? ⇒ Boolean
12049 12050 12051 |
# File 'lib/code/object/date.rb', line 12049 def code_america_ensenada? Boolean.new(current_time_zone_names.include?("America/Ensenada")) end |
#code_america_fort_nelson? ⇒ Boolean
12053 12054 12055 |
# File 'lib/code/object/date.rb', line 12053 def code_america_fort_nelson? Boolean.new(current_time_zone_names.include?("America/Fort_Nelson")) end |
#code_america_fort_wayne? ⇒ Boolean
12057 12058 12059 |
# File 'lib/code/object/date.rb', line 12057 def code_america_fort_wayne? Boolean.new(current_time_zone_names.include?("America/Fort_Wayne")) end |
#code_america_fortaleza? ⇒ Boolean
12061 12062 12063 |
# File 'lib/code/object/date.rb', line 12061 def code_america_fortaleza? Boolean.new(current_time_zone_names.include?("America/Fortaleza")) end |
#code_america_glace_bay? ⇒ Boolean
12065 12066 12067 |
# File 'lib/code/object/date.rb', line 12065 def code_america_glace_bay? Boolean.new(current_time_zone_names.include?("America/Glace_Bay")) end |
#code_america_godthab? ⇒ Boolean
12069 12070 12071 |
# File 'lib/code/object/date.rb', line 12069 def code_america_godthab? Boolean.new(current_time_zone_names.include?("America/Godthab")) end |
#code_america_goose_bay? ⇒ Boolean
12073 12074 12075 |
# File 'lib/code/object/date.rb', line 12073 def code_america_goose_bay? Boolean.new(current_time_zone_names.include?("America/Goose_Bay")) end |
#code_america_grand_turk? ⇒ Boolean
12077 12078 12079 |
# File 'lib/code/object/date.rb', line 12077 def code_america_grand_turk? Boolean.new(current_time_zone_names.include?("America/Grand_Turk")) end |
#code_america_grenada? ⇒ Boolean
12081 12082 12083 |
# File 'lib/code/object/date.rb', line 12081 def code_america_grenada? Boolean.new(current_time_zone_names.include?("America/Grenada")) end |
#code_america_guadeloupe? ⇒ Boolean
12085 12086 12087 |
# File 'lib/code/object/date.rb', line 12085 def code_america_guadeloupe? Boolean.new(current_time_zone_names.include?("America/Guadeloupe")) end |
#code_america_guatemala? ⇒ Boolean
12089 12090 12091 |
# File 'lib/code/object/date.rb', line 12089 def code_america_guatemala? Boolean.new(current_time_zone_names.include?("America/Guatemala")) end |
#code_america_guayaquil? ⇒ Boolean
12093 12094 12095 |
# File 'lib/code/object/date.rb', line 12093 def code_america_guayaquil? Boolean.new(current_time_zone_names.include?("America/Guayaquil")) end |
#code_america_guyana? ⇒ Boolean
12097 12098 12099 |
# File 'lib/code/object/date.rb', line 12097 def code_america_guyana? Boolean.new(current_time_zone_names.include?("America/Guyana")) end |
#code_america_halifax? ⇒ Boolean
12101 12102 12103 |
# File 'lib/code/object/date.rb', line 12101 def code_america_halifax? Boolean.new(current_time_zone_names.include?("America/Halifax")) end |
#code_america_havana? ⇒ Boolean
12105 12106 12107 |
# File 'lib/code/object/date.rb', line 12105 def code_america_havana? Boolean.new(current_time_zone_names.include?("America/Havana")) end |
#code_america_hermosillo? ⇒ Boolean
12109 12110 12111 |
# File 'lib/code/object/date.rb', line 12109 def code_america_hermosillo? Boolean.new(current_time_zone_names.include?("America/Hermosillo")) end |
#code_america_indiana_indianapolis? ⇒ Boolean
12113 12114 12115 12116 12117 |
# File 'lib/code/object/date.rb', line 12113 def code_america_indiana_indianapolis? Boolean.new( current_time_zone_names.include?("America/Indiana/Indianapolis") ) end |
#code_america_indiana_knox? ⇒ Boolean
12119 12120 12121 |
# File 'lib/code/object/date.rb', line 12119 def code_america_indiana_knox? Boolean.new(current_time_zone_names.include?("America/Indiana/Knox")) end |
#code_america_indiana_marengo? ⇒ Boolean
12123 12124 12125 |
# File 'lib/code/object/date.rb', line 12123 def code_america_indiana_marengo? Boolean.new(current_time_zone_names.include?("America/Indiana/Marengo")) end |
#code_america_indiana_petersburg? ⇒ Boolean
12127 12128 12129 12130 12131 |
# File 'lib/code/object/date.rb', line 12127 def code_america_indiana_petersburg? Boolean.new( current_time_zone_names.include?("America/Indiana/Petersburg") ) end |
#code_america_indiana_tell_city? ⇒ Boolean
12133 12134 12135 12136 12137 |
# File 'lib/code/object/date.rb', line 12133 def code_america_indiana_tell_city? Boolean.new( current_time_zone_names.include?("America/Indiana/Tell_City") ) end |
#code_america_indiana_vevay? ⇒ Boolean
12139 12140 12141 |
# File 'lib/code/object/date.rb', line 12139 def code_america_indiana_vevay? Boolean.new(current_time_zone_names.include?("America/Indiana/Vevay")) end |
#code_america_indiana_vincennes? ⇒ Boolean
12143 12144 12145 12146 12147 |
# File 'lib/code/object/date.rb', line 12143 def code_america_indiana_vincennes? Boolean.new( current_time_zone_names.include?("America/Indiana/Vincennes") ) end |
#code_america_indiana_winamac? ⇒ Boolean
12149 12150 12151 |
# File 'lib/code/object/date.rb', line 12149 def code_america_indiana_winamac? Boolean.new(current_time_zone_names.include?("America/Indiana/Winamac")) end |
#code_america_indianapolis? ⇒ Boolean
12153 12154 12155 |
# File 'lib/code/object/date.rb', line 12153 def code_america_indianapolis? Boolean.new(current_time_zone_names.include?("America/Indianapolis")) end |
#code_america_inuvik? ⇒ Boolean
12157 12158 12159 |
# File 'lib/code/object/date.rb', line 12157 def code_america_inuvik? Boolean.new(current_time_zone_names.include?("America/Inuvik")) end |
#code_america_iqaluit? ⇒ Boolean
12161 12162 12163 |
# File 'lib/code/object/date.rb', line 12161 def code_america_iqaluit? Boolean.new(current_time_zone_names.include?("America/Iqaluit")) end |
#code_america_jamaica? ⇒ Boolean
12165 12166 12167 |
# File 'lib/code/object/date.rb', line 12165 def code_america_jamaica? Boolean.new(current_time_zone_names.include?("America/Jamaica")) end |
#code_america_jujuy? ⇒ Boolean
12169 12170 12171 |
# File 'lib/code/object/date.rb', line 12169 def code_america_jujuy? Boolean.new(current_time_zone_names.include?("America/Jujuy")) end |
#code_america_juneau? ⇒ Boolean
12173 12174 12175 |
# File 'lib/code/object/date.rb', line 12173 def code_america_juneau? Boolean.new(current_time_zone_names.include?("America/Juneau")) end |
#code_america_kentucky_louisville? ⇒ Boolean
12177 12178 12179 12180 12181 |
# File 'lib/code/object/date.rb', line 12177 def code_america_kentucky_louisville? Boolean.new( current_time_zone_names.include?("America/Kentucky/Louisville") ) end |
#code_america_kentucky_monticello? ⇒ Boolean
12183 12184 12185 12186 12187 |
# File 'lib/code/object/date.rb', line 12183 def code_america_kentucky_monticello? Boolean.new( current_time_zone_names.include?("America/Kentucky/Monticello") ) end |
#code_america_knox_in? ⇒ Boolean
12189 12190 12191 |
# File 'lib/code/object/date.rb', line 12189 def code_america_knox_in? Boolean.new(current_time_zone_names.include?("America/Knox_IN")) end |
#code_america_kralendijk? ⇒ Boolean
12193 12194 12195 |
# File 'lib/code/object/date.rb', line 12193 def code_america_kralendijk? Boolean.new(current_time_zone_names.include?("America/Kralendijk")) end |
#code_america_la_paz? ⇒ Boolean
12197 12198 12199 |
# File 'lib/code/object/date.rb', line 12197 def code_america_la_paz? Boolean.new(current_time_zone_names.include?("America/La_Paz")) end |
#code_america_lima? ⇒ Boolean
12201 12202 12203 |
# File 'lib/code/object/date.rb', line 12201 def code_america_lima? Boolean.new(current_time_zone_names.include?("America/Lima")) end |
#code_america_los_angeles? ⇒ Boolean
12205 12206 12207 |
# File 'lib/code/object/date.rb', line 12205 def code_america_los_angeles? Boolean.new(current_time_zone_names.include?("America/Los_Angeles")) end |
#code_america_louisville? ⇒ Boolean
12209 12210 12211 |
# File 'lib/code/object/date.rb', line 12209 def code_america_louisville? Boolean.new(current_time_zone_names.include?("America/Louisville")) end |
#code_america_lower_princes? ⇒ Boolean
12213 12214 12215 |
# File 'lib/code/object/date.rb', line 12213 def code_america_lower_princes? Boolean.new(current_time_zone_names.include?("America/Lower_Princes")) end |
#code_america_maceio? ⇒ Boolean
12217 12218 12219 |
# File 'lib/code/object/date.rb', line 12217 def code_america_maceio? Boolean.new(current_time_zone_names.include?("America/Maceio")) end |
#code_america_managua? ⇒ Boolean
12221 12222 12223 |
# File 'lib/code/object/date.rb', line 12221 def code_america_managua? Boolean.new(current_time_zone_names.include?("America/Managua")) end |
#code_america_manaus? ⇒ Boolean
12225 12226 12227 |
# File 'lib/code/object/date.rb', line 12225 def code_america_manaus? Boolean.new(current_time_zone_names.include?("America/Manaus")) end |
#code_america_marigot? ⇒ Boolean
12229 12230 12231 |
# File 'lib/code/object/date.rb', line 12229 def code_america_marigot? Boolean.new(current_time_zone_names.include?("America/Marigot")) end |
#code_america_martinique? ⇒ Boolean
12233 12234 12235 |
# File 'lib/code/object/date.rb', line 12233 def code_america_martinique? Boolean.new(current_time_zone_names.include?("America/Martinique")) end |
#code_america_matamoros? ⇒ Boolean
12237 12238 12239 |
# File 'lib/code/object/date.rb', line 12237 def code_america_matamoros? Boolean.new(current_time_zone_names.include?("America/Matamoros")) end |
#code_america_mazatlan? ⇒ Boolean
12241 12242 12243 |
# File 'lib/code/object/date.rb', line 12241 def code_america_mazatlan? Boolean.new(current_time_zone_names.include?("America/Mazatlan")) end |
#code_america_mendoza? ⇒ Boolean
12245 12246 12247 |
# File 'lib/code/object/date.rb', line 12245 def code_america_mendoza? Boolean.new(current_time_zone_names.include?("America/Mendoza")) end |
#code_america_menominee? ⇒ Boolean
12249 12250 12251 |
# File 'lib/code/object/date.rb', line 12249 def code_america_menominee? Boolean.new(current_time_zone_names.include?("America/Menominee")) end |
#code_america_merida? ⇒ Boolean
12253 12254 12255 |
# File 'lib/code/object/date.rb', line 12253 def code_america_merida? Boolean.new(current_time_zone_names.include?("America/Merida")) end |
#code_america_metlakatla? ⇒ Boolean
12257 12258 12259 |
# File 'lib/code/object/date.rb', line 12257 def code_america_metlakatla? Boolean.new(current_time_zone_names.include?("America/Metlakatla")) end |
#code_america_mexico_city? ⇒ Boolean
12261 12262 12263 |
# File 'lib/code/object/date.rb', line 12261 def code_america_mexico_city? Boolean.new(current_time_zone_names.include?("America/Mexico_City")) end |
#code_america_miquelon? ⇒ Boolean
12265 12266 12267 |
# File 'lib/code/object/date.rb', line 12265 def code_america_miquelon? Boolean.new(current_time_zone_names.include?("America/Miquelon")) end |
#code_america_moncton? ⇒ Boolean
12269 12270 12271 |
# File 'lib/code/object/date.rb', line 12269 def code_america_moncton? Boolean.new(current_time_zone_names.include?("America/Moncton")) end |
#code_america_monterrey? ⇒ Boolean
12273 12274 12275 |
# File 'lib/code/object/date.rb', line 12273 def code_america_monterrey? Boolean.new(current_time_zone_names.include?("America/Monterrey")) end |
#code_america_montevideo? ⇒ Boolean
12277 12278 12279 |
# File 'lib/code/object/date.rb', line 12277 def code_america_montevideo? Boolean.new(current_time_zone_names.include?("America/Montevideo")) end |
#code_america_montreal? ⇒ Boolean
12281 12282 12283 |
# File 'lib/code/object/date.rb', line 12281 def code_america_montreal? Boolean.new(current_time_zone_names.include?("America/Montreal")) end |
#code_america_montserrat? ⇒ Boolean
12285 12286 12287 |
# File 'lib/code/object/date.rb', line 12285 def code_america_montserrat? Boolean.new(current_time_zone_names.include?("America/Montserrat")) end |
#code_america_nassau? ⇒ Boolean
12289 12290 12291 |
# File 'lib/code/object/date.rb', line 12289 def code_america_nassau? Boolean.new(current_time_zone_names.include?("America/Nassau")) end |
#code_america_new_york? ⇒ Boolean
12293 12294 12295 |
# File 'lib/code/object/date.rb', line 12293 def code_america_new_york? Boolean.new(current_time_zone_names.include?("America/New_York")) end |
#code_america_nipigon? ⇒ Boolean
12297 12298 12299 |
# File 'lib/code/object/date.rb', line 12297 def code_america_nipigon? Boolean.new(current_time_zone_names.include?("America/Nipigon")) end |
#code_america_nome? ⇒ Boolean
12301 12302 12303 |
# File 'lib/code/object/date.rb', line 12301 def code_america_nome? Boolean.new(current_time_zone_names.include?("America/Nome")) end |
#code_america_noronha? ⇒ Boolean
12305 12306 12307 |
# File 'lib/code/object/date.rb', line 12305 def code_america_noronha? Boolean.new(current_time_zone_names.include?("America/Noronha")) end |
#code_america_north_dakota_beulah? ⇒ Boolean
12309 12310 12311 12312 12313 |
# File 'lib/code/object/date.rb', line 12309 def code_america_north_dakota_beulah? Boolean.new( current_time_zone_names.include?("America/North_Dakota/Beulah") ) end |
#code_america_north_dakota_center? ⇒ Boolean
12315 12316 12317 12318 12319 |
# File 'lib/code/object/date.rb', line 12315 def code_america_north_dakota_center? Boolean.new( current_time_zone_names.include?("America/North_Dakota/Center") ) end |
#code_america_north_dakota_new_salem? ⇒ Boolean
12321 12322 12323 12324 12325 |
# File 'lib/code/object/date.rb', line 12321 def code_america_north_dakota_new_salem? Boolean.new( current_time_zone_names.include?("America/North_Dakota/New_Salem") ) end |
#code_america_nuuk? ⇒ Boolean
12327 12328 12329 |
# File 'lib/code/object/date.rb', line 12327 def code_america_nuuk? Boolean.new(current_time_zone_names.include?("America/Nuuk")) end |
#code_america_ojinaga? ⇒ Boolean
12331 12332 12333 |
# File 'lib/code/object/date.rb', line 12331 def code_america_ojinaga? Boolean.new(current_time_zone_names.include?("America/Ojinaga")) end |
#code_america_panama? ⇒ Boolean
12335 12336 12337 |
# File 'lib/code/object/date.rb', line 12335 def code_america_panama? Boolean.new(current_time_zone_names.include?("America/Panama")) end |
#code_america_pangnirtung? ⇒ Boolean
12339 12340 12341 |
# File 'lib/code/object/date.rb', line 12339 def code_america_pangnirtung? Boolean.new(current_time_zone_names.include?("America/Pangnirtung")) end |
#code_america_paramaribo? ⇒ Boolean
12343 12344 12345 |
# File 'lib/code/object/date.rb', line 12343 def code_america_paramaribo? Boolean.new(current_time_zone_names.include?("America/Paramaribo")) end |
#code_america_phoenix? ⇒ Boolean
12347 12348 12349 |
# File 'lib/code/object/date.rb', line 12347 def code_america_phoenix? Boolean.new(current_time_zone_names.include?("America/Phoenix")) end |
#code_america_port_minus_au_minus_prince? ⇒ Boolean
12351 12352 12353 |
# File 'lib/code/object/date.rb', line 12351 def code_america_port_minus_au_minus_prince? Boolean.new(current_time_zone_names.include?("America/Port-au-Prince")) end |
#code_america_port_of_spain? ⇒ Boolean
12355 12356 12357 |
# File 'lib/code/object/date.rb', line 12355 def code_america_port_of_spain? Boolean.new(current_time_zone_names.include?("America/Port_of_Spain")) end |
#code_america_porto_acre? ⇒ Boolean
12359 12360 12361 |
# File 'lib/code/object/date.rb', line 12359 def code_america_porto_acre? Boolean.new(current_time_zone_names.include?("America/Porto_Acre")) end |
#code_america_porto_velho? ⇒ Boolean
12363 12364 12365 |
# File 'lib/code/object/date.rb', line 12363 def code_america_porto_velho? Boolean.new(current_time_zone_names.include?("America/Porto_Velho")) end |
#code_america_puerto_rico? ⇒ Boolean
12367 12368 12369 |
# File 'lib/code/object/date.rb', line 12367 def code_america_puerto_rico? Boolean.new(current_time_zone_names.include?("America/Puerto_Rico")) end |
#code_america_punta_arenas? ⇒ Boolean
12371 12372 12373 |
# File 'lib/code/object/date.rb', line 12371 def code_america_punta_arenas? Boolean.new(current_time_zone_names.include?("America/Punta_Arenas")) end |
#code_america_rainy_river? ⇒ Boolean
12375 12376 12377 |
# File 'lib/code/object/date.rb', line 12375 def code_america_rainy_river? Boolean.new(current_time_zone_names.include?("America/Rainy_River")) end |
#code_america_rankin_inlet? ⇒ Boolean
12379 12380 12381 |
# File 'lib/code/object/date.rb', line 12379 def code_america_rankin_inlet? Boolean.new(current_time_zone_names.include?("America/Rankin_Inlet")) end |
#code_america_recife? ⇒ Boolean
12383 12384 12385 |
# File 'lib/code/object/date.rb', line 12383 def code_america_recife? Boolean.new(current_time_zone_names.include?("America/Recife")) end |
#code_america_regina? ⇒ Boolean
12387 12388 12389 |
# File 'lib/code/object/date.rb', line 12387 def code_america_regina? Boolean.new(current_time_zone_names.include?("America/Regina")) end |
#code_america_resolute? ⇒ Boolean
12391 12392 12393 |
# File 'lib/code/object/date.rb', line 12391 def code_america_resolute? Boolean.new(current_time_zone_names.include?("America/Resolute")) end |
#code_america_rio_branco? ⇒ Boolean
12395 12396 12397 |
# File 'lib/code/object/date.rb', line 12395 def code_america_rio_branco? Boolean.new(current_time_zone_names.include?("America/Rio_Branco")) end |
#code_america_rosario? ⇒ Boolean
12399 12400 12401 |
# File 'lib/code/object/date.rb', line 12399 def code_america_rosario? Boolean.new(current_time_zone_names.include?("America/Rosario")) end |
#code_america_santa_isabel? ⇒ Boolean
12403 12404 12405 |
# File 'lib/code/object/date.rb', line 12403 def code_america_santa_isabel? Boolean.new(current_time_zone_names.include?("America/Santa_Isabel")) end |
#code_america_santarem? ⇒ Boolean
12407 12408 12409 |
# File 'lib/code/object/date.rb', line 12407 def code_america_santarem? Boolean.new(current_time_zone_names.include?("America/Santarem")) end |
#code_america_santiago? ⇒ Boolean
12411 12412 12413 |
# File 'lib/code/object/date.rb', line 12411 def code_america_santiago? Boolean.new(current_time_zone_names.include?("America/Santiago")) end |
#code_america_santo_domingo? ⇒ Boolean
12415 12416 12417 |
# File 'lib/code/object/date.rb', line 12415 def code_america_santo_domingo? Boolean.new(current_time_zone_names.include?("America/Santo_Domingo")) end |
#code_america_sao_paulo? ⇒ Boolean
12419 12420 12421 |
# File 'lib/code/object/date.rb', line 12419 def code_america_sao_paulo? Boolean.new(current_time_zone_names.include?("America/Sao_Paulo")) end |
#code_america_scoresbysund? ⇒ Boolean
12423 12424 12425 |
# File 'lib/code/object/date.rb', line 12423 def code_america_scoresbysund? Boolean.new(current_time_zone_names.include?("America/Scoresbysund")) end |
#code_america_shiprock? ⇒ Boolean
12427 12428 12429 |
# File 'lib/code/object/date.rb', line 12427 def code_america_shiprock? Boolean.new(current_time_zone_names.include?("America/Shiprock")) end |
#code_america_sitka? ⇒ Boolean
12431 12432 12433 |
# File 'lib/code/object/date.rb', line 12431 def code_america_sitka? Boolean.new(current_time_zone_names.include?("America/Sitka")) end |
#code_america_st_barthelemy? ⇒ Boolean
12435 12436 12437 |
# File 'lib/code/object/date.rb', line 12435 def Boolean.new(current_time_zone_names.include?("America/St_Barthelemy")) end |
#code_america_st_johns? ⇒ Boolean
12439 12440 12441 |
# File 'lib/code/object/date.rb', line 12439 def code_america_st_johns? Boolean.new(current_time_zone_names.include?("America/St_Johns")) end |
#code_america_st_kitts? ⇒ Boolean
12443 12444 12445 |
# File 'lib/code/object/date.rb', line 12443 def code_america_st_kitts? Boolean.new(current_time_zone_names.include?("America/St_Kitts")) end |
#code_america_st_lucia? ⇒ Boolean
12447 12448 12449 |
# File 'lib/code/object/date.rb', line 12447 def code_america_st_lucia? Boolean.new(current_time_zone_names.include?("America/St_Lucia")) end |
#code_america_st_thomas? ⇒ Boolean
12451 12452 12453 |
# File 'lib/code/object/date.rb', line 12451 def code_america_st_thomas? Boolean.new(current_time_zone_names.include?("America/St_Thomas")) end |
#code_america_st_vincent? ⇒ Boolean
12455 12456 12457 |
# File 'lib/code/object/date.rb', line 12455 def code_america_st_vincent? Boolean.new(current_time_zone_names.include?("America/St_Vincent")) end |
#code_america_swift_current? ⇒ Boolean
12459 12460 12461 |
# File 'lib/code/object/date.rb', line 12459 def code_america_swift_current? Boolean.new(current_time_zone_names.include?("America/Swift_Current")) end |
#code_america_tegucigalpa? ⇒ Boolean
12463 12464 12465 |
# File 'lib/code/object/date.rb', line 12463 def code_america_tegucigalpa? Boolean.new(current_time_zone_names.include?("America/Tegucigalpa")) end |
#code_america_thule? ⇒ Boolean
12467 12468 12469 |
# File 'lib/code/object/date.rb', line 12467 def code_america_thule? Boolean.new(current_time_zone_names.include?("America/Thule")) end |
#code_america_thunder_bay? ⇒ Boolean
12471 12472 12473 |
# File 'lib/code/object/date.rb', line 12471 def code_america_thunder_bay? Boolean.new(current_time_zone_names.include?("America/Thunder_Bay")) end |
#code_america_tijuana? ⇒ Boolean
12475 12476 12477 |
# File 'lib/code/object/date.rb', line 12475 def code_america_tijuana? Boolean.new(current_time_zone_names.include?("America/Tijuana")) end |
#code_america_toronto? ⇒ Boolean
12479 12480 12481 |
# File 'lib/code/object/date.rb', line 12479 def code_america_toronto? Boolean.new(current_time_zone_names.include?("America/Toronto")) end |
#code_america_tortola? ⇒ Boolean
12483 12484 12485 |
# File 'lib/code/object/date.rb', line 12483 def code_america_tortola? Boolean.new(current_time_zone_names.include?("America/Tortola")) end |
#code_america_vancouver? ⇒ Boolean
12487 12488 12489 |
# File 'lib/code/object/date.rb', line 12487 def code_america_vancouver? Boolean.new(current_time_zone_names.include?("America/Vancouver")) end |
#code_america_virgin? ⇒ Boolean
12491 12492 12493 |
# File 'lib/code/object/date.rb', line 12491 def code_america_virgin? Boolean.new(current_time_zone_names.include?("America/Virgin")) end |
#code_america_whitehorse? ⇒ Boolean
12495 12496 12497 |
# File 'lib/code/object/date.rb', line 12495 def code_america_whitehorse? Boolean.new(current_time_zone_names.include?("America/Whitehorse")) end |
#code_america_winnipeg? ⇒ Boolean
12499 12500 12501 |
# File 'lib/code/object/date.rb', line 12499 def code_america_winnipeg? Boolean.new(current_time_zone_names.include?("America/Winnipeg")) end |
#code_america_yakutat? ⇒ Boolean
12503 12504 12505 |
# File 'lib/code/object/date.rb', line 12503 def code_america_yakutat? Boolean.new(current_time_zone_names.include?("America/Yakutat")) end |
#code_america_yellowknife? ⇒ Boolean
12507 12508 12509 |
# File 'lib/code/object/date.rb', line 12507 def code_america_yellowknife? Boolean.new(current_time_zone_names.include?("America/Yellowknife")) end |
#code_antarctica_casey? ⇒ Boolean
12511 12512 12513 |
# File 'lib/code/object/date.rb', line 12511 def code_antarctica_casey? Boolean.new(current_time_zone_names.include?("Antarctica/Casey")) end |
#code_antarctica_davis? ⇒ Boolean
12515 12516 12517 |
# File 'lib/code/object/date.rb', line 12515 def code_antarctica_davis? Boolean.new(current_time_zone_names.include?("Antarctica/Davis")) end |
#code_antarctica_dumontdurville? ⇒ Boolean
12519 12520 12521 12522 12523 |
# File 'lib/code/object/date.rb', line 12519 def code_antarctica_dumontdurville? Boolean.new( current_time_zone_names.include?("Antarctica/DumontDUrville") ) end |
#code_antarctica_macquarie? ⇒ Boolean
12525 12526 12527 |
# File 'lib/code/object/date.rb', line 12525 def code_antarctica_macquarie? Boolean.new(current_time_zone_names.include?("Antarctica/Macquarie")) end |
#code_antarctica_mawson? ⇒ Boolean
12529 12530 12531 |
# File 'lib/code/object/date.rb', line 12529 def code_antarctica_mawson? Boolean.new(current_time_zone_names.include?("Antarctica/Mawson")) end |
#code_antarctica_mcmurdo? ⇒ Boolean
12533 12534 12535 |
# File 'lib/code/object/date.rb', line 12533 def code_antarctica_mcmurdo? Boolean.new(current_time_zone_names.include?("Antarctica/McMurdo")) end |
#code_antarctica_palmer? ⇒ Boolean
12537 12538 12539 |
# File 'lib/code/object/date.rb', line 12537 def code_antarctica_palmer? Boolean.new(current_time_zone_names.include?("Antarctica/Palmer")) end |
#code_antarctica_rothera? ⇒ Boolean
12541 12542 12543 |
# File 'lib/code/object/date.rb', line 12541 def code_antarctica_rothera? Boolean.new(current_time_zone_names.include?("Antarctica/Rothera")) end |
#code_antarctica_south_pole? ⇒ Boolean
12545 12546 12547 |
# File 'lib/code/object/date.rb', line 12545 def code_antarctica_south_pole? Boolean.new(current_time_zone_names.include?("Antarctica/South_Pole")) end |
#code_antarctica_syowa? ⇒ Boolean
12549 12550 12551 |
# File 'lib/code/object/date.rb', line 12549 def code_antarctica_syowa? Boolean.new(current_time_zone_names.include?("Antarctica/Syowa")) end |
#code_antarctica_troll? ⇒ Boolean
12553 12554 12555 |
# File 'lib/code/object/date.rb', line 12553 def code_antarctica_troll? Boolean.new(current_time_zone_names.include?("Antarctica/Troll")) end |
#code_antarctica_vostok? ⇒ Boolean
12557 12558 12559 |
# File 'lib/code/object/date.rb', line 12557 def code_antarctica_vostok? Boolean.new(current_time_zone_names.include?("Antarctica/Vostok")) end |
#code_april? ⇒ Boolean
11491 11492 11493 |
# File 'lib/code/object/date.rb', line 11491 def code_april? code_month.code_four? end |
#code_arctic_longyearbyen? ⇒ Boolean
12561 12562 12563 |
# File 'lib/code/object/date.rb', line 12561 def code_arctic_longyearbyen? Boolean.new(current_time_zone_names.include?("Arctic/Longyearbyen")) end |
#code_asia_aden? ⇒ Boolean
12565 12566 12567 |
# File 'lib/code/object/date.rb', line 12565 def code_asia_aden? Boolean.new(current_time_zone_names.include?("Asia/Aden")) end |
#code_asia_almaty? ⇒ Boolean
12569 12570 12571 |
# File 'lib/code/object/date.rb', line 12569 def code_asia_almaty? Boolean.new(current_time_zone_names.include?("Asia/Almaty")) end |
#code_asia_amman? ⇒ Boolean
12573 12574 12575 |
# File 'lib/code/object/date.rb', line 12573 def code_asia_amman? Boolean.new(current_time_zone_names.include?("Asia/Amman")) end |
#code_asia_anadyr? ⇒ Boolean
12577 12578 12579 |
# File 'lib/code/object/date.rb', line 12577 def code_asia_anadyr? Boolean.new(current_time_zone_names.include?("Asia/Anadyr")) end |
#code_asia_aqtau? ⇒ Boolean
12581 12582 12583 |
# File 'lib/code/object/date.rb', line 12581 def code_asia_aqtau? Boolean.new(current_time_zone_names.include?("Asia/Aqtau")) end |
#code_asia_aqtobe? ⇒ Boolean
12585 12586 12587 |
# File 'lib/code/object/date.rb', line 12585 def code_asia_aqtobe? Boolean.new(current_time_zone_names.include?("Asia/Aqtobe")) end |
#code_asia_ashgabat? ⇒ Boolean
12589 12590 12591 |
# File 'lib/code/object/date.rb', line 12589 def code_asia_ashgabat? Boolean.new(current_time_zone_names.include?("Asia/Ashgabat")) end |
#code_asia_ashkhabad? ⇒ Boolean
12593 12594 12595 |
# File 'lib/code/object/date.rb', line 12593 def code_asia_ashkhabad? Boolean.new(current_time_zone_names.include?("Asia/Ashkhabad")) end |
#code_asia_atyrau? ⇒ Boolean
12597 12598 12599 |
# File 'lib/code/object/date.rb', line 12597 def code_asia_atyrau? Boolean.new(current_time_zone_names.include?("Asia/Atyrau")) end |
#code_asia_baghdad? ⇒ Boolean
12601 12602 12603 |
# File 'lib/code/object/date.rb', line 12601 def code_asia_baghdad? Boolean.new(current_time_zone_names.include?("Asia/Baghdad")) end |
#code_asia_bahrain? ⇒ Boolean
12605 12606 12607 |
# File 'lib/code/object/date.rb', line 12605 def code_asia_bahrain? Boolean.new(current_time_zone_names.include?("Asia/Bahrain")) end |
#code_asia_baku? ⇒ Boolean
12609 12610 12611 |
# File 'lib/code/object/date.rb', line 12609 def code_asia_baku? Boolean.new(current_time_zone_names.include?("Asia/Baku")) end |
#code_asia_bangkok? ⇒ Boolean
12613 12614 12615 |
# File 'lib/code/object/date.rb', line 12613 def code_asia_bangkok? Boolean.new(current_time_zone_names.include?("Asia/Bangkok")) end |
#code_asia_barnaul? ⇒ Boolean
12617 12618 12619 |
# File 'lib/code/object/date.rb', line 12617 def Boolean.new(current_time_zone_names.include?("Asia/Barnaul")) end |
#code_asia_beirut? ⇒ Boolean
12621 12622 12623 |
# File 'lib/code/object/date.rb', line 12621 def code_asia_beirut? Boolean.new(current_time_zone_names.include?("Asia/Beirut")) end |
#code_asia_bishkek? ⇒ Boolean
12625 12626 12627 |
# File 'lib/code/object/date.rb', line 12625 def code_asia_bishkek? Boolean.new(current_time_zone_names.include?("Asia/Bishkek")) end |
#code_asia_brunei? ⇒ Boolean
12629 12630 12631 |
# File 'lib/code/object/date.rb', line 12629 def code_asia_brunei? Boolean.new(current_time_zone_names.include?("Asia/Brunei")) end |
#code_asia_calcutta? ⇒ Boolean
12633 12634 12635 |
# File 'lib/code/object/date.rb', line 12633 def code_asia_calcutta? Boolean.new(current_time_zone_names.include?("Asia/Calcutta")) end |
#code_asia_chita? ⇒ Boolean
12637 12638 12639 |
# File 'lib/code/object/date.rb', line 12637 def code_asia_chita? Boolean.new(current_time_zone_names.include?("Asia/Chita")) end |
#code_asia_choibalsan? ⇒ Boolean
12641 12642 12643 |
# File 'lib/code/object/date.rb', line 12641 def code_asia_choibalsan? Boolean.new(current_time_zone_names.include?("Asia/Choibalsan")) end |
#code_asia_chongqing? ⇒ Boolean
12645 12646 12647 |
# File 'lib/code/object/date.rb', line 12645 def code_asia_chongqing? Boolean.new(current_time_zone_names.include?("Asia/Chongqing")) end |
#code_asia_chungking? ⇒ Boolean
12649 12650 12651 |
# File 'lib/code/object/date.rb', line 12649 def code_asia_chungking? Boolean.new(current_time_zone_names.include?("Asia/Chungking")) end |
#code_asia_colombo? ⇒ Boolean
12653 12654 12655 |
# File 'lib/code/object/date.rb', line 12653 def code_asia_colombo? Boolean.new(current_time_zone_names.include?("Asia/Colombo")) end |
#code_asia_dacca? ⇒ Boolean
12657 12658 12659 |
# File 'lib/code/object/date.rb', line 12657 def code_asia_dacca? Boolean.new(current_time_zone_names.include?("Asia/Dacca")) end |
#code_asia_damascus? ⇒ Boolean
12661 12662 12663 |
# File 'lib/code/object/date.rb', line 12661 def code_asia_damascus? Boolean.new(current_time_zone_names.include?("Asia/Damascus")) end |
#code_asia_dhaka? ⇒ Boolean
12665 12666 12667 |
# File 'lib/code/object/date.rb', line 12665 def code_asia_dhaka? Boolean.new(current_time_zone_names.include?("Asia/Dhaka")) end |
#code_asia_dili? ⇒ Boolean
12669 12670 12671 |
# File 'lib/code/object/date.rb', line 12669 def code_asia_dili? Boolean.new(current_time_zone_names.include?("Asia/Dili")) end |
#code_asia_dubai? ⇒ Boolean
12673 12674 12675 |
# File 'lib/code/object/date.rb', line 12673 def code_asia_dubai? Boolean.new(current_time_zone_names.include?("Asia/Dubai")) end |
#code_asia_dushanbe? ⇒ Boolean
12677 12678 12679 |
# File 'lib/code/object/date.rb', line 12677 def code_asia_dushanbe? Boolean.new(current_time_zone_names.include?("Asia/Dushanbe")) end |
#code_asia_famagusta? ⇒ Boolean
12681 12682 12683 |
# File 'lib/code/object/date.rb', line 12681 def code_asia_famagusta? Boolean.new(current_time_zone_names.include?("Asia/Famagusta")) end |
#code_asia_gaza? ⇒ Boolean
12685 12686 12687 |
# File 'lib/code/object/date.rb', line 12685 def code_asia_gaza? Boolean.new(current_time_zone_names.include?("Asia/Gaza")) end |
#code_asia_harbin? ⇒ Boolean
12689 12690 12691 |
# File 'lib/code/object/date.rb', line 12689 def code_asia_harbin? Boolean.new(current_time_zone_names.include?("Asia/Harbin")) end |
#code_asia_hebron? ⇒ Boolean
12693 12694 12695 |
# File 'lib/code/object/date.rb', line 12693 def code_asia_hebron? Boolean.new(current_time_zone_names.include?("Asia/Hebron")) end |
#code_asia_ho_chi_minh? ⇒ Boolean
12697 12698 12699 |
# File 'lib/code/object/date.rb', line 12697 def code_asia_ho_chi_minh? Boolean.new(current_time_zone_names.include?("Asia/Ho_Chi_Minh")) end |
#code_asia_hong_kong? ⇒ Boolean
12701 12702 12703 |
# File 'lib/code/object/date.rb', line 12701 def code_asia_hong_kong? Boolean.new(current_time_zone_names.include?("Asia/Hong_Kong")) end |
#code_asia_hovd? ⇒ Boolean
12705 12706 12707 |
# File 'lib/code/object/date.rb', line 12705 def code_asia_hovd? Boolean.new(current_time_zone_names.include?("Asia/Hovd")) end |
#code_asia_irkutsk? ⇒ Boolean
12709 12710 12711 |
# File 'lib/code/object/date.rb', line 12709 def code_asia_irkutsk? Boolean.new(current_time_zone_names.include?("Asia/Irkutsk")) end |
#code_asia_istanbul? ⇒ Boolean
12713 12714 12715 |
# File 'lib/code/object/date.rb', line 12713 def code_asia_istanbul? Boolean.new(current_time_zone_names.include?("Asia/Istanbul")) end |
#code_asia_jakarta? ⇒ Boolean
12717 12718 12719 |
# File 'lib/code/object/date.rb', line 12717 def code_asia_jakarta? Boolean.new(current_time_zone_names.include?("Asia/Jakarta")) end |
#code_asia_jayapura? ⇒ Boolean
12721 12722 12723 |
# File 'lib/code/object/date.rb', line 12721 def code_asia_jayapura? Boolean.new(current_time_zone_names.include?("Asia/Jayapura")) end |
#code_asia_jerusalem? ⇒ Boolean
12725 12726 12727 |
# File 'lib/code/object/date.rb', line 12725 def code_asia_jerusalem? Boolean.new(current_time_zone_names.include?("Asia/Jerusalem")) end |
#code_asia_kabul? ⇒ Boolean
12729 12730 12731 |
# File 'lib/code/object/date.rb', line 12729 def code_asia_kabul? Boolean.new(current_time_zone_names.include?("Asia/Kabul")) end |
#code_asia_kamchatka? ⇒ Boolean
12733 12734 12735 |
# File 'lib/code/object/date.rb', line 12733 def code_asia_kamchatka? Boolean.new(current_time_zone_names.include?("Asia/Kamchatka")) end |
#code_asia_karachi? ⇒ Boolean
12737 12738 12739 |
# File 'lib/code/object/date.rb', line 12737 def code_asia_karachi? Boolean.new(current_time_zone_names.include?("Asia/Karachi")) end |
#code_asia_kashgar? ⇒ Boolean
12741 12742 12743 |
# File 'lib/code/object/date.rb', line 12741 def code_asia_kashgar? Boolean.new(current_time_zone_names.include?("Asia/Kashgar")) end |
#code_asia_kathmandu? ⇒ Boolean
12745 12746 12747 |
# File 'lib/code/object/date.rb', line 12745 def code_asia_kathmandu? Boolean.new(current_time_zone_names.include?("Asia/Kathmandu")) end |
#code_asia_katmandu? ⇒ Boolean
12749 12750 12751 |
# File 'lib/code/object/date.rb', line 12749 def code_asia_katmandu? Boolean.new(current_time_zone_names.include?("Asia/Katmandu")) end |
#code_asia_khandyga? ⇒ Boolean
12753 12754 12755 |
# File 'lib/code/object/date.rb', line 12753 def code_asia_khandyga? Boolean.new(current_time_zone_names.include?("Asia/Khandyga")) end |
#code_asia_kolkata? ⇒ Boolean
12757 12758 12759 |
# File 'lib/code/object/date.rb', line 12757 def code_asia_kolkata? Boolean.new(current_time_zone_names.include?("Asia/Kolkata")) end |
#code_asia_krasnoyarsk? ⇒ Boolean
12761 12762 12763 |
# File 'lib/code/object/date.rb', line 12761 def code_asia_krasnoyarsk? Boolean.new(current_time_zone_names.include?("Asia/Krasnoyarsk")) end |
#code_asia_kuala_lumpur? ⇒ Boolean
12765 12766 12767 |
# File 'lib/code/object/date.rb', line 12765 def code_asia_kuala_lumpur? Boolean.new(current_time_zone_names.include?("Asia/Kuala_Lumpur")) end |
#code_asia_kuching? ⇒ Boolean
12769 12770 12771 |
# File 'lib/code/object/date.rb', line 12769 def code_asia_kuching? Boolean.new(current_time_zone_names.include?("Asia/Kuching")) end |
#code_asia_kuwait? ⇒ Boolean
12773 12774 12775 |
# File 'lib/code/object/date.rb', line 12773 def code_asia_kuwait? Boolean.new(current_time_zone_names.include?("Asia/Kuwait")) end |
#code_asia_macao? ⇒ Boolean
12777 12778 12779 |
# File 'lib/code/object/date.rb', line 12777 def code_asia_macao? Boolean.new(current_time_zone_names.include?("Asia/Macao")) end |
#code_asia_macau? ⇒ Boolean
12781 12782 12783 |
# File 'lib/code/object/date.rb', line 12781 def code_asia_macau? Boolean.new(current_time_zone_names.include?("Asia/Macau")) end |
#code_asia_magadan? ⇒ Boolean
12785 12786 12787 |
# File 'lib/code/object/date.rb', line 12785 def code_asia_magadan? Boolean.new(current_time_zone_names.include?("Asia/Magadan")) end |
#code_asia_makassar? ⇒ Boolean
12789 12790 12791 |
# File 'lib/code/object/date.rb', line 12789 def code_asia_makassar? Boolean.new(current_time_zone_names.include?("Asia/Makassar")) end |
#code_asia_manila? ⇒ Boolean
12793 12794 12795 |
# File 'lib/code/object/date.rb', line 12793 def code_asia_manila? Boolean.new(current_time_zone_names.include?("Asia/Manila")) end |
#code_asia_muscat? ⇒ Boolean
12797 12798 12799 |
# File 'lib/code/object/date.rb', line 12797 def code_asia_muscat? Boolean.new(current_time_zone_names.include?("Asia/Muscat")) end |
#code_asia_nicosia? ⇒ Boolean
12801 12802 12803 |
# File 'lib/code/object/date.rb', line 12801 def code_asia_nicosia? Boolean.new(current_time_zone_names.include?("Asia/Nicosia")) end |
#code_asia_novokuznetsk? ⇒ Boolean
12805 12806 12807 |
# File 'lib/code/object/date.rb', line 12805 def code_asia_novokuznetsk? Boolean.new(current_time_zone_names.include?("Asia/Novokuznetsk")) end |
#code_asia_novosibirsk? ⇒ Boolean
12809 12810 12811 |
# File 'lib/code/object/date.rb', line 12809 def code_asia_novosibirsk? Boolean.new(current_time_zone_names.include?("Asia/Novosibirsk")) end |
#code_asia_omsk? ⇒ Boolean
12813 12814 12815 |
# File 'lib/code/object/date.rb', line 12813 def code_asia_omsk? Boolean.new(current_time_zone_names.include?("Asia/Omsk")) end |
#code_asia_oral? ⇒ Boolean
12817 12818 12819 |
# File 'lib/code/object/date.rb', line 12817 def code_asia_oral? Boolean.new(current_time_zone_names.include?("Asia/Oral")) end |
#code_asia_phnom_penh? ⇒ Boolean
12821 12822 12823 |
# File 'lib/code/object/date.rb', line 12821 def code_asia_phnom_penh? Boolean.new(current_time_zone_names.include?("Asia/Phnom_Penh")) end |
#code_asia_pontianak? ⇒ Boolean
12825 12826 12827 |
# File 'lib/code/object/date.rb', line 12825 def code_asia_pontianak? Boolean.new(current_time_zone_names.include?("Asia/Pontianak")) end |
#code_asia_pyongyang? ⇒ Boolean
12829 12830 12831 |
# File 'lib/code/object/date.rb', line 12829 def code_asia_pyongyang? Boolean.new(current_time_zone_names.include?("Asia/Pyongyang")) end |
#code_asia_qatar? ⇒ Boolean
12833 12834 12835 |
# File 'lib/code/object/date.rb', line 12833 def code_asia_qatar? Boolean.new(current_time_zone_names.include?("Asia/Qatar")) end |
#code_asia_qostanay? ⇒ Boolean
12837 12838 12839 |
# File 'lib/code/object/date.rb', line 12837 def code_asia_qostanay? Boolean.new(current_time_zone_names.include?("Asia/Qostanay")) end |
#code_asia_qyzylorda? ⇒ Boolean
12841 12842 12843 |
# File 'lib/code/object/date.rb', line 12841 def code_asia_qyzylorda? Boolean.new(current_time_zone_names.include?("Asia/Qyzylorda")) end |
#code_asia_rangoon? ⇒ Boolean
12845 12846 12847 |
# File 'lib/code/object/date.rb', line 12845 def code_asia_rangoon? Boolean.new(current_time_zone_names.include?("Asia/Rangoon")) end |
#code_asia_riyadh? ⇒ Boolean
12849 12850 12851 |
# File 'lib/code/object/date.rb', line 12849 def code_asia_riyadh? Boolean.new(current_time_zone_names.include?("Asia/Riyadh")) end |
#code_asia_saigon? ⇒ Boolean
12853 12854 12855 |
# File 'lib/code/object/date.rb', line 12853 def code_asia_saigon? Boolean.new(current_time_zone_names.include?("Asia/Saigon")) end |
#code_asia_sakhalin? ⇒ Boolean
12857 12858 12859 |
# File 'lib/code/object/date.rb', line 12857 def code_asia_sakhalin? Boolean.new(current_time_zone_names.include?("Asia/Sakhalin")) end |
#code_asia_samarkand? ⇒ Boolean
12861 12862 12863 |
# File 'lib/code/object/date.rb', line 12861 def code_asia_samarkand? Boolean.new(current_time_zone_names.include?("Asia/Samarkand")) end |
#code_asia_seoul? ⇒ Boolean
12865 12866 12867 |
# File 'lib/code/object/date.rb', line 12865 def code_asia_seoul? Boolean.new(current_time_zone_names.include?("Asia/Seoul")) end |
#code_asia_shanghai? ⇒ Boolean
12869 12870 12871 |
# File 'lib/code/object/date.rb', line 12869 def code_asia_shanghai? Boolean.new(current_time_zone_names.include?("Asia/Shanghai")) end |
#code_asia_singapore? ⇒ Boolean
12873 12874 12875 |
# File 'lib/code/object/date.rb', line 12873 def code_asia_singapore? Boolean.new(current_time_zone_names.include?("Asia/Singapore")) end |
#code_asia_srednekolymsk? ⇒ Boolean
12877 12878 12879 |
# File 'lib/code/object/date.rb', line 12877 def code_asia_srednekolymsk? Boolean.new(current_time_zone_names.include?("Asia/Srednekolymsk")) end |
#code_asia_taipei? ⇒ Boolean
12881 12882 12883 |
# File 'lib/code/object/date.rb', line 12881 def code_asia_taipei? Boolean.new(current_time_zone_names.include?("Asia/Taipei")) end |
#code_asia_tashkent? ⇒ Boolean
12885 12886 12887 |
# File 'lib/code/object/date.rb', line 12885 def code_asia_tashkent? Boolean.new(current_time_zone_names.include?("Asia/Tashkent")) end |
#code_asia_tbilisi? ⇒ Boolean
12889 12890 12891 |
# File 'lib/code/object/date.rb', line 12889 def code_asia_tbilisi? Boolean.new(current_time_zone_names.include?("Asia/Tbilisi")) end |
#code_asia_tehran? ⇒ Boolean
12893 12894 12895 |
# File 'lib/code/object/date.rb', line 12893 def code_asia_tehran? Boolean.new(current_time_zone_names.include?("Asia/Tehran")) end |
#code_asia_tel_aviv? ⇒ Boolean
12897 12898 12899 |
# File 'lib/code/object/date.rb', line 12897 def code_asia_tel_aviv? Boolean.new(current_time_zone_names.include?("Asia/Tel_Aviv")) end |
#code_asia_thimbu? ⇒ Boolean
12901 12902 12903 |
# File 'lib/code/object/date.rb', line 12901 def code_asia_thimbu? Boolean.new(current_time_zone_names.include?("Asia/Thimbu")) end |
#code_asia_thimphu? ⇒ Boolean
12905 12906 12907 |
# File 'lib/code/object/date.rb', line 12905 def code_asia_thimphu? Boolean.new(current_time_zone_names.include?("Asia/Thimphu")) end |
#code_asia_tokyo? ⇒ Boolean
12909 12910 12911 |
# File 'lib/code/object/date.rb', line 12909 def code_asia_tokyo? Boolean.new(current_time_zone_names.include?("Asia/Tokyo")) end |
#code_asia_tomsk? ⇒ Boolean
12913 12914 12915 |
# File 'lib/code/object/date.rb', line 12913 def code_asia_tomsk? Boolean.new(current_time_zone_names.include?("Asia/Tomsk")) end |
#code_asia_ujung_pandang? ⇒ Boolean
12917 12918 12919 |
# File 'lib/code/object/date.rb', line 12917 def code_asia_ujung_pandang? Boolean.new(current_time_zone_names.include?("Asia/Ujung_Pandang")) end |
#code_asia_ulaanbaatar? ⇒ Boolean
12921 12922 12923 |
# File 'lib/code/object/date.rb', line 12921 def code_asia_ulaanbaatar? Boolean.new(current_time_zone_names.include?("Asia/Ulaanbaatar")) end |
#code_asia_ulan_bator? ⇒ Boolean
12925 12926 12927 |
# File 'lib/code/object/date.rb', line 12925 def code_asia_ulan_bator? Boolean.new(current_time_zone_names.include?("Asia/Ulan_Bator")) end |
#code_asia_urumqi? ⇒ Boolean
12929 12930 12931 |
# File 'lib/code/object/date.rb', line 12929 def code_asia_urumqi? Boolean.new(current_time_zone_names.include?("Asia/Urumqi")) end |
#code_asia_ust_minus_nera? ⇒ Boolean
12933 12934 12935 |
# File 'lib/code/object/date.rb', line 12933 def code_asia_ust_minus_nera? Boolean.new(current_time_zone_names.include?("Asia/Ust-Nera")) end |
#code_asia_vientiane? ⇒ Boolean
12937 12938 12939 |
# File 'lib/code/object/date.rb', line 12937 def code_asia_vientiane? Boolean.new(current_time_zone_names.include?("Asia/Vientiane")) end |
#code_asia_vladivostok? ⇒ Boolean
12941 12942 12943 |
# File 'lib/code/object/date.rb', line 12941 def code_asia_vladivostok? Boolean.new(current_time_zone_names.include?("Asia/Vladivostok")) end |
#code_asia_yakutsk? ⇒ Boolean
12945 12946 12947 |
# File 'lib/code/object/date.rb', line 12945 def code_asia_yakutsk? Boolean.new(current_time_zone_names.include?("Asia/Yakutsk")) end |
#code_asia_yangon? ⇒ Boolean
12949 12950 12951 |
# File 'lib/code/object/date.rb', line 12949 def code_asia_yangon? Boolean.new(current_time_zone_names.include?("Asia/Yangon")) end |
#code_asia_yekaterinburg? ⇒ Boolean
12953 12954 12955 |
# File 'lib/code/object/date.rb', line 12953 def code_asia_yekaterinburg? Boolean.new(current_time_zone_names.include?("Asia/Yekaterinburg")) end |
#code_asia_yerevan? ⇒ Boolean
12957 12958 12959 |
# File 'lib/code/object/date.rb', line 12957 def code_asia_yerevan? Boolean.new(current_time_zone_names.include?("Asia/Yerevan")) end |
#code_atlantic_azores? ⇒ Boolean
12961 12962 12963 |
# File 'lib/code/object/date.rb', line 12961 def code_atlantic_azores? Boolean.new(current_time_zone_names.include?("Atlantic/Azores")) end |
#code_atlantic_bermuda? ⇒ Boolean
12965 12966 12967 |
# File 'lib/code/object/date.rb', line 12965 def code_atlantic_bermuda? Boolean.new(current_time_zone_names.include?("Atlantic/Bermuda")) end |
#code_atlantic_canary? ⇒ Boolean
12969 12970 12971 |
# File 'lib/code/object/date.rb', line 12969 def code_atlantic_canary? Boolean.new(current_time_zone_names.include?("Atlantic/Canary")) end |
#code_atlantic_cape_verde? ⇒ Boolean
12973 12974 12975 |
# File 'lib/code/object/date.rb', line 12973 def code_atlantic_cape_verde? Boolean.new(current_time_zone_names.include?("Atlantic/Cape_Verde")) end |
#code_atlantic_faeroe? ⇒ Boolean
12977 12978 12979 |
# File 'lib/code/object/date.rb', line 12977 def code_atlantic_faeroe? Boolean.new(current_time_zone_names.include?("Atlantic/Faeroe")) end |
#code_atlantic_faroe? ⇒ Boolean
12981 12982 12983 |
# File 'lib/code/object/date.rb', line 12981 def code_atlantic_faroe? Boolean.new(current_time_zone_names.include?("Atlantic/Faroe")) end |
#code_atlantic_jan_mayen? ⇒ Boolean
12985 12986 12987 |
# File 'lib/code/object/date.rb', line 12985 def code_atlantic_jan_mayen? Boolean.new(current_time_zone_names.include?("Atlantic/Jan_Mayen")) end |
#code_atlantic_madeira? ⇒ Boolean
12989 12990 12991 |
# File 'lib/code/object/date.rb', line 12989 def code_atlantic_madeira? Boolean.new(current_time_zone_names.include?("Atlantic/Madeira")) end |
#code_atlantic_reykjavik? ⇒ Boolean
12993 12994 12995 |
# File 'lib/code/object/date.rb', line 12993 def code_atlantic_reykjavik? Boolean.new(current_time_zone_names.include?("Atlantic/Reykjavik")) end |
#code_atlantic_south_georgia? ⇒ Boolean
12997 12998 12999 |
# File 'lib/code/object/date.rb', line 12997 def code_atlantic_south_georgia? Boolean.new(current_time_zone_names.include?("Atlantic/South_Georgia")) end |
#code_atlantic_st_helena? ⇒ Boolean
13001 13002 13003 |
# File 'lib/code/object/date.rb', line 13001 def code_atlantic_st_helena? Boolean.new(current_time_zone_names.include?("Atlantic/St_Helena")) end |
#code_atlantic_stanley? ⇒ Boolean
13005 13006 13007 |
# File 'lib/code/object/date.rb', line 13005 def code_atlantic_stanley? Boolean.new(current_time_zone_names.include?("Atlantic/Stanley")) end |
#code_august? ⇒ Boolean
11507 11508 11509 |
# File 'lib/code/object/date.rb', line 11507 def code_august? code_month.code_eight? end |
#code_australia_act? ⇒ Boolean
13009 13010 13011 |
# File 'lib/code/object/date.rb', line 13009 def code_australia_act? Boolean.new(current_time_zone_names.include?("Australia/ACT")) end |
#code_australia_adelaide? ⇒ Boolean
13013 13014 13015 |
# File 'lib/code/object/date.rb', line 13013 def code_australia_adelaide? Boolean.new(current_time_zone_names.include?("Australia/Adelaide")) end |
#code_australia_brisbane? ⇒ Boolean
13017 13018 13019 |
# File 'lib/code/object/date.rb', line 13017 def code_australia_brisbane? Boolean.new(current_time_zone_names.include?("Australia/Brisbane")) end |
#code_australia_broken_hill? ⇒ Boolean
13021 13022 13023 |
# File 'lib/code/object/date.rb', line 13021 def code_australia_broken_hill? Boolean.new(current_time_zone_names.include?("Australia/Broken_Hill")) end |
#code_australia_canberra? ⇒ Boolean
13025 13026 13027 |
# File 'lib/code/object/date.rb', line 13025 def code_australia_canberra? Boolean.new(current_time_zone_names.include?("Australia/Canberra")) end |
#code_australia_currie? ⇒ Boolean
13029 13030 13031 |
# File 'lib/code/object/date.rb', line 13029 def code_australia_currie? Boolean.new(current_time_zone_names.include?("Australia/Currie")) end |
#code_australia_darwin? ⇒ Boolean
13033 13034 13035 |
# File 'lib/code/object/date.rb', line 13033 def code_australia_darwin? Boolean.new(current_time_zone_names.include?("Australia/Darwin")) end |
#code_australia_eucla? ⇒ Boolean
13037 13038 13039 |
# File 'lib/code/object/date.rb', line 13037 def code_australia_eucla? Boolean.new(current_time_zone_names.include?("Australia/Eucla")) end |
#code_australia_hobart? ⇒ Boolean
13041 13042 13043 |
# File 'lib/code/object/date.rb', line 13041 def Boolean.new(current_time_zone_names.include?("Australia/Hobart")) end |
#code_australia_lhi? ⇒ Boolean
13045 13046 13047 |
# File 'lib/code/object/date.rb', line 13045 def code_australia_lhi? Boolean.new(current_time_zone_names.include?("Australia/LHI")) end |
#code_australia_lindeman? ⇒ Boolean
13049 13050 13051 |
# File 'lib/code/object/date.rb', line 13049 def code_australia_lindeman? Boolean.new(current_time_zone_names.include?("Australia/Lindeman")) end |
#code_australia_lord_howe? ⇒ Boolean
13053 13054 13055 |
# File 'lib/code/object/date.rb', line 13053 def code_australia_lord_howe? Boolean.new(current_time_zone_names.include?("Australia/Lord_Howe")) end |
#code_australia_melbourne? ⇒ Boolean
13057 13058 13059 |
# File 'lib/code/object/date.rb', line 13057 def code_australia_melbourne? Boolean.new(current_time_zone_names.include?("Australia/Melbourne")) end |
#code_australia_north? ⇒ Boolean
13065 13066 13067 |
# File 'lib/code/object/date.rb', line 13065 def code_australia_north? Boolean.new(current_time_zone_names.include?("Australia/North")) end |
#code_australia_nsw? ⇒ Boolean
13061 13062 13063 |
# File 'lib/code/object/date.rb', line 13061 def code_australia_nsw? Boolean.new(current_time_zone_names.include?("Australia/NSW")) end |
#code_australia_perth? ⇒ Boolean
13069 13070 13071 |
# File 'lib/code/object/date.rb', line 13069 def code_australia_perth? Boolean.new(current_time_zone_names.include?("Australia/Perth")) end |
#code_australia_queensland? ⇒ Boolean
13073 13074 13075 |
# File 'lib/code/object/date.rb', line 13073 def code_australia_queensland? Boolean.new(current_time_zone_names.include?("Australia/Queensland")) end |
#code_australia_south? ⇒ Boolean
13077 13078 13079 |
# File 'lib/code/object/date.rb', line 13077 def code_australia_south? Boolean.new(current_time_zone_names.include?("Australia/South")) end |
#code_australia_sydney? ⇒ Boolean
13081 13082 13083 |
# File 'lib/code/object/date.rb', line 13081 def code_australia_sydney? Boolean.new(current_time_zone_names.include?("Australia/Sydney")) end |
#code_australia_tasmania? ⇒ Boolean
13085 13086 13087 |
# File 'lib/code/object/date.rb', line 13085 def code_australia_tasmania? Boolean.new(current_time_zone_names.include?("Australia/Tasmania")) end |
#code_australia_victoria? ⇒ Boolean
13089 13090 13091 |
# File 'lib/code/object/date.rb', line 13089 def code_australia_victoria? Boolean.new(current_time_zone_names.include?("Australia/Victoria")) end |
#code_australia_west? ⇒ Boolean
13093 13094 13095 |
# File 'lib/code/object/date.rb', line 13093 def code_australia_west? Boolean.new(current_time_zone_names.include?("Australia/West")) end |
#code_australia_yancowinna? ⇒ Boolean
13097 13098 13099 |
# File 'lib/code/object/date.rb', line 13097 def code_australia_yancowinna? Boolean.new(current_time_zone_names.include?("Australia/Yancowinna")) end |
#code_before?(other = nil) ⇒ Boolean
11396 11397 11398 11399 11400 11401 |
# File 'lib/code/object/date.rb', line 11396 def code_before?(other = nil) code_other = other.to_code code_other = Date.new if code_other.nothing? Boolean.new(raw.before?(code_other.raw)) end |
#code_beginning_of_day ⇒ Object
14056 14057 14058 |
# File 'lib/code/object/date.rb', line 14056 def code_beginning_of_day Time.new(raw.beginning_of_day) end |
#code_brazil_acre? ⇒ Boolean
13101 13102 13103 |
# File 'lib/code/object/date.rb', line 13101 def code_brazil_acre? Boolean.new(current_time_zone_names.include?("Brazil/Acre")) end |
#code_brazil_denoronha? ⇒ Boolean
13105 13106 13107 |
# File 'lib/code/object/date.rb', line 13105 def code_brazil_denoronha? Boolean.new(current_time_zone_names.include?("Brazil/DeNoronha")) end |
#code_brazil_east? ⇒ Boolean
13109 13110 13111 |
# File 'lib/code/object/date.rb', line 13109 def code_brazil_east? Boolean.new(current_time_zone_names.include?("Brazil/East")) end |
#code_brazil_west? ⇒ Boolean
13113 13114 13115 |
# File 'lib/code/object/date.rb', line 13113 def code_brazil_west? Boolean.new(current_time_zone_names.include?("Brazil/West")) end |
#code_canada_atlantic? ⇒ Boolean
13125 13126 13127 |
# File 'lib/code/object/date.rb', line 13125 def code_canada_atlantic? Boolean.new(current_time_zone_names.include?("Canada/Atlantic")) end |
#code_canada_central? ⇒ Boolean
13129 13130 13131 |
# File 'lib/code/object/date.rb', line 13129 def code_canada_central? Boolean.new(current_time_zone_names.include?("Canada/Central")) end |
#code_canada_eastern? ⇒ Boolean
13133 13134 13135 |
# File 'lib/code/object/date.rb', line 13133 def code_canada_eastern? Boolean.new(current_time_zone_names.include?("Canada/Eastern")) end |
#code_canada_mountain? ⇒ Boolean
13137 13138 13139 |
# File 'lib/code/object/date.rb', line 13137 def code_canada_mountain? Boolean.new(current_time_zone_names.include?("Canada/Mountain")) end |
#code_canada_newfoundland? ⇒ Boolean
13141 13142 13143 |
# File 'lib/code/object/date.rb', line 13141 def code_canada_newfoundland? Boolean.new(current_time_zone_names.include?("Canada/Newfoundland")) end |
#code_canada_pacific? ⇒ Boolean
13145 13146 13147 |
# File 'lib/code/object/date.rb', line 13145 def code_canada_pacific? Boolean.new(current_time_zone_names.include?("Canada/Pacific")) end |
#code_canada_saskatchewan? ⇒ Boolean
13149 13150 13151 |
# File 'lib/code/object/date.rb', line 13149 def code_canada_saskatchewan? Boolean.new(current_time_zone_names.include?("Canada/Saskatchewan")) end |
#code_canada_yukon? ⇒ Boolean
13153 13154 13155 |
# File 'lib/code/object/date.rb', line 13153 def code_canada_yukon? Boolean.new(current_time_zone_names.include?("Canada/Yukon")) end |
#code_cet? ⇒ Boolean
13117 13118 13119 |
# File 'lib/code/object/date.rb', line 13117 def code_cet? Boolean.new(current_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) ⇒ Object
14189 14190 14191 14192 14193 14194 14195 14196 14197 14198 14199 14200 14201 14202 14203 14204 14205 14206 14207 14208 14209 14210 14211 14212 14213 14214 14215 14216 14217 14218 14219 14220 14221 14222 |
# File 'lib/code/object/date.rb', line 14189 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 ) 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 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 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 Date.new(dup) end |
#code_chile_continental? ⇒ Boolean
13157 13158 13159 |
# File 'lib/code/object/date.rb', line 13157 def code_chile_continental? Boolean.new(current_time_zone_names.include?("Chile/Continental")) end |
#code_chile_easterisland? ⇒ Boolean
13161 13162 13163 |
# File 'lib/code/object/date.rb', line 13161 def code_chile_easterisland? Boolean.new(current_time_zone_names.include?("Chile/EasterIsland")) end |
#code_cst6cdt? ⇒ Boolean
13121 13122 13123 |
# File 'lib/code/object/date.rb', line 13121 def code_cst6cdt? Boolean.new(current_time_zone_names.include?("CST6CDT")) end |
#code_cuba? ⇒ Boolean
13165 13166 13167 |
# File 'lib/code/object/date.rb', line 13165 def code_cuba? Boolean.new(current_time_zone_names.include?("Cuba")) end |
#code_current ⇒ Object
14099 14100 14101 |
# File 'lib/code/object/date.rb', line 14099 def code_current Date.new end |
#code_day ⇒ Object
11443 11444 11445 |
# File 'lib/code/object/date.rb', line 11443 def code_day Integer.new(raw.day) end |
#code_days ⇒ Object
11447 11448 11449 |
# File 'lib/code/object/date.rb', line 11447 def code_days Integer.new(raw.day) end |
#code_december? ⇒ Boolean
11523 11524 11525 |
# File 'lib/code/object/date.rb', line 11523 def code_december? code_month.code_twelve? end |
#code_eet? ⇒ Boolean
13169 13170 13171 |
# File 'lib/code/object/date.rb', line 13169 def code_eet? Boolean.new(current_time_zone_names.include?("EET")) end |
#code_egypt? ⇒ Boolean
13181 13182 13183 |
# File 'lib/code/object/date.rb', line 13181 def code_egypt? Boolean.new(current_time_zone_names.include?("Egypt")) end |
#code_eire? ⇒ Boolean
13185 13186 13187 |
# File 'lib/code/object/date.rb', line 13185 def code_eire? Boolean.new(current_time_zone_names.include?("Eire")) end |
#code_end_of_day ⇒ Object
14060 14061 14062 |
# File 'lib/code/object/date.rb', line 14060 def code_end_of_day Time.new(raw.end_of_day) end |
#code_est5edt? ⇒ Boolean
13177 13178 13179 |
# File 'lib/code/object/date.rb', line 13177 def code_est5edt? Boolean.new(current_time_zone_names.include?("EST5EDT")) end |
#code_est? ⇒ Boolean
13173 13174 13175 |
# File 'lib/code/object/date.rb', line 13173 def code_est? Boolean.new(current_time_zone_names.include?("EST")) end |
#code_etc_gmt0? ⇒ Boolean
13305 13306 13307 |
# File 'lib/code/object/date.rb', line 13305 def code_etc_gmt0? Boolean.new(current_time_zone_names.include?("Etc/GMT0")) end |
#code_etc_gmt? ⇒ Boolean
13189 13190 13191 |
# File 'lib/code/object/date.rb', line 13189 def code_etc_gmt? Boolean.new(current_time_zone_names.include?("Etc/GMT")) end |
#code_etc_gmt_minus_0? ⇒ Boolean
13245 13246 13247 |
# File 'lib/code/object/date.rb', line 13245 def code_etc_gmt_minus_0? Boolean.new(current_time_zone_names.include?("Etc/GMT-0")) end |
#code_etc_gmt_minus_10? ⇒ Boolean
13253 13254 13255 |
# File 'lib/code/object/date.rb', line 13253 def code_etc_gmt_minus_10? Boolean.new(current_time_zone_names.include?("Etc/GMT-10")) end |
#code_etc_gmt_minus_11? ⇒ Boolean
13257 13258 13259 |
# File 'lib/code/object/date.rb', line 13257 def code_etc_gmt_minus_11? Boolean.new(current_time_zone_names.include?("Etc/GMT-11")) end |
#code_etc_gmt_minus_12? ⇒ Boolean
13261 13262 13263 |
# File 'lib/code/object/date.rb', line 13261 def code_etc_gmt_minus_12? Boolean.new(current_time_zone_names.include?("Etc/GMT-12")) end |
#code_etc_gmt_minus_13? ⇒ Boolean
13265 13266 13267 |
# File 'lib/code/object/date.rb', line 13265 def code_etc_gmt_minus_13? Boolean.new(current_time_zone_names.include?("Etc/GMT-13")) end |
#code_etc_gmt_minus_14? ⇒ Boolean
13269 13270 13271 |
# File 'lib/code/object/date.rb', line 13269 def code_etc_gmt_minus_14? Boolean.new(current_time_zone_names.include?("Etc/GMT-14")) end |
#code_etc_gmt_minus_1? ⇒ Boolean
13249 13250 13251 |
# File 'lib/code/object/date.rb', line 13249 def code_etc_gmt_minus_1? Boolean.new(current_time_zone_names.include?("Etc/GMT-1")) end |
#code_etc_gmt_minus_2? ⇒ Boolean
13273 13274 13275 |
# File 'lib/code/object/date.rb', line 13273 def code_etc_gmt_minus_2? Boolean.new(current_time_zone_names.include?("Etc/GMT-2")) end |
#code_etc_gmt_minus_3? ⇒ Boolean
13277 13278 13279 |
# File 'lib/code/object/date.rb', line 13277 def code_etc_gmt_minus_3? Boolean.new(current_time_zone_names.include?("Etc/GMT-3")) end |
#code_etc_gmt_minus_4? ⇒ Boolean
13281 13282 13283 |
# File 'lib/code/object/date.rb', line 13281 def code_etc_gmt_minus_4? Boolean.new(current_time_zone_names.include?("Etc/GMT-4")) end |
#code_etc_gmt_minus_5? ⇒ Boolean
13285 13286 13287 |
# File 'lib/code/object/date.rb', line 13285 def code_etc_gmt_minus_5? Boolean.new(current_time_zone_names.include?("Etc/GMT-5")) end |
#code_etc_gmt_minus_6? ⇒ Boolean
13289 13290 13291 |
# File 'lib/code/object/date.rb', line 13289 def code_etc_gmt_minus_6? Boolean.new(current_time_zone_names.include?("Etc/GMT-6")) end |
#code_etc_gmt_minus_7? ⇒ Boolean
13293 13294 13295 |
# File 'lib/code/object/date.rb', line 13293 def code_etc_gmt_minus_7? Boolean.new(current_time_zone_names.include?("Etc/GMT-7")) end |
#code_etc_gmt_minus_8? ⇒ Boolean
13297 13298 13299 |
# File 'lib/code/object/date.rb', line 13297 def code_etc_gmt_minus_8? Boolean.new(current_time_zone_names.include?("Etc/GMT-8")) end |
#code_etc_gmt_minus_9? ⇒ Boolean
13301 13302 13303 |
# File 'lib/code/object/date.rb', line 13301 def code_etc_gmt_minus_9? Boolean.new(current_time_zone_names.include?("Etc/GMT-9")) end |
#code_etc_gmt_plus_0? ⇒ Boolean
13193 13194 13195 |
# File 'lib/code/object/date.rb', line 13193 def code_etc_gmt_plus_0? Boolean.new(current_time_zone_names.include?("Etc/GMT+0")) end |
#code_etc_gmt_plus_10? ⇒ Boolean
13201 13202 13203 |
# File 'lib/code/object/date.rb', line 13201 def code_etc_gmt_plus_10? Boolean.new(current_time_zone_names.include?("Etc/GMT+10")) end |
#code_etc_gmt_plus_11? ⇒ Boolean
13205 13206 13207 |
# File 'lib/code/object/date.rb', line 13205 def code_etc_gmt_plus_11? Boolean.new(current_time_zone_names.include?("Etc/GMT+11")) end |
#code_etc_gmt_plus_12? ⇒ Boolean
13209 13210 13211 |
# File 'lib/code/object/date.rb', line 13209 def code_etc_gmt_plus_12? Boolean.new(current_time_zone_names.include?("Etc/GMT+12")) end |
#code_etc_gmt_plus_1? ⇒ Boolean
13197 13198 13199 |
# File 'lib/code/object/date.rb', line 13197 def code_etc_gmt_plus_1? Boolean.new(current_time_zone_names.include?("Etc/GMT+1")) end |
#code_etc_gmt_plus_2? ⇒ Boolean
13213 13214 13215 |
# File 'lib/code/object/date.rb', line 13213 def code_etc_gmt_plus_2? Boolean.new(current_time_zone_names.include?("Etc/GMT+2")) end |
#code_etc_gmt_plus_3? ⇒ Boolean
13217 13218 13219 |
# File 'lib/code/object/date.rb', line 13217 def code_etc_gmt_plus_3? Boolean.new(current_time_zone_names.include?("Etc/GMT+3")) end |
#code_etc_gmt_plus_4? ⇒ Boolean
13221 13222 13223 |
# File 'lib/code/object/date.rb', line 13221 def code_etc_gmt_plus_4? Boolean.new(current_time_zone_names.include?("Etc/GMT+4")) end |
#code_etc_gmt_plus_5? ⇒ Boolean
13225 13226 13227 |
# File 'lib/code/object/date.rb', line 13225 def code_etc_gmt_plus_5? Boolean.new(current_time_zone_names.include?("Etc/GMT+5")) end |
#code_etc_gmt_plus_6? ⇒ Boolean
13229 13230 13231 |
# File 'lib/code/object/date.rb', line 13229 def code_etc_gmt_plus_6? Boolean.new(current_time_zone_names.include?("Etc/GMT+6")) end |
#code_etc_gmt_plus_7? ⇒ Boolean
13233 13234 13235 |
# File 'lib/code/object/date.rb', line 13233 def code_etc_gmt_plus_7? Boolean.new(current_time_zone_names.include?("Etc/GMT+7")) end |
#code_etc_gmt_plus_8? ⇒ Boolean
13237 13238 13239 |
# File 'lib/code/object/date.rb', line 13237 def code_etc_gmt_plus_8? Boolean.new(current_time_zone_names.include?("Etc/GMT+8")) end |
#code_etc_gmt_plus_9? ⇒ Boolean
13241 13242 13243 |
# File 'lib/code/object/date.rb', line 13241 def code_etc_gmt_plus_9? Boolean.new(current_time_zone_names.include?("Etc/GMT+9")) end |
#code_etc_greenwich? ⇒ Boolean
13309 13310 13311 |
# File 'lib/code/object/date.rb', line 13309 def code_etc_greenwich? Boolean.new(current_time_zone_names.include?("Etc/Greenwich")) end |
#code_etc_uct? ⇒ Boolean
13313 13314 13315 |
# File 'lib/code/object/date.rb', line 13313 def code_etc_uct? Boolean.new(current_time_zone_names.include?("Etc/UCT")) end |
#code_etc_universal? ⇒ Boolean
13321 13322 13323 |
# File 'lib/code/object/date.rb', line 13321 def code_etc_universal? Boolean.new(current_time_zone_names.include?("Etc/Universal")) end |
#code_etc_utc? ⇒ Boolean
13317 13318 13319 |
# File 'lib/code/object/date.rb', line 13317 def code_etc_utc? Boolean.new(current_time_zone_names.include?("Etc/UTC")) end |
#code_etc_zulu? ⇒ Boolean
13325 13326 13327 |
# File 'lib/code/object/date.rb', line 13325 def code_etc_zulu? Boolean.new(current_time_zone_names.include?("Etc/Zulu")) end |
#code_europe_amsterdam? ⇒ Boolean
13329 13330 13331 |
# File 'lib/code/object/date.rb', line 13329 def code_europe_amsterdam? Boolean.new(current_time_zone_names.include?("Europe/Amsterdam")) end |
#code_europe_andorra? ⇒ Boolean
13333 13334 13335 |
# File 'lib/code/object/date.rb', line 13333 def code_europe_andorra? Boolean.new(current_time_zone_names.include?("Europe/Andorra")) end |
#code_europe_astrakhan? ⇒ Boolean
13337 13338 13339 |
# File 'lib/code/object/date.rb', line 13337 def code_europe_astrakhan? Boolean.new(current_time_zone_names.include?("Europe/Astrakhan")) end |
#code_europe_athens? ⇒ Boolean
13341 13342 13343 |
# File 'lib/code/object/date.rb', line 13341 def code_europe_athens? Boolean.new(current_time_zone_names.include?("Europe/Athens")) end |
#code_europe_belfast? ⇒ Boolean
13345 13346 13347 |
# File 'lib/code/object/date.rb', line 13345 def code_europe_belfast? Boolean.new(current_time_zone_names.include?("Europe/Belfast")) end |
#code_europe_belgrade? ⇒ Boolean
13349 13350 13351 |
# File 'lib/code/object/date.rb', line 13349 def code_europe_belgrade? Boolean.new(current_time_zone_names.include?("Europe/Belgrade")) end |
#code_europe_berlin? ⇒ Boolean
13353 13354 13355 |
# File 'lib/code/object/date.rb', line 13353 def code_europe_berlin? Boolean.new(current_time_zone_names.include?("Europe/Berlin")) end |
#code_europe_bratislava? ⇒ Boolean
13357 13358 13359 |
# File 'lib/code/object/date.rb', line 13357 def code_europe_bratislava? Boolean.new(current_time_zone_names.include?("Europe/Bratislava")) end |
#code_europe_brussels? ⇒ Boolean
13361 13362 13363 |
# File 'lib/code/object/date.rb', line 13361 def code_europe_brussels? Boolean.new(current_time_zone_names.include?("Europe/Brussels")) end |
#code_europe_bucharest? ⇒ Boolean
13365 13366 13367 |
# File 'lib/code/object/date.rb', line 13365 def code_europe_bucharest? Boolean.new(current_time_zone_names.include?("Europe/Bucharest")) end |
#code_europe_budapest? ⇒ Boolean
13369 13370 13371 |
# File 'lib/code/object/date.rb', line 13369 def code_europe_budapest? Boolean.new(current_time_zone_names.include?("Europe/Budapest")) end |
#code_europe_busingen? ⇒ Boolean
13373 13374 13375 |
# File 'lib/code/object/date.rb', line 13373 def code_europe_busingen? Boolean.new(current_time_zone_names.include?("Europe/Busingen")) end |
#code_europe_chisinau? ⇒ Boolean
13377 13378 13379 |
# File 'lib/code/object/date.rb', line 13377 def code_europe_chisinau? Boolean.new(current_time_zone_names.include?("Europe/Chisinau")) end |
#code_europe_copenhagen? ⇒ Boolean
13381 13382 13383 |
# File 'lib/code/object/date.rb', line 13381 def code_europe_copenhagen? Boolean.new(current_time_zone_names.include?("Europe/Copenhagen")) end |
#code_europe_dublin? ⇒ Boolean
13385 13386 13387 |
# File 'lib/code/object/date.rb', line 13385 def code_europe_dublin? Boolean.new(current_time_zone_names.include?("Europe/Dublin")) end |
#code_europe_gibraltar? ⇒ Boolean
13389 13390 13391 |
# File 'lib/code/object/date.rb', line 13389 def code_europe_gibraltar? Boolean.new(current_time_zone_names.include?("Europe/Gibraltar")) end |
#code_europe_guernsey? ⇒ Boolean
13393 13394 13395 |
# File 'lib/code/object/date.rb', line 13393 def code_europe_guernsey? Boolean.new(current_time_zone_names.include?("Europe/Guernsey")) end |
#code_europe_helsinki? ⇒ Boolean
13397 13398 13399 |
# File 'lib/code/object/date.rb', line 13397 def code_europe_helsinki? Boolean.new(current_time_zone_names.include?("Europe/Helsinki")) end |
#code_europe_isle_of_man? ⇒ Boolean
13401 13402 13403 |
# File 'lib/code/object/date.rb', line 13401 def code_europe_isle_of_man? Boolean.new(current_time_zone_names.include?("Europe/Isle_of_Man")) end |
#code_europe_istanbul? ⇒ Boolean
13405 13406 13407 |
# File 'lib/code/object/date.rb', line 13405 def code_europe_istanbul? Boolean.new(current_time_zone_names.include?("Europe/Istanbul")) end |
#code_europe_jersey? ⇒ Boolean
13409 13410 13411 |
# File 'lib/code/object/date.rb', line 13409 def code_europe_jersey? Boolean.new(current_time_zone_names.include?("Europe/Jersey")) end |
#code_europe_kaliningrad? ⇒ Boolean
13413 13414 13415 |
# File 'lib/code/object/date.rb', line 13413 def code_europe_kaliningrad? Boolean.new(current_time_zone_names.include?("Europe/Kaliningrad")) end |
#code_europe_kiev? ⇒ Boolean
13417 13418 13419 |
# File 'lib/code/object/date.rb', line 13417 def code_europe_kiev? Boolean.new(current_time_zone_names.include?("Europe/Kiev")) end |
#code_europe_kirov? ⇒ Boolean
13421 13422 13423 |
# File 'lib/code/object/date.rb', line 13421 def code_europe_kirov? Boolean.new(current_time_zone_names.include?("Europe/Kirov")) end |
#code_europe_kyiv? ⇒ Boolean
13425 13426 13427 |
# File 'lib/code/object/date.rb', line 13425 def code_europe_kyiv? Boolean.new(current_time_zone_names.include?("Europe/Kyiv")) end |
#code_europe_lisbon? ⇒ Boolean
13429 13430 13431 |
# File 'lib/code/object/date.rb', line 13429 def code_europe_lisbon? Boolean.new(current_time_zone_names.include?("Europe/Lisbon")) end |
#code_europe_ljubljana? ⇒ Boolean
13433 13434 13435 |
# File 'lib/code/object/date.rb', line 13433 def code_europe_ljubljana? Boolean.new(current_time_zone_names.include?("Europe/Ljubljana")) end |
#code_europe_london? ⇒ Boolean
13437 13438 13439 |
# File 'lib/code/object/date.rb', line 13437 def code_europe_london? Boolean.new(current_time_zone_names.include?("Europe/London")) end |
#code_europe_luxembourg? ⇒ Boolean
13441 13442 13443 |
# File 'lib/code/object/date.rb', line 13441 def code_europe_luxembourg? Boolean.new(current_time_zone_names.include?("Europe/Luxembourg")) end |
#code_europe_madrid? ⇒ Boolean
13445 13446 13447 |
# File 'lib/code/object/date.rb', line 13445 def code_europe_madrid? Boolean.new(current_time_zone_names.include?("Europe/Madrid")) end |
#code_europe_malta? ⇒ Boolean
13449 13450 13451 |
# File 'lib/code/object/date.rb', line 13449 def code_europe_malta? Boolean.new(current_time_zone_names.include?("Europe/Malta")) end |
#code_europe_mariehamn? ⇒ Boolean
13453 13454 13455 |
# File 'lib/code/object/date.rb', line 13453 def code_europe_mariehamn? Boolean.new(current_time_zone_names.include?("Europe/Mariehamn")) end |
#code_europe_minsk? ⇒ Boolean
13457 13458 13459 |
# File 'lib/code/object/date.rb', line 13457 def code_europe_minsk? Boolean.new(current_time_zone_names.include?("Europe/Minsk")) end |
#code_europe_monaco? ⇒ Boolean
13461 13462 13463 |
# File 'lib/code/object/date.rb', line 13461 def code_europe_monaco? Boolean.new(current_time_zone_names.include?("Europe/Monaco")) end |
#code_europe_moscow? ⇒ Boolean
13465 13466 13467 |
# File 'lib/code/object/date.rb', line 13465 def code_europe_moscow? Boolean.new(current_time_zone_names.include?("Europe/Moscow")) end |
#code_europe_nicosia? ⇒ Boolean
13469 13470 13471 |
# File 'lib/code/object/date.rb', line 13469 def code_europe_nicosia? Boolean.new(current_time_zone_names.include?("Europe/Nicosia")) end |
#code_europe_oslo? ⇒ Boolean
13473 13474 13475 |
# File 'lib/code/object/date.rb', line 13473 def code_europe_oslo? Boolean.new(current_time_zone_names.include?("Europe/Oslo")) end |
#code_europe_paris? ⇒ Boolean
13477 13478 13479 |
# File 'lib/code/object/date.rb', line 13477 def code_europe_paris? Boolean.new(current_time_zone_names.include?("Europe/Paris")) end |
#code_europe_podgorica? ⇒ Boolean
13481 13482 13483 |
# File 'lib/code/object/date.rb', line 13481 def code_europe_podgorica? Boolean.new(current_time_zone_names.include?("Europe/Podgorica")) end |
#code_europe_prague? ⇒ Boolean
13485 13486 13487 |
# File 'lib/code/object/date.rb', line 13485 def code_europe_prague? Boolean.new(current_time_zone_names.include?("Europe/Prague")) end |
#code_europe_riga? ⇒ Boolean
13489 13490 13491 |
# File 'lib/code/object/date.rb', line 13489 def code_europe_riga? Boolean.new(current_time_zone_names.include?("Europe/Riga")) end |
#code_europe_rome? ⇒ Boolean
13493 13494 13495 |
# File 'lib/code/object/date.rb', line 13493 def code_europe_rome? Boolean.new(current_time_zone_names.include?("Europe/Rome")) end |
#code_europe_samara? ⇒ Boolean
13497 13498 13499 |
# File 'lib/code/object/date.rb', line 13497 def code_europe_samara? Boolean.new(current_time_zone_names.include?("Europe/Samara")) end |
#code_europe_san_marino? ⇒ Boolean
13501 13502 13503 |
# File 'lib/code/object/date.rb', line 13501 def code_europe_san_marino? Boolean.new(current_time_zone_names.include?("Europe/San_Marino")) end |
#code_europe_sarajevo? ⇒ Boolean
13505 13506 13507 |
# File 'lib/code/object/date.rb', line 13505 def code_europe_sarajevo? Boolean.new(current_time_zone_names.include?("Europe/Sarajevo")) end |
#code_europe_saratov? ⇒ Boolean
13509 13510 13511 |
# File 'lib/code/object/date.rb', line 13509 def code_europe_saratov? Boolean.new(current_time_zone_names.include?("Europe/Saratov")) end |
#code_europe_simferopol? ⇒ Boolean
13513 13514 13515 |
# File 'lib/code/object/date.rb', line 13513 def code_europe_simferopol? Boolean.new(current_time_zone_names.include?("Europe/Simferopol")) end |
#code_europe_skopje? ⇒ Boolean
13517 13518 13519 |
# File 'lib/code/object/date.rb', line 13517 def code_europe_skopje? Boolean.new(current_time_zone_names.include?("Europe/Skopje")) end |
#code_europe_sofia? ⇒ Boolean
13521 13522 13523 |
# File 'lib/code/object/date.rb', line 13521 def code_europe_sofia? Boolean.new(current_time_zone_names.include?("Europe/Sofia")) end |
#code_europe_stockholm? ⇒ Boolean
13525 13526 13527 |
# File 'lib/code/object/date.rb', line 13525 def code_europe_stockholm? Boolean.new(current_time_zone_names.include?("Europe/Stockholm")) end |
#code_europe_tallinn? ⇒ Boolean
13529 13530 13531 |
# File 'lib/code/object/date.rb', line 13529 def code_europe_tallinn? Boolean.new(current_time_zone_names.include?("Europe/Tallinn")) end |
#code_europe_tirane? ⇒ Boolean
13533 13534 13535 |
# File 'lib/code/object/date.rb', line 13533 def code_europe_tirane? Boolean.new(current_time_zone_names.include?("Europe/Tirane")) end |
#code_europe_tiraspol? ⇒ Boolean
13537 13538 13539 |
# File 'lib/code/object/date.rb', line 13537 def code_europe_tiraspol? Boolean.new(current_time_zone_names.include?("Europe/Tiraspol")) end |
#code_europe_ulyanovsk? ⇒ Boolean
13541 13542 13543 |
# File 'lib/code/object/date.rb', line 13541 def code_europe_ulyanovsk? Boolean.new(current_time_zone_names.include?("Europe/Ulyanovsk")) end |
#code_europe_uzhgorod? ⇒ Boolean
13545 13546 13547 |
# File 'lib/code/object/date.rb', line 13545 def code_europe_uzhgorod? Boolean.new(current_time_zone_names.include?("Europe/Uzhgorod")) end |
#code_europe_vaduz? ⇒ Boolean
13549 13550 13551 |
# File 'lib/code/object/date.rb', line 13549 def code_europe_vaduz? Boolean.new(current_time_zone_names.include?("Europe/Vaduz")) end |
#code_europe_vatican? ⇒ Boolean
13553 13554 13555 |
# File 'lib/code/object/date.rb', line 13553 def code_europe_vatican? Boolean.new(current_time_zone_names.include?("Europe/Vatican")) end |
#code_europe_vienna? ⇒ Boolean
13557 13558 13559 |
# File 'lib/code/object/date.rb', line 13557 def code_europe_vienna? Boolean.new(current_time_zone_names.include?("Europe/Vienna")) end |
#code_europe_vilnius? ⇒ Boolean
13561 13562 13563 |
# File 'lib/code/object/date.rb', line 13561 def code_europe_vilnius? Boolean.new(current_time_zone_names.include?("Europe/Vilnius")) end |
#code_europe_volgograd? ⇒ Boolean
13565 13566 13567 |
# File 'lib/code/object/date.rb', line 13565 def code_europe_volgograd? Boolean.new(current_time_zone_names.include?("Europe/Volgograd")) end |
#code_europe_warsaw? ⇒ Boolean
13569 13570 13571 |
# File 'lib/code/object/date.rb', line 13569 def code_europe_warsaw? Boolean.new(current_time_zone_names.include?("Europe/Warsaw")) end |
#code_europe_zagreb? ⇒ Boolean
13573 13574 13575 |
# File 'lib/code/object/date.rb', line 13573 def code_europe_zagreb? Boolean.new(current_time_zone_names.include?("Europe/Zagreb")) end |
#code_europe_zaporozhye? ⇒ Boolean
13577 13578 13579 |
# File 'lib/code/object/date.rb', line 13577 def code_europe_zaporozhye? Boolean.new(current_time_zone_names.include?("Europe/Zaporozhye")) end |
#code_europe_zurich? ⇒ Boolean
13581 13582 13583 |
# File 'lib/code/object/date.rb', line 13581 def code_europe_zurich? Boolean.new(current_time_zone_names.include?("Europe/Zurich")) end |
#code_factory? ⇒ Boolean
13585 13586 13587 |
# File 'lib/code/object/date.rb', line 13585 def code_factory? Boolean.new(current_time_zone_names.include?("Factory")) end |
#code_february? ⇒ Boolean
11483 11484 11485 |
# File 'lib/code/object/date.rb', line 11483 def code_february? code_month.code_two? end |
#code_format(format, locale: nil) ⇒ Object
11527 11528 11529 11530 11531 11532 11533 11534 11535 11536 11537 11538 11539 11540 11541 11542 11543 11544 11545 |
# File 'lib/code/object/date.rb', line 11527 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?( "date.formats.#{format}", locale ) String.new(::I18n.l(raw, format: format, locale: locale)) end |
#code_format_locale_from_arguments(code_arguments) ⇒ Object
14064 14065 14066 14067 14068 14069 |
# File 'lib/code/object/date.rb', line 14064 def code_format_locale_from_arguments(code_arguments) = code_arguments.raw[1].to_code return Nothing.new unless .is_a?(Dictionary) .code_get(:locale) end |
#code_friday? ⇒ Boolean
11467 11468 11469 |
# File 'lib/code/object/date.rb', line 11467 def code_friday? code_week_day.code_five? end |
#code_future? ⇒ Boolean
11407 11408 11409 |
# File 'lib/code/object/date.rb', line 11407 def code_future? code_after? end |
#code_gb? ⇒ Boolean
13589 13590 13591 |
# File 'lib/code/object/date.rb', line 13589 def code_gb? Boolean.new(current_time_zone_names.include?("GB")) end |
#code_gb_minus_eire? ⇒ Boolean
13593 13594 13595 |
# File 'lib/code/object/date.rb', line 13593 def code_gb_minus_eire? Boolean.new(current_time_zone_names.include?("GB-Eire")) end |
#code_gmt0? ⇒ Boolean
13609 13610 13611 |
# File 'lib/code/object/date.rb', line 13609 def code_gmt0? Boolean.new(current_time_zone_names.include?("GMT0")) end |
#code_gmt? ⇒ Boolean
13597 13598 13599 |
# File 'lib/code/object/date.rb', line 13597 def code_gmt? Boolean.new(current_time_zone_names.include?("GMT")) end |
#code_gmt_minus_0? ⇒ Boolean
13605 13606 13607 |
# File 'lib/code/object/date.rb', line 13605 def code_gmt_minus_0? Boolean.new(current_time_zone_names.include?("GMT-0")) end |
#code_gmt_plus_0? ⇒ Boolean
13601 13602 13603 |
# File 'lib/code/object/date.rb', line 13601 def code_gmt_plus_0? Boolean.new(current_time_zone_names.include?("GMT+0")) end |
#code_greenwich? ⇒ Boolean
13613 13614 13615 |
# File 'lib/code/object/date.rb', line 13613 def code_greenwich? Boolean.new(current_time_zone_names.include?("Greenwich")) end |
#code_hongkong? ⇒ Boolean
13621 13622 13623 |
# File 'lib/code/object/date.rb', line 13621 def code_hongkong? Boolean.new(current_time_zone_names.include?("Hongkong")) end |
#code_hour ⇒ Object
14071 14072 14073 |
# File 'lib/code/object/date.rb', line 14071 def code_hour Integer.new(0) end |
#code_hours ⇒ Object
14075 14076 14077 |
# File 'lib/code/object/date.rb', line 14075 def code_hours Integer.new(0) end |
#code_hst? ⇒ Boolean
13617 13618 13619 |
# File 'lib/code/object/date.rb', line 13617 def code_hst? Boolean.new(current_time_zone_names.include?("HST")) end |
#code_iceland? ⇒ Boolean
13625 13626 13627 |
# File 'lib/code/object/date.rb', line 13625 def code_iceland? Boolean.new(current_time_zone_names.include?("Iceland")) end |
#code_indian_antananarivo? ⇒ Boolean
13629 13630 13631 |
# File 'lib/code/object/date.rb', line 13629 def code_indian_antananarivo? Boolean.new(current_time_zone_names.include?("Indian/Antananarivo")) end |
#code_indian_chagos? ⇒ Boolean
13633 13634 13635 |
# File 'lib/code/object/date.rb', line 13633 def code_indian_chagos? Boolean.new(current_time_zone_names.include?("Indian/Chagos")) end |
#code_indian_christmas? ⇒ Boolean
13637 13638 13639 |
# File 'lib/code/object/date.rb', line 13637 def code_indian_christmas? Boolean.new(current_time_zone_names.include?("Indian/Christmas")) end |
#code_indian_cocos? ⇒ Boolean
13641 13642 13643 |
# File 'lib/code/object/date.rb', line 13641 def code_indian_cocos? Boolean.new(current_time_zone_names.include?("Indian/Cocos")) end |
#code_indian_comoro? ⇒ Boolean
13645 13646 13647 |
# File 'lib/code/object/date.rb', line 13645 def code_indian_comoro? Boolean.new(current_time_zone_names.include?("Indian/Comoro")) end |
#code_indian_kerguelen? ⇒ Boolean
13649 13650 13651 |
# File 'lib/code/object/date.rb', line 13649 def code_indian_kerguelen? Boolean.new(current_time_zone_names.include?("Indian/Kerguelen")) end |
#code_indian_mahe? ⇒ Boolean
13653 13654 13655 |
# File 'lib/code/object/date.rb', line 13653 def code_indian_mahe? Boolean.new(current_time_zone_names.include?("Indian/Mahe")) end |
#code_indian_maldives? ⇒ Boolean
13657 13658 13659 |
# File 'lib/code/object/date.rb', line 13657 def code_indian_maldives? Boolean.new(current_time_zone_names.include?("Indian/Maldives")) end |
#code_indian_mauritius? ⇒ Boolean
13661 13662 13663 |
# File 'lib/code/object/date.rb', line 13661 def code_indian_mauritius? Boolean.new(current_time_zone_names.include?("Indian/Mauritius")) end |
#code_indian_mayotte? ⇒ Boolean
13665 13666 13667 |
# File 'lib/code/object/date.rb', line 13665 def code_indian_mayotte? Boolean.new(current_time_zone_names.include?("Indian/Mayotte")) end |
#code_indian_reunion? ⇒ Boolean
13669 13670 13671 |
# File 'lib/code/object/date.rb', line 13669 def code_indian_reunion? Boolean.new(current_time_zone_names.include?("Indian/Reunion")) end |
#code_iran? ⇒ Boolean
13673 13674 13675 |
# File 'lib/code/object/date.rb', line 13673 def code_iran? Boolean.new(current_time_zone_names.include?("Iran")) end |
#code_iso ⇒ Object
11551 11552 11553 |
# File 'lib/code/object/date.rb', line 11551 def code_iso code_iso8601 end |
#code_iso8601 ⇒ Object
11547 11548 11549 |
# File 'lib/code/object/date.rb', line 11547 def code_iso8601 String.new(raw.iso8601) end |
#code_israel? ⇒ Boolean
13677 13678 13679 |
# File 'lib/code/object/date.rb', line 13677 def code_israel? Boolean.new(current_time_zone_names.include?("Israel")) end |
#code_jamaica? ⇒ Boolean
13681 13682 13683 |
# File 'lib/code/object/date.rb', line 13681 def code_jamaica? Boolean.new(current_time_zone_names.include?("Jamaica")) end |
#code_january? ⇒ Boolean
11479 11480 11481 |
# File 'lib/code/object/date.rb', line 11479 def code_january? code_month.code_one? end |
#code_japan? ⇒ Boolean
13685 13686 13687 |
# File 'lib/code/object/date.rb', line 13685 def code_japan? Boolean.new(current_time_zone_names.include?("Japan")) end |
#code_july? ⇒ Boolean
11503 11504 11505 |
# File 'lib/code/object/date.rb', line 11503 def code_july? code_month.code_seven? end |
#code_june? ⇒ Boolean
11499 11500 11501 |
# File 'lib/code/object/date.rb', line 11499 def code_june? code_month.code_six? end |
#code_kwajalein? ⇒ Boolean
13689 13690 13691 |
# File 'lib/code/object/date.rb', line 13689 def code_kwajalein? Boolean.new(current_time_zone_names.include?("Kwajalein")) end |
#code_libya? ⇒ Boolean
13693 13694 13695 |
# File 'lib/code/object/date.rb', line 13693 def code_libya? Boolean.new(current_time_zone_names.include?("Libya")) end |
#code_local ⇒ Object
14052 14053 14054 |
# File 'lib/code/object/date.rb', line 14052 def code_local self end |
#code_march? ⇒ Boolean
11487 11488 11489 |
# File 'lib/code/object/date.rb', line 11487 def code_march? code_month.code_three? end |
#code_may? ⇒ Boolean
11495 11496 11497 |
# File 'lib/code/object/date.rb', line 11495 def code_may? code_month.code_five? end |
#code_met? ⇒ Boolean
13697 13698 13699 |
# File 'lib/code/object/date.rb', line 13697 def code_met? Boolean.new(current_time_zone_names.include?("MET")) end |
#code_mexico_bajanorte? ⇒ Boolean
13709 13710 13711 |
# File 'lib/code/object/date.rb', line 13709 def code_mexico_bajanorte? Boolean.new(current_time_zone_names.include?("Mexico/BajaNorte")) end |
#code_mexico_bajasur? ⇒ Boolean
13713 13714 13715 |
# File 'lib/code/object/date.rb', line 13713 def code_mexico_bajasur? Boolean.new(current_time_zone_names.include?("Mexico/BajaSur")) end |
#code_mexico_general? ⇒ Boolean
13717 13718 13719 |
# File 'lib/code/object/date.rb', line 13717 def code_mexico_general? Boolean.new(current_time_zone_names.include?("Mexico/General")) end |
#code_millisecond ⇒ Object
14040 14041 14042 |
# File 'lib/code/object/date.rb', line 14040 def code_millisecond Integer.new(0) end |
#code_milliseconds ⇒ Object
14044 14045 14046 |
# File 'lib/code/object/date.rb', line 14044 def code_milliseconds code_millisecond end |
#code_minute ⇒ Object
14079 14080 14081 |
# File 'lib/code/object/date.rb', line 14079 def code_minute Integer.new(0) end |
#code_minutes ⇒ Object
14083 14084 14085 |
# File 'lib/code/object/date.rb', line 14083 def code_minutes Integer.new(0) end |
#code_monday? ⇒ Boolean
11451 11452 11453 |
# File 'lib/code/object/date.rb', line 11451 def code_monday? code_week_day.code_one? end |
#code_month ⇒ Object
11419 11420 11421 |
# File 'lib/code/object/date.rb', line 11419 def code_month Integer.new(raw.month) end |
#code_month_day ⇒ Object
14028 14029 14030 |
# File 'lib/code/object/date.rb', line 14028 def code_month_day code_day end |
#code_months ⇒ Object
11423 11424 11425 |
# File 'lib/code/object/date.rb', line 11423 def code_months Integer.new(raw.month) end |
#code_mst7mdt? ⇒ Boolean
13705 13706 13707 |
# File 'lib/code/object/date.rb', line 13705 def code_mst7mdt? Boolean.new(current_time_zone_names.include?("MST7MDT")) end |
#code_mst? ⇒ Boolean
13701 13702 13703 |
# File 'lib/code/object/date.rb', line 13701 def code_mst? Boolean.new(current_time_zone_names.include?("MST")) end |
#code_nanosecond ⇒ Object
14032 14033 14034 |
# File 'lib/code/object/date.rb', line 14032 def code_nanosecond Integer.new(0) end |
#code_nanoseconds ⇒ Object
14036 14037 14038 |
# File 'lib/code/object/date.rb', line 14036 def code_nanoseconds code_nanosecond end |
#code_navajo? ⇒ Boolean
13729 13730 13731 |
# File 'lib/code/object/date.rb', line 13729 def code_navajo? Boolean.new(current_time_zone_names.include?("Navajo")) end |
#code_november? ⇒ Boolean
11519 11520 11521 |
# File 'lib/code/object/date.rb', line 11519 def code_november? code_month.code_eleven? end |
#code_now ⇒ Object
14103 14104 14105 |
# File 'lib/code/object/date.rb', line 14103 def code_now Date.new end |
#code_nz? ⇒ Boolean
13721 13722 13723 |
# File 'lib/code/object/date.rb', line 13721 def code_nz? Boolean.new(current_time_zone_names.include?("NZ")) end |
#code_nz_minus_chat? ⇒ Boolean
13725 13726 13727 |
# File 'lib/code/object/date.rb', line 13725 def code_nz_minus_chat? Boolean.new(current_time_zone_names.include?("NZ-CHAT")) end |
#code_october? ⇒ Boolean
11515 11516 11517 |
# File 'lib/code/object/date.rb', line 11515 def code_october? code_month.code_ten? end |
#code_pacific_apia? ⇒ Boolean
13741 13742 13743 |
# File 'lib/code/object/date.rb', line 13741 def code_pacific_apia? Boolean.new(current_time_zone_names.include?("Pacific/Apia")) end |
#code_pacific_auckland? ⇒ Boolean
13745 13746 13747 |
# File 'lib/code/object/date.rb', line 13745 def code_pacific_auckland? Boolean.new(current_time_zone_names.include?("Pacific/Auckland")) end |
#code_pacific_bougainville? ⇒ Boolean
13749 13750 13751 |
# File 'lib/code/object/date.rb', line 13749 def code_pacific_bougainville? Boolean.new(current_time_zone_names.include?("Pacific/Bougainville")) end |
#code_pacific_chatham? ⇒ Boolean
13753 13754 13755 |
# File 'lib/code/object/date.rb', line 13753 def code_pacific_chatham? Boolean.new(current_time_zone_names.include?("Pacific/Chatham")) end |
#code_pacific_chuuk? ⇒ Boolean
13757 13758 13759 |
# File 'lib/code/object/date.rb', line 13757 def code_pacific_chuuk? Boolean.new(current_time_zone_names.include?("Pacific/Chuuk")) end |
#code_pacific_easter? ⇒ Boolean
13761 13762 13763 |
# File 'lib/code/object/date.rb', line 13761 def code_pacific_easter? Boolean.new(current_time_zone_names.include?("Pacific/Easter")) end |
#code_pacific_efate? ⇒ Boolean
13765 13766 13767 |
# File 'lib/code/object/date.rb', line 13765 def code_pacific_efate? Boolean.new(current_time_zone_names.include?("Pacific/Efate")) end |
#code_pacific_enderbury? ⇒ Boolean
13769 13770 13771 |
# File 'lib/code/object/date.rb', line 13769 def code_pacific_enderbury? Boolean.new(current_time_zone_names.include?("Pacific/Enderbury")) end |
#code_pacific_fakaofo? ⇒ Boolean
13773 13774 13775 |
# File 'lib/code/object/date.rb', line 13773 def code_pacific_fakaofo? Boolean.new(current_time_zone_names.include?("Pacific/Fakaofo")) end |
#code_pacific_fiji? ⇒ Boolean
13777 13778 13779 |
# File 'lib/code/object/date.rb', line 13777 def code_pacific_fiji? Boolean.new(current_time_zone_names.include?("Pacific/Fiji")) end |
#code_pacific_funafuti? ⇒ Boolean
13781 13782 13783 |
# File 'lib/code/object/date.rb', line 13781 def code_pacific_funafuti? Boolean.new(current_time_zone_names.include?("Pacific/Funafuti")) end |
#code_pacific_galapagos? ⇒ Boolean
13785 13786 13787 |
# File 'lib/code/object/date.rb', line 13785 def code_pacific_galapagos? Boolean.new(current_time_zone_names.include?("Pacific/Galapagos")) end |
#code_pacific_gambier? ⇒ Boolean
13789 13790 13791 |
# File 'lib/code/object/date.rb', line 13789 def code_pacific_gambier? Boolean.new(current_time_zone_names.include?("Pacific/Gambier")) end |
#code_pacific_guadalcanal? ⇒ Boolean
13793 13794 13795 |
# File 'lib/code/object/date.rb', line 13793 def code_pacific_guadalcanal? Boolean.new(current_time_zone_names.include?("Pacific/Guadalcanal")) end |
#code_pacific_guam? ⇒ Boolean
13797 13798 13799 |
# File 'lib/code/object/date.rb', line 13797 def code_pacific_guam? Boolean.new(current_time_zone_names.include?("Pacific/Guam")) end |
#code_pacific_honolulu? ⇒ Boolean
13801 13802 13803 |
# File 'lib/code/object/date.rb', line 13801 def code_pacific_honolulu? Boolean.new(current_time_zone_names.include?("Pacific/Honolulu")) end |
#code_pacific_johnston? ⇒ Boolean
13805 13806 13807 |
# File 'lib/code/object/date.rb', line 13805 def code_pacific_johnston? Boolean.new(current_time_zone_names.include?("Pacific/Johnston")) end |
#code_pacific_kanton? ⇒ Boolean
13809 13810 13811 |
# File 'lib/code/object/date.rb', line 13809 def code_pacific_kanton? Boolean.new(current_time_zone_names.include?("Pacific/Kanton")) end |
#code_pacific_kiritimati? ⇒ Boolean
13813 13814 13815 |
# File 'lib/code/object/date.rb', line 13813 def code_pacific_kiritimati? Boolean.new(current_time_zone_names.include?("Pacific/Kiritimati")) end |
#code_pacific_kosrae? ⇒ Boolean
13817 13818 13819 |
# File 'lib/code/object/date.rb', line 13817 def code_pacific_kosrae? Boolean.new(current_time_zone_names.include?("Pacific/Kosrae")) end |
#code_pacific_kwajalein? ⇒ Boolean
13821 13822 13823 |
# File 'lib/code/object/date.rb', line 13821 def code_pacific_kwajalein? Boolean.new(current_time_zone_names.include?("Pacific/Kwajalein")) end |
#code_pacific_majuro? ⇒ Boolean
13825 13826 13827 |
# File 'lib/code/object/date.rb', line 13825 def code_pacific_majuro? Boolean.new(current_time_zone_names.include?("Pacific/Majuro")) end |
#code_pacific_marquesas? ⇒ Boolean
13829 13830 13831 |
# File 'lib/code/object/date.rb', line 13829 def code_pacific_marquesas? Boolean.new(current_time_zone_names.include?("Pacific/Marquesas")) end |
#code_pacific_midway? ⇒ Boolean
13833 13834 13835 |
# File 'lib/code/object/date.rb', line 13833 def code_pacific_midway? Boolean.new(current_time_zone_names.include?("Pacific/Midway")) end |
#code_pacific_nauru? ⇒ Boolean
13837 13838 13839 |
# File 'lib/code/object/date.rb', line 13837 def code_pacific_nauru? Boolean.new(current_time_zone_names.include?("Pacific/Nauru")) end |
#code_pacific_niue? ⇒ Boolean
13841 13842 13843 |
# File 'lib/code/object/date.rb', line 13841 def code_pacific_niue? Boolean.new(current_time_zone_names.include?("Pacific/Niue")) end |
#code_pacific_norfolk? ⇒ Boolean
13845 13846 13847 |
# File 'lib/code/object/date.rb', line 13845 def code_pacific_norfolk? Boolean.new(current_time_zone_names.include?("Pacific/Norfolk")) end |
#code_pacific_noumea? ⇒ Boolean
13849 13850 13851 |
# File 'lib/code/object/date.rb', line 13849 def code_pacific_noumea? Boolean.new(current_time_zone_names.include?("Pacific/Noumea")) end |
#code_pacific_pago_pago? ⇒ Boolean
13853 13854 13855 |
# File 'lib/code/object/date.rb', line 13853 def code_pacific_pago_pago? Boolean.new(current_time_zone_names.include?("Pacific/Pago_Pago")) end |
#code_pacific_palau? ⇒ Boolean
13857 13858 13859 |
# File 'lib/code/object/date.rb', line 13857 def code_pacific_palau? Boolean.new(current_time_zone_names.include?("Pacific/Palau")) end |
#code_pacific_pitcairn? ⇒ Boolean
13861 13862 13863 |
# File 'lib/code/object/date.rb', line 13861 def code_pacific_pitcairn? Boolean.new(current_time_zone_names.include?("Pacific/Pitcairn")) end |
#code_pacific_pohnpei? ⇒ Boolean
13865 13866 13867 |
# File 'lib/code/object/date.rb', line 13865 def code_pacific_pohnpei? Boolean.new(current_time_zone_names.include?("Pacific/Pohnpei")) end |
#code_pacific_ponape? ⇒ Boolean
13869 13870 13871 |
# File 'lib/code/object/date.rb', line 13869 def code_pacific_ponape? Boolean.new(current_time_zone_names.include?("Pacific/Ponape")) end |
#code_pacific_port_moresby? ⇒ Boolean
13873 13874 13875 |
# File 'lib/code/object/date.rb', line 13873 def code_pacific_port_moresby? Boolean.new(current_time_zone_names.include?("Pacific/Port_Moresby")) end |
#code_pacific_rarotonga? ⇒ Boolean
13877 13878 13879 |
# File 'lib/code/object/date.rb', line 13877 def code_pacific_rarotonga? Boolean.new(current_time_zone_names.include?("Pacific/Rarotonga")) end |
#code_pacific_saipan? ⇒ Boolean
13881 13882 13883 |
# File 'lib/code/object/date.rb', line 13881 def code_pacific_saipan? Boolean.new(current_time_zone_names.include?("Pacific/Saipan")) end |
#code_pacific_samoa? ⇒ Boolean
13885 13886 13887 |
# File 'lib/code/object/date.rb', line 13885 def code_pacific_samoa? Boolean.new(current_time_zone_names.include?("Pacific/Samoa")) end |
#code_pacific_tahiti? ⇒ Boolean
13889 13890 13891 |
# File 'lib/code/object/date.rb', line 13889 def code_pacific_tahiti? Boolean.new(current_time_zone_names.include?("Pacific/Tahiti")) end |
#code_pacific_tarawa? ⇒ Boolean
13893 13894 13895 |
# File 'lib/code/object/date.rb', line 13893 def code_pacific_tarawa? Boolean.new(current_time_zone_names.include?("Pacific/Tarawa")) end |
#code_pacific_tongatapu? ⇒ Boolean
13897 13898 13899 |
# File 'lib/code/object/date.rb', line 13897 def code_pacific_tongatapu? Boolean.new(current_time_zone_names.include?("Pacific/Tongatapu")) end |
#code_pacific_truk? ⇒ Boolean
13901 13902 13903 |
# File 'lib/code/object/date.rb', line 13901 def code_pacific_truk? Boolean.new(current_time_zone_names.include?("Pacific/Truk")) end |
#code_pacific_wake? ⇒ Boolean
13905 13906 13907 |
# File 'lib/code/object/date.rb', line 13905 def code_pacific_wake? Boolean.new(current_time_zone_names.include?("Pacific/Wake")) end |
#code_pacific_wallis? ⇒ Boolean
13909 13910 13911 |
# File 'lib/code/object/date.rb', line 13909 def code_pacific_wallis? Boolean.new(current_time_zone_names.include?("Pacific/Wallis")) end |
#code_pacific_yap? ⇒ Boolean
13913 13914 13915 |
# File 'lib/code/object/date.rb', line 13913 def code_pacific_yap? Boolean.new(current_time_zone_names.include?("Pacific/Yap")) end |
#code_past? ⇒ Boolean
11403 11404 11405 |
# File 'lib/code/object/date.rb', line 11403 def code_past? code_before? end |
#code_poland? ⇒ Boolean
13917 13918 13919 |
# File 'lib/code/object/date.rb', line 13917 def code_poland? Boolean.new(current_time_zone_names.include?("Poland")) end |
#code_portugal? ⇒ Boolean
13921 13922 13923 |
# File 'lib/code/object/date.rb', line 13921 def code_portugal? Boolean.new(current_time_zone_names.include?("Portugal")) end |
#code_prc? ⇒ Boolean
13733 13734 13735 |
# File 'lib/code/object/date.rb', line 13733 def code_prc? Boolean.new(current_time_zone_names.include?("PRC")) end |
#code_pst8pdt? ⇒ Boolean
13737 13738 13739 |
# File 'lib/code/object/date.rb', line 13737 def code_pst8pdt? Boolean.new(current_time_zone_names.include?("PST8PDT")) end |
#code_rfc ⇒ Object
11563 11564 11565 |
# File 'lib/code/object/date.rb', line 11563 def code_rfc code_rfc3339 end |
#code_rfc2822 ⇒ Object
11555 11556 11557 |
# File 'lib/code/object/date.rb', line 11555 def code_rfc2822 String.new(raw.rfc2822) end |
#code_rfc3339 ⇒ Object
11559 11560 11561 |
# File 'lib/code/object/date.rb', line 11559 def code_rfc3339 String.new(raw.rfc3339) end |
#code_roc? ⇒ Boolean
13925 13926 13927 |
# File 'lib/code/object/date.rb', line 13925 def code_roc? Boolean.new(current_time_zone_names.include?("ROC")) end |
#code_rok? ⇒ Boolean
13929 13930 13931 |
# File 'lib/code/object/date.rb', line 13929 def code_rok? Boolean.new(current_time_zone_names.include?("ROK")) end |
#code_saturday? ⇒ Boolean
11471 11472 11473 |
# File 'lib/code/object/date.rb', line 11471 def code_saturday? code_week_day.code_six? end |
#code_second ⇒ Object
14087 14088 14089 |
# File 'lib/code/object/date.rb', line 14087 def code_second Integer.new(0) end |
#code_seconds ⇒ Object
14091 14092 14093 |
# File 'lib/code/object/date.rb', line 14091 def code_seconds Integer.new(0) end |
#code_september? ⇒ Boolean
11511 11512 11513 |
# File 'lib/code/object/date.rb', line 11511 def code_september? code_month.code_nine? end |
#code_singapore? ⇒ Boolean
13933 13934 13935 |
# File 'lib/code/object/date.rb', line 13933 def code_singapore? Boolean.new(current_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) ⇒ Object
14150 14151 14152 14153 14154 14155 14156 14157 14158 14159 14160 14161 14162 14163 14164 14165 14166 14167 14168 14169 14170 14171 14172 14173 14174 14175 14176 14177 14178 14179 14180 14181 14182 14183 |
# File 'lib/code/object/date.rb', line 14150 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 ) 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 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 code_change( year: year, month: month, day: day, week_day: week_day, week: week ) end |
#code_subtract ⇒ Object
14185 14186 14187 |
# File 'lib/code/object/date.rb', line 14185 def code_subtract(...) code_substract(...) end |
#code_sunday? ⇒ Boolean
11475 11476 11477 |
# File 'lib/code/object/date.rb', line 11475 def code_sunday? code_week_day.code_zero? end |
#code_thursday? ⇒ Boolean
11463 11464 11465 |
# File 'lib/code/object/date.rb', line 11463 def code_thursday? code_week_day.code_four? end |
#code_to_decimal ⇒ Object
11575 11576 11577 |
# File 'lib/code/object/date.rb', line 11575 def code_to_decimal Decimal.new(BigDecimal(raw.beginning_of_day.to_r, 16)) end |
#code_to_integer ⇒ Object
11571 11572 11573 |
# File 'lib/code/object/date.rb', line 11571 def code_to_integer Integer.new(raw.beginning_of_day.to_i) end |
#code_to_list ⇒ Object
11567 11568 11569 |
# File 'lib/code/object/date.rb', line 11567 def code_to_list List.new([code_year, code_month, code_day]) end |
#code_today ⇒ Object
14095 14096 14097 |
# File 'lib/code/object/date.rb', line 14095 def code_today Date.new end |
#code_tomorrow ⇒ Object
14107 14108 14109 |
# File 'lib/code/object/date.rb', line 14107 def code_tomorrow code_add(day: 1) end |
#code_tuesday? ⇒ Boolean
11455 11456 11457 |
# File 'lib/code/object/date.rb', line 11455 def code_tuesday? code_week_day.code_two? end |
#code_turkey? ⇒ Boolean
13937 13938 13939 |
# File 'lib/code/object/date.rb', line 13937 def code_turkey? Boolean.new(current_time_zone_names.include?("Turkey")) end |
#code_uct? ⇒ Boolean
13941 13942 13943 |
# File 'lib/code/object/date.rb', line 13941 def code_uct? Boolean.new(current_time_zone_names.include?("UCT")) end |
#code_universal? ⇒ Boolean
14000 14001 14002 |
# File 'lib/code/object/date.rb', line 14000 def code_universal? Boolean.new(current_time_zone_names.include?("Universal")) end |
#code_us_alaska? ⇒ Boolean
13945 13946 13947 |
# File 'lib/code/object/date.rb', line 13945 def code_us_alaska? Boolean.new(current_time_zone_names.include?("US/Alaska")) end |
#code_us_aleutian? ⇒ Boolean
13949 13950 13951 |
# File 'lib/code/object/date.rb', line 13949 def code_us_aleutian? Boolean.new(current_time_zone_names.include?("US/Aleutian")) end |
#code_us_arizona? ⇒ Boolean
13953 13954 13955 |
# File 'lib/code/object/date.rb', line 13953 def code_us_arizona? Boolean.new(current_time_zone_names.include?("US/Arizona")) end |
#code_us_central? ⇒ Boolean
13957 13958 13959 |
# File 'lib/code/object/date.rb', line 13957 def code_us_central? Boolean.new(current_time_zone_names.include?("US/Central")) end |
#code_us_east_minus_indiana? ⇒ Boolean
13961 13962 13963 |
# File 'lib/code/object/date.rb', line 13961 def code_us_east_minus_indiana? Boolean.new(current_time_zone_names.include?("US/East-Indiana")) end |
#code_us_eastern? ⇒ Boolean
13965 13966 13967 |
# File 'lib/code/object/date.rb', line 13965 def code_us_eastern? Boolean.new(current_time_zone_names.include?("US/Eastern")) end |
#code_us_hawaii? ⇒ Boolean
13969 13970 13971 |
# File 'lib/code/object/date.rb', line 13969 def code_us_hawaii? Boolean.new(current_time_zone_names.include?("US/Hawaii")) end |
#code_us_indiana_minus_starke? ⇒ Boolean
13973 13974 13975 |
# File 'lib/code/object/date.rb', line 13973 def code_us_indiana_minus_starke? Boolean.new(current_time_zone_names.include?("US/Indiana-Starke")) end |
#code_us_michigan? ⇒ Boolean
13977 13978 13979 |
# File 'lib/code/object/date.rb', line 13977 def code_us_michigan? Boolean.new(current_time_zone_names.include?("US/Michigan")) end |
#code_us_mountain? ⇒ Boolean
13981 13982 13983 |
# File 'lib/code/object/date.rb', line 13981 def code_us_mountain? Boolean.new(current_time_zone_names.include?("US/Mountain")) end |
#code_us_pacific? ⇒ Boolean
13985 13986 13987 |
# File 'lib/code/object/date.rb', line 13985 def code_us_pacific? Boolean.new(current_time_zone_names.include?("US/Pacific")) end |
#code_us_samoa? ⇒ Boolean
13989 13990 13991 |
# File 'lib/code/object/date.rb', line 13989 def code_us_samoa? Boolean.new(current_time_zone_names.include?("US/Samoa")) end |
#code_utc ⇒ Object
14048 14049 14050 |
# File 'lib/code/object/date.rb', line 14048 def code_utc self end |
#code_utc? ⇒ Boolean
13993 13994 13995 13996 13997 13998 |
# File 'lib/code/object/date.rb', line 13993 def code_utc? Boolean.new( current_time_zone_names.include?("UTC") || current_time_zone_names.include?("Etc/UTC") ) end |
#code_utc_offset ⇒ Object
14020 14021 14022 |
# File 'lib/code/object/date.rb', line 14020 def code_utc_offset Integer.new(::Time.zone.utc_offset) end |
#code_w_minus_su? ⇒ Boolean
14004 14005 14006 |
# File 'lib/code/object/date.rb', line 14004 def code_w_minus_su? Boolean.new(current_time_zone_names.include?("W-SU")) end |
#code_wednesday? ⇒ Boolean
11459 11460 11461 |
# File 'lib/code/object/date.rb', line 11459 def code_wednesday? code_week_day.code_three? end |
#code_week ⇒ Object
11427 11428 11429 |
# File 'lib/code/object/date.rb', line 11427 def code_week Integer.new(raw.cweek) end |
#code_week_day ⇒ Object
11435 11436 11437 |
# File 'lib/code/object/date.rb', line 11435 def code_week_day Integer.new(raw.wday) end |
#code_week_days ⇒ Object
11439 11440 11441 |
# File 'lib/code/object/date.rb', line 11439 def code_week_days Integer.new(raw.wday) end |
#code_weeks ⇒ Object
11431 11432 11433 |
# File 'lib/code/object/date.rb', line 11431 def code_weeks Integer.new(raw.cweek) end |
#code_wet? ⇒ Boolean
14008 14009 14010 |
# File 'lib/code/object/date.rb', line 14008 def code_wet? Boolean.new(current_time_zone_names.include?("WET")) end |
#code_year ⇒ Object
11411 11412 11413 |
# File 'lib/code/object/date.rb', line 11411 def code_year Integer.new(raw.year) end |
#code_year_day ⇒ Object
14024 14025 14026 |
# File 'lib/code/object/date.rb', line 14024 def code_year_day Integer.new(raw.yday) end |
#code_years ⇒ Object
11415 11416 11417 |
# File 'lib/code/object/date.rb', line 11415 def code_years Integer.new(raw.year) end |
#code_yesterday ⇒ Object
14111 14112 14113 |
# File 'lib/code/object/date.rb', line 14111 def code_yesterday code_substract(day: 1) end |
#code_zone ⇒ Object
14224 14225 14226 |
# File 'lib/code/object/date.rb', line 14224 def code_zone String.new(::Time.zone.name) end |
#code_zulu? ⇒ Boolean
14012 14013 14014 |
# File 'lib/code/object/date.rb', line 14012 def code_zulu? Boolean.new(current_time_zone_names.include?("Zulu")) end |
#current_time_zone_names ⇒ Object
14016 14017 14018 |
# File 'lib/code/object/date.rb', line 14016 def current_time_zone_names [::Time.zone.name, ::Time.zone.tzinfo.name] end |