flex ÈÕÆÚ´¦Àí¹¤¾ßÀà
¸ù¾Ý±ðÈËдÁËÀ࣬×Ô¼ºÓÖÔö¼ÓÁËÒ»²¿·Ö£¬Ìù³öÀ´·ÖÏí
/*»ñµÃÁ½¸öÈÕÆÚÖ®²î */
public static function getDateDiff(startDate:Date, endDate:Date):int
{
var diff:Number = (Number(endDate) - Number(startDate))/(3600000*24);
return diff;
}
/* »ñµÃÏÖÔÚÈÕÆÚ */
public static function getDate():Number
{
return new Date();
}
/* »ñµÃÏÖÔÚÈÕÆÚµÄÔÂ·Ý */
public static function getMonth():Number
{
return new Date().getMonth() + 1;
}
public static function getFullYear():Number
{
return new Date().getFullYear();
}
/* »ñµÃ¸ø¶¨ÄêµÄÌìÊý */
public static function getDaysOfYear(year:int):int
{
var startDate:Date = new Date(year, 0, 1);
var endDate:Date = new Date(year+1, 0, 1);
return (getDateDiff(startDate, endDate));
}
/* »ñµÃ¸ø¶¨Äê¡¢ÔµÄÌìÊý */
public static function getDaysOfMonth(year:int, month:int):int
{
var startDate:Date = new Date(year, month, 1);
var endDate:Date = new Date(year, month + 1, 1);
return (getDateDiff(startDate, endDate));
}
//»ñµÃ¸ø¶¨Äê È«ÄêÔ·ݵÄÌìÊý
public static function getMonthlyDayCounts(year:int):Array
{
var result:Array = [];
var startDate:Date;
var endDate:Date;
var monthlyDayCount:int;
for (var i:int = 0; i < 12; i++)
{
startDate = new Date(year, i, 1);
endDate = new Date(year, i +1, 1);
monthlyDayCount = getDateDiff(startDate, endDate);
result.push(monthlyDayCount);
}
return result;
}
/* ±È½ÏÁ½¸öÈÕÆÚ´óС */
public static function compare(date1:Date, date2:Date):int
{
if (Number(date1) < Number(date2))
{
return -1
}
if (Number(date1) == Number(date2))
{
return 0;
}
return 1;
}
//°ÑdateÈÕÆÚת»¯ÎªString
public static function convertToDateString(date:Date):String
{
var year:String = date.getFullYear().toString();
var month:String = Number(date.getMonth() + 1) < 10 ? "0" + String(date.getMonth() + 1): String(date.getMonth() + 1);
var dates:String = Number(date.getDate()) < 10 ? "0" + String(date.getDate()): String(date.getDa
Ïà¹ØÎĵµ£º
eclipseÒ»¸öÏîÄ¿ÖÐͬʱ¿ª·¢flexºÍj2eeµÄ»·¾³ÅäÖÃ
ÒòΪ¹¤×÷ÐèÒª£¬Ñ§ÁËÒ»ÖÜflex½ñÌ쿪ʼÑо¿Óë·þÎñÆ÷ͨÐÅ£¬Ñ¡ÔñÁËÃâ·ÑµÄBlazeDS¡£ÓÉÓÚ֮ǰ×öÏîÄ¿ÓõÄÊÇeclipse europa£¬¾Í°Ñflex builder 3 pluginÖ±½Ó°²×°µ½ÔÓеÄeclipseÉÏÁË£¬ÕâÑùÔÙÅäÖõÄʱºò¿Í»§¶Ë±à³ÌÓõÄflexºÍ·þÎñÆ÷¶ËµÄJ2EE¾ÍÄÜÕûºÏµ½Ò»¸ö¹¤³ÌÏÂÁË£¬Ï£Íû¶ÔÓÚÔÝʱÓÉjs ......
Spring IoCµÄÖ÷Ҫ˼ÏëÊÇʹÓÃÈÝÆ÷À´ÊµÀý»¯×é¼þ£¨²¢¸ø×é¼þ×¢ÈëËùÒÀÀµµÄ£©¡£µ«ÊÇÒ»°ãÇé¿öÏ£¬ÓÉFlex¿Í»§¶ËËùÔ¶³Ì·ÃÎʵÄ×é¼þÊÇÔÚ·þÎñÆ÷ÖÐÓÉBlazedsÀ´ÊµÀý»¯µÄ¡£Òò´ËÅäÖÃBlazeDSÀ´ÈÃSpringÈÝÆ÷¸ºÔðʵÀý»¯Spring beans¡£BlazeDSÖ§³Ö¹¤³§µÄ¸ÅÄîÀ´Ê¹µÃÕâÖÖ×Ô¶¨Òå×é¼þ¿ÉÒÔʵÀý»¯¡£¹¤³§µÄ×÷Óýö½öÊÇÏòBlazeDSÌá¹©Ò ......
Í϶¯Ë®Æ½¹ö¶¯ÌõÀ´¸Ä±äͼƬ´óС¡£
<?xml version="1.0"?>
<!--
Simple example to demonstrate the HSlider control.
ˮƽÍ϶¯Ìõ¡£
MyShareBook.cn ·Òë   ......
ÕâÁ½Ìì¿´Á˹«Ë¾ÀÏ×ÜÑÝʾµÄÒ»¸öЧ¹û£¬ÈÈͼ·Ö²¼Çé¿ö£¬¸Ð¾õºÜÖ±¹Û¡£¹úÄÚµØͼÉϺÜÉÙÓÐÕâÖÖ±íÏÖ·½Ê½µÄ¡£
gÁËһϷ¢ÏÖÒÔÏ£º·¢ÏÖflexÏÂÓÐ IBM ILOG Elixir ¿ÉÒÔÓ㬲»¹ýÕâÒª»¨Ç®¡£
https://www.adobe.com/cn/products/flex/ibmilogelixir/
»¹ÓÐÒ»¸öHeat API£¬¿ÉÒÔÔÙgooglemapÉϵþ¼ÓÈÈͼ¡£
http://www.heatmapapi.com/ £¬ ......
ÔÀ´ÊÇÕâÑù£¬
ÎÒÒ»¿ªÊ¼ÓõÄÊÇflex_sdk_3.4.1.10084£¨Stable Builds£©£¬£¨ÓÉÓÚsdk3.5ÓÐcomboboxµÄbug£©,µ«ÊÇÔÚÓÃRSLµÄʱºò£¬·¢ÏÖflash player µÄAssetCacheÀï¾ÍÊÇûÓÐswz,
ÔÒòÊÇ£ºÎÒÓõÄsdkÊÇStable Builds£¬ËüÊÇûÓÐswzµÄ£¬
¹ÙÍøµÄ½âÊÍÊÇ£º
The Flex team dos not currently create signed versions of the major RSL ......