You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by jm...@apache.org on 2013/04/22 12:25:03 UTC
[3/3] git commit: [flex-sdk] - Fixed field sizes and added extra
.millisecond test
Fixed field sizes and added extra .millisecond test
Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/ec15ddde
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/ec15ddde
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/ec15ddde
Branch: refs/heads/develop
Commit: ec15ddde1f798c4dca45991adfbe46130c832f55
Parents: 68c2a9b
Author: Justin Mclean <jm...@apache.org>
Authored: Mon Apr 22 20:24:28 2013 +1000
Committer: Justin Mclean <jm...@apache.org>
Committed: Mon Apr 22 20:24:28 2013 +1000
----------------------------------------------------------------------
.../tests/Formatters/SWFs/DateFormatter_Main.mxml | 24 ++++++++-------
1 files changed, 13 insertions(+), 11 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/ec15ddde/mustella/tests/Formatters/SWFs/DateFormatter_Main.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/Formatters/SWFs/DateFormatter_Main.mxml b/mustella/tests/Formatters/SWFs/DateFormatter_Main.mxml
index a782c18..1946c62 100644
--- a/mustella/tests/Formatters/SWFs/DateFormatter_Main.mxml
+++ b/mustella/tests/Formatters/SWFs/DateFormatter_Main.mxml
@@ -17,7 +17,7 @@
limitations under the License.
-->
-<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" width="800" height="700" horizontalAlign="center">
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" width="850" height="700" horizontalAlign="center">
<!--
http://livedocs.adobe.com/flex/3/langref/mx/formatters/DateFormatter.html
@@ -175,6 +175,7 @@
// millisec
dateFormatOutputDefaultMaskMillisec.text = dtFormatterMaskMillisec.format(aDate);
+ dateFormatOutputDefaultMaskAltMillisec.text = dtFormatterMaskALtMillisec.format(aDate);
//deafult toDateString
dateStringOutput.text = aDateString;
@@ -233,6 +234,7 @@
<mx:DateFormatter id="dtFormatterMaskMedium" formatString="MMM. D, YYYY"/>
<mx:DateFormatter id="dtFormatterMaskTime" formatString="L:NN A"/>
<mx:DateFormatter id="dtFormatterMaskMillisec" formatString="EEEE, MMMM DD, YYYY at HH:NN:SS:QQQ A"/>
+ <mx:DateFormatter id="dtFormatterMaskALtMillisec" formatString="EEEE, MMMM DD, YYYY at HH:NN:SS.QQQ A"/>
<!-- set up some anal date part formats-->
<mx:DateFormatter id="dtFormatterDatePartYY" formatString="YY"/>
@@ -279,17 +281,17 @@
<mx:Panel layout="horizontal" title="Results" verticalGap="10" height="100%" width="100%" horizontalAlign="center" verticalAlign="middle">
<mx:VBox horizontalAlign="center" verticalAlign="top" width="60%" paddingLeft="5">
<mx:Label text="Standard Date Masks"/>
- <mx:TextInput id="dateFormatOutputDefaultStr" width="215"/>
- <mx:TextInput id="dateFormatOutputDefaultObj" width="215"/>
-
- <mx:TextInput id="dateFormatOutputDefaultMaskFull" width="215"/>
- <mx:TextInput id="dateFormatOutputDefaultMaskLong" width="215"/>
- <mx:TextInput id="dateFormatOutputDefaultMaskMedium" width="215"/>
- <mx:TextInput id="dateFormatOutputDefaultMaskTime" width="215"/>
- <mx:TextInput id="dateFormatOutputDefaultMaskMillisec" width="215"/>
+ <mx:TextInput id="dateFormatOutputDefaultStr" width="300"/>
+ <mx:TextInput id="dateFormatOutputDefaultObj" width="300"/>
+
+ <mx:TextInput id="dateFormatOutputDefaultMaskFull" width="300"/>
+ <mx:TextInput id="dateFormatOutputDefaultMaskLong" width="300"/>
+ <mx:TextInput id="dateFormatOutputDefaultMaskMedium" width="300"/>
+ <mx:TextInput id="dateFormatOutputDefaultMaskTime" width="300"/>
+ <mx:TextInput id="dateFormatOutputDefaultMaskMillisec" width="300"/>
+ <mx:TextInput id="dateFormatOutputDefaultMaskAltMillisec" width="300"/>
-
- <mx:TextInput id="dateStringOutput" width="215"/>
+ <mx:TextInput id="dateStringOutput" width="300"/>
</mx:VBox>
<mx:VBox horizontalAlign="center" width="40%" paddingTop="5" paddingBottom="5">