开发者

Date Diff in Flex 4

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜