Skip to content

Commit

Permalink
Fix build issues
Browse files Browse the repository at this point in the history
  • Loading branch information
mattjohnsonpint committed Mar 23, 2021
1 parent f37b4d8 commit 50d0fd2
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ int32_t GlobalizationNative_IanaIdToWindowsId(const UChar* ianaId, UChar* window
/*
Private function to get the standard and daylight names from the ICU Calendar API.
*/
void GetTimeZoneDisplayName_FromCalendar(const char* locale, const UChar* timeZoneId, const UDate timestamp, UCalendarDisplayNameType type, UChar* result, int32_t resultLength, UErrorCode* err)
static void GetTimeZoneDisplayName_FromCalendar(const char* locale, const UChar* timeZoneId, const UDate timestamp, UCalendarDisplayNameType type, UChar* result, int32_t resultLength, UErrorCode* err)
{
// Examples: "Pacific Standard Time" (standard)
// "Pacific Daylight Time" (daylight)
Expand All @@ -84,7 +84,7 @@ void GetTimeZoneDisplayName_FromCalendar(const char* locale, const UChar* timeZo
/*
Private function to get the various forms of generic time zone names using patterns with the ICU Date Formatting API.
*/
void GetTimeZoneDisplayName_FromPattern(const char* locale, const UChar* timeZoneId, const UDate timestamp, const UChar* pattern, UChar* result, int32_t resultLength, UErrorCode* err)
static void GetTimeZoneDisplayName_FromPattern(const char* locale, const UChar* timeZoneId, const UDate timestamp, const UChar* pattern, UChar* result, int32_t resultLength, UErrorCode* err)
{
// (-1 == timeZoneId and pattern are null terminated)
UDateFormat* dateFormatter = udat_open(UDAT_PATTERN, UDAT_PATTERN, locale, timeZoneId, -1, pattern, -1, err);
Expand All @@ -98,7 +98,7 @@ void GetTimeZoneDisplayName_FromPattern(const char* locale, const UChar* timeZon
/*
Private function to modify the generic display name to better suit our needs.
*/
void FixupTimeZoneGenericDisplayName(const char* locale, const UChar* timeZoneId, const UDate timestamp, UChar* genericName, UErrorCode* err)
static void FixupTimeZoneGenericDisplayName(const char* locale, const UChar* timeZoneId, const UDate timestamp, UChar* genericName, UErrorCode* err)
{
// By default, some time zones will still give a standard name instead of the generic
// non-location name.
Expand Down Expand Up @@ -337,4 +337,4 @@ ResultCode GlobalizationNative_GetTimeZoneDisplayName(const UChar* localeName, c
}

return GetResultCode(err);
}
}

0 comments on commit 50d0fd2

Please sign in to comment.