摘要:
public static int getStatusHeight(Activity activity){ int statusHeight = 0; Rect localRect = new Rect(); activity.getWindow().getDecorView( ).getWindowVisibleDisplayFrame(localRect); statusHeight = localRect.top; if (0 == statusHeight){ Class l... 阅读全文
摘要:
<?phpclass Cat{ public $name; //public function __construct() { // $this->name = $name; //} public function input($cityID){ $this->name = $cityID; }}class Data{ public $code; public $data; public function input($de,$da){ $this->code = $de; $this->dat... 阅读全文
摘要:
引用字母 日期或时间元素 表示 示例G Era 标志符 Text ADy 年 Year 1996; 96M 年中的月份 Month July; Jul; 07w 年中的周数 Number 27W 月份中的周数 Number 2D 年中的天数 Number 189d 月份中的天数 Number 10F 月份中的星期 Number 2E 星期中的天数 Text Tuesday; Tuea Am/pm 标记 Text PMH 一天中的小时数(0-23) Number 0k 一天中的小时数(1-24) Number 24K am/pm 中的小时数(0-11) Number 0h am/pm 中的小时数 阅读全文
摘要:
在项目中Properties文件夹下有个 AssemblyInfo.cs最后有段代码// Version information for an assembly consists of the following four values: // // Major Version // Minor Version // Build Number // Revision // // You can specify all the values or you can default the Revision and Build Numbers // by using the '*' 阅读全文