class X::DateTime::TimezoneClash does X::Temporal is Exception { }

This exception is thrown when code tries to create a DateTime object specifying both a time zone offset and the named argument :timezone.

say'2015-12-24T12:23:00+0200');                   # works 
say'2015-12-24T12:23:00'timezone => 7200);      # works 
say'2015-12-24T12:23:00+0200'timezone => 7200); # exception 


method message§

method message()

Returns ' :timezone argument not allowed with a timestamp offset'


Type relations for X::DateTime::TimezoneClash
raku-type-graph X::DateTime::TimezoneClash X::DateTime::TimezoneClash Exception Exception X::DateTime::TimezoneClash->Exception X::Temporal X::Temporal X::DateTime::TimezoneClash->X::Temporal Mu Mu Any Any Any->Mu Exception->Any X::Temporal->Exception

Expand chart above