/*** 是否为今天*/- (BOOL)isToday{ NSCalendar *calendar = [NSCalendar currentCalendar]; int unit = NSCalendarUnitDay | NSCalendarUnitMonth | NSCalendarUni.....
分类:
其他好文 时间:
2015-06-04 19:06:30
阅读次数:
270
java.lang.IllegalArgumentException: Mapped Statements collection does not contain value for在unit里测试怎么也通不过,最后终于找到问题,原来是命名空间没写对,如果使用mapper,则空间中一定要写上Mapp...
分类:
移动开发 时间:
2015-06-04 18:55:42
阅读次数:
144
(int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_SP, mTextSize, context.getResources().getDisplayMetrics())a.getDimensionPixelSize(R.styleable....
分类:
其他好文 时间:
2015-06-04 17:01:23
阅读次数:
118
发现个delphi调用vc写的Dll中包含pchar参数奇怪现象
procedure中的第一行语句不能直接调用DLL的函数,否则会运行错,在之前任意加上条语句就不报错了奇怪!
vc的DLL源码地址
http://blog.csdn.net/lqena/article/details/46357165
Delphi源码如下:
unit Unit1;
interface
use...
Just add the below code in lookup() of StringEdit control in Form to get the Business Unit Lookup:public void lookup(){Query query;SysTableLookup sysT...
分类:
其他好文 时间:
2015-06-04 15:32:30
阅读次数:
149
今天编译RM报表 7.0 for XE7 ,build设计时包,提示{$IFDEF JPEG}, JPEG{$ENDIF}没有找到 JPEG.DCU,这个应该是XE7自带。给Delhi.命名空间 指定单元范围名称 前缀,使你可以在代码中和uses子句或者 包含子句里,使用 部分匹配的名称。Speci...
分类:
其他好文 时间:
2015-06-04 13:43:36
阅读次数:
258
unit Unit1;interfaceusesWindows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,Dialogs, StdCtrls, ExtCtrls;typeTForm1 = class(TForm...
contract/table inner join
weatherContract+ define constants + locationEntry.
sqllite open helper and database /weatherDbHelper /unit test+ create DB + helper on Upgrade
readwrite from a database/overview/...
分类:
移动开发 时间:
2015-06-04 07:28:33
阅读次数:
698
3 External assertion files Syntax1 vunit name (hierarchical_HDL_design_unit)2 {3 default clock is ;4 ;5 ...6 } Example1 vunit check_dram_cont...
分类:
其他好文 时间:
2015-06-03 21:23:40
阅读次数:
121
这个方法是转变为标准尺寸的一个函数,例如int size = (int)TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_SP, 20, context.getResources().getDisplayMetrics());这里COMPLEX_UN...
分类:
移动开发 时间:
2015-06-03 19:23:17
阅读次数:
165