<?xml version="1.0" encoding="utf-8"?>
<!-- http://blog.flexexamples.com/2007/12/11/using-the-datebase-class-in-flex/ -->
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
        layout="vertical"
        verticalAlign="top"
        backgroundColor="white" viewSourceURL="srcview/index.html">

    <mx:Script>
        <![CDATA[
            import mx.collections.ArrayCollection;
            import mx.formatters.DateBase;

            private function init():void {
                comboBox1.dataProvider = new ArrayCollection(DateBase.dayNamesShort);
                comboBox2.dataProvider = new ArrayCollection(DateBase.dayNamesLong);
                comboBox3.dataProvider = new ArrayCollection(DateBase.monthNamesShort);
                comboBox4.dataProvider = new ArrayCollection(DateBase.monthNamesLong);
                comboBox5.dataProvider = new ArrayCollection(DateBase.timeOfDay);
            }
        ]]>
    </mx:Script>

    <mx:Form creationComplete="init();">
        <mx:FormItem label="DateBase.dayNamesShort:">
            <mx:ComboBox id="comboBox1" />
        </mx:FormItem>
        <mx:FormItem label="DateBase.dayNamesLong:">
            <mx:ComboBox id="comboBox2" />
        </mx:FormItem>
        <mx:FormItem label="DateBase.monthNamesShort:">
            <mx:ComboBox id="comboBox3" />
        </mx:FormItem>
        <mx:FormItem label="DateBase.monthNamesLong:">
            <mx:ComboBox id="comboBox4" />
        </mx:FormItem>
        <mx:FormItem label="DateBase.timeOfDay:">
            <mx:ComboBox id="comboBox5" />
        </mx:FormItem>
    </mx:Form>

</mx:Application>