flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmcl...@apache.org
Subject [3/3] git commit: [flex-sdk] - Fixed field sizes and added extra .millisecond test
Date Mon, 22 Apr 2013 10:25:03 GMT
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 <jmclean@apache.org>
Authored: Mon Apr 22 20:24:28 2013 +1000
Committer: Justin Mclean <jmclean@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">


Mime
View raw message