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/05/09 08:41:52 UTC

git commit: [flex-sdk] [refs/heads/develop] - Update documentation with support for MM and MMMM formats

Updated Branches:
  refs/heads/develop ed5baabd5 -> cddd3f48f


Update documentation with support for MM and MMMM formats


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/cddd3f48
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/cddd3f48
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/cddd3f48

Branch: refs/heads/develop
Commit: cddd3f48fa36d522b916df5cb89da51079c9e4c8
Parents: ed5baab
Author: Justin Mclean <jm...@apache.org>
Authored: Thu May 9 16:41:30 2013 +1000
Committer: Justin Mclean <jm...@apache.org>
Committed: Thu May 9 16:41:30 2013 +1000

----------------------------------------------------------------------
 .../projects/mx/src/mx/controls/DateField.as       |   13 ++++++++-----
 1 files changed, 8 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/cddd3f48/frameworks/projects/mx/src/mx/controls/DateField.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/mx/src/mx/controls/DateField.as b/frameworks/projects/mx/src/mx/controls/DateField.as
index f84b660..9c65abc 100644
--- a/frameworks/projects/mx/src/mx/controls/DateField.as
+++ b/frameworks/projects/mx/src/mx/controls/DateField.as
@@ -433,8 +433,9 @@ public class DateField extends ComboBase
      *  object corresponding to the String.
      *  The <code>inputFormat</code> argument contains the pattern
      *  in which the <code>valueString</code> String is formatted.
-     *  It can contain <code>"M"</code>,<code>"MM"</code>,<code>"D"</code>,
-	 *  <code>"DD"</code>,<code>"YY"</code>,<code>"YYYY"</code>
+     *  It can contain <code>"M"</code>, <code>"MM"</code>, 
+	 *  <code>"MMM"</code> (3 letter month names), <code>"MMMM"</code> (month names),
+	 *  <code>"D"</code>,  <code>"DD"</code>, <code>"YY"</code>, <code>"YYYY"</code>
      *  and delimiter and punctuation characters.
 	 * 
 	 *  <p>Only upper case characters are supported.</p>
@@ -559,8 +560,9 @@ public class DateField extends ComboBase
      *  Formats a Date into a String according to the <code>outputFormat</code> argument.
      *  The <code>outputFormat</code> argument contains a pattern in which
      *  the <code>value</code> String is formatted.
-     *  It can contain <code>"M"</code>,<code>"MM"</code>,<code>"D"</code>,
-	 *  <code>"DD"</code>,<code>"YY"</code>,<code>"YYYY"</code>
+     *  It can contain <code>"M"</code>, <code>"MM"</code>,
+	 *  <code>"MMM"</code> (3 letter month names), <code>"MMMM"</code> (month names),
+	 *  <code>"D"</code>, <code>"DD"</code>, <code>"YY"</code>, <code>"YYYY"</code>
      *  and delimiter and punctuation characters.
 	 * 
 	 *  <p>Only upper case characters are supported.</p>
@@ -1319,7 +1321,8 @@ public class DateField extends ComboBase
     /**
      *  The format of the displayed date in the text field.
      *  This property can contain any combination of <code>"M"</code>,
-	 *  <code>"MM"</code>, <code>"D"</code>, <code>"DD"</code>,
+	 *  <code>"MM"</code>, <code>"MMM"</code> (3 letter month names),
+	 *  <code>"MMMM"</code> (month names), <code>"D"</code>, <code>"DD"</code>,
 	 *  <code>"YY"</code>, <code>"YYYY"</code>,
      *  delimiter, and punctuation characters.
 	 *