Example: LC_TOD Locale Category Definition

The following lines are a sample definition of an LC_TOD locale category, as they might appear in a locale source file.

#############
LC_TOD
#############
# the time zone difference is 8hrs; the name of the daylight saving
# time is Ph4, and it starts on the first Sunday of April at
# 2:00AM and ends on the second Sunday of October at
# 2:00AM
timezone_difference +480
timezone_name       "<P><S><T>"
daylight_name       "<P><D><T>"
start_month         4
end_month           10
start_week          1
end_week            2
start_day           1
end_day             30
start_time          7200
end_time            3600
shift               3600
END LC_TOD



Internationalization
Localization and Locales


Customize a Locale


LC_TOD Locale Category
Locale Categories
Locale Source Files