I understand the 184 day rule when used to determine things like residency for tax purposes. but how does the ICU use it?
I looked at the C++ code which, fortunately. I never had to learn, and is still Greek to me. ;-)
Thanks in advance.
Unfortunately, ICU always uses the 184 day rule to choose the standard name when formatting generic non-location names, regardless of whether a more suitable generic name exists or not. See the implementation of the formatGenericNonLocationName function (search for usages of the kDstCheckRange constant).
I agree - this is entirely too complicated. The fact is that currently, ICU generic names (of any form) are designed to apply in the context of having a date, time, and time zone - not for choosing a time zone from a list. Sometimes those are the same, but not always.
-Matt
Photographers fade faster than photographs.