File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -3080,6 +3080,28 @@ def test_value_error_exception(self):
30803080 target .span ("week" , week_start = 55 )
30813081
30823082
3083+ class TestIanaTimeZone :
3084+ def test_acdt (self ):
3085+ sample_string = "Austrailian Central Daylight Time"
3086+ test_string = arrow .Arrow .iana_timezone ("ACDT" )
3087+ assert sample_string == test_string
3088+
3089+ def test_acst (self ):
3090+ sample_string = "Australian Central Standard Time"
3091+ test_string = arrow .Arrow .iana_timezone ("ACST" )
3092+ assert sample_string == test_string
3093+
3094+ def test_adt (self ):
3095+ sample_string = "Atlantic Daylight Time"
3096+ test_string = arrow .Arrow .iana_timezone ("ADT" )
3097+ assert sample_string == test_string
3098+
3099+ def test_aedt (self ):
3100+ sample_string = "Australian Eastern Daylight Time"
3101+ test_string = arrow .Arrow .iana_timezone ("AEDT" )
3102+ assert sample_string == test_string
3103+
3104+
30833105class TestArrowUtil :
30843106 def test_get_datetime (self ):
30853107
You can’t perform that action at this time.
0 commit comments