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/18 03:11:26 UTC
[2/3] git commit: [flex-sdk] - FLEX-24691 Descibed NaN behaviour in
function header comments
FLEX-24691 Descibed NaN behaviour in function header comments
Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/f67e9010
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/f67e9010
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/f67e9010
Branch: refs/heads/develop
Commit: f67e9010849804543883495f9080b95d0268db92
Parents: 17a0c87
Author: Justin Mclean <jm...@apache.org>
Authored: Thu Apr 18 10:27:08 2013 +1000
Committer: Justin Mclean <jm...@apache.org>
Committed: Thu Apr 18 10:27:08 2013 +1000
----------------------------------------------------------------------
.../projects/framework/src/mx/utils/ObjectUtil.as | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/f67e9010/frameworks/projects/framework/src/mx/utils/ObjectUtil.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/framework/src/mx/utils/ObjectUtil.as b/frameworks/projects/framework/src/mx/utils/ObjectUtil.as
index c9e8fbb..5f87c39 100644
--- a/frameworks/projects/framework/src/mx/utils/ObjectUtil.as
+++ b/frameworks/projects/framework/src/mx/utils/ObjectUtil.as
@@ -325,7 +325,10 @@ public class ObjectUtil
* -1 if <code>a</code> is before <code>b</code>
* (or <code>b</code> is <code>null</code>);
* 1 if <code>a</code> is after <code>b</code>
- * (or <code>a</code> is <code>null</code>).
+ * (or <code>a</code> is <code>null</code>);
+ * 0 is both dates getTime's are NaN;
+ * 1 if only <code>a</code> getTime is a NaN;
+ * -1 if only <code>b</code> getTime is a NaN.
*
* @langversion 3.0
* @playerversion Flash 9