开发者

Date Diff in Flex 4

开发者 https://www.devze.com 2023-02-15 10:00 出处:网络
The Adobe docs point to a function called dateDiff, I cant however see any examples or reference as to what开发者_StackOverflow社区 I should be importing to make this function work.The implementation

The Adobe docs point to a function called dateDiff, I cant however see any examples or reference as to what开发者_StackOverflow社区 I should be importing to make this function work.


The implementation can be found in com.adobe.fiber.runtime.lib.DateTimeFunc

So it should work like this:

import com.adobe.fiber.runtime.lib.DateTimeFunc;

But this package seems not to be a part of the standard Flex SDK, so you better should try FlexDateUtils.


If you need the code: http://flexed.wordpress.com/2006/06/26/date-difference/

0

精彩评论

暂无评论...
验证码 换一张
取 消