Flex provides the “Date” class which contains a lot of useful time conversion or display tools. However, it doesn’t support “day of year” format.
Here is a useful library somebody wrote that supports “day of year” time formats:
- Library: http://flexdateutils.riaforge.org/
- Usage: http://flexoop.com/2008/12/flex-date-utils-dayofyear-and-weekofyear/
- Compiling: “mxmlc -library-path+=<LIBRARY_NAME> file.mxml”