PageRenderTime 15ms CodeModel.GetById 12ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/test/lib/i18n/test_i18n01.e

http://github.com/tybor/Liberty
Specman e | 21 lines | 18 code | 3 blank | 0 comment | 0 complexity | 27e750ca31a6633925374b62eb4f329c MD5 | raw file
 1class TEST_I18N01
 2
 3create {}
 4	make
 5
 6feature {}
 7	make is
 8		local
 9			i18n: I18N
10			locale: LOCALE
11			time: TIME
12		do
13			std_output.put_line(locale.out)
14			time.update
15			std_output.put_string(once "low-level locale:    ")
16			std_output.put_line(locale.localized_time_and_date(time))
17			std_output.put_string(once "up-level i18n layer: ")
18			std_output.put_line(i18n.locale.localized_time_and_date(time))
19		end
20
21end