码迷,mamicode.com
首页 >  
搜索关键字:error date strtotime    ( 57037个结果
时间类--多重继承
/* *Copyright (c) 2013, 烟台大学计算机学院 * All rights reserved. * 作 者:马广明 * 完成日期:2014 年 5 月 19 日 * 版 本 号:v1.0 * 问题描述:日期时间类 */ #include using namespace std; class Date { public: Date(...
分类:其他好文   时间:2014-06-05 02:02:18    阅读次数:176
Android程序崩溃异常收集框架
最近在写Android程序崩溃异常处理,完成之后,稍加封装与大家分享。 我的思路是这样的,在程序崩溃之后,将异常信息保存到一个日志文件中,然后对该文件进行处理,比如发送到邮箱,或发送到服务器。 所以,第一步是先定义一个接口,用于在保存好日志之后的回调。代码如下: /* * @(#)CrashListener.java Project: crash * Date:2014-...
分类:移动开发   时间:2014-06-05 01:50:32    阅读次数:405
调整php和mysql的时间 utc转为北京时间
date_default_timezone_set('PRC') or die('时区设置失败,请联系管理员!'); //设置php的时区,例如使用time函数 mysql_query("SET time_zone = '+8:00'") or die('时区设置失败,请联系管理员!'); //设置mysql的时区,例如使用now函数...
分类:数据库   时间:2014-06-05 00:27:46    阅读次数:329
缺少libz.dylib库的时候引起的一个链接错误
缺少libz.dylib库的时候引起的一个链接错误 Undefined symbols for architecture armv7s: "_inflate", referenced from: -[ASIDataDecompressor uncompressBytes:length:error:] in ASIDataDecompressor.o "_deflate", refere...
分类:其他好文   时间:2014-06-05 00:09:02    阅读次数:267
freemarker报错之二
1、错误描述 五月 27, 2014 12:07:05 上午 freemarker.log.JDK14LoggerFactory$JDK14Logger error 严重: Template processing error: "Can't convert the date to string, because it is not known which parts of the date va...
分类:其他好文   时间:2014-06-04 22:00:07    阅读次数:280
Java获取某年某季度的第一天出错
1、错误描述 Exception in thread "main" java.lang.IllegalArgumentException: Cannot format given Object as a Date at java.text.DateFormat.format(Unknown Source) at java.text.Format.format(Unknown Source)...
分类:编程语言   时间:2014-06-03 03:26:58    阅读次数:309
Java获取某年某周的最后一天
Java获取某年某周的最后一天 1、设计源码 LastDayOfWeek.java: /** * @Title:LastDayOfWeek.java * @Package:com.you.freemarker.model * @Description:获取某年某周的最后一天 * @author:Youhaidong(游海东) * @date:2014-5-29 下午11...
分类:编程语言   时间:2014-06-03 01:44:03    阅读次数:230
[Android_Bug]Phonegap解决错误:Error initializing Cordova:Class not found
Phonegap 解决错误:Alert[ERROR]Error initializing Cordova:Class not found发现bug后找原因网上说是 因为找不到 res/xml文件夹下的 config.xml 文件;但我有这个config.xml我想了一下 是不是因为没有找到指定的co...
分类:移动开发   时间:2014-05-31 20:21:27    阅读次数:245
python 网络编程 (二)---tcp
异常python的socket模块实际上定义了4种可能出现的异常:1)与一般I/O 和通信问题有关的socket.error;2)与查询地址信息有关的socket.gaierror;3)与其他地址错误有关的socket.herror;4)与在一个socket上调用settimeout()后,处理超时...
分类:编程语言   时间:2014-05-31 18:42:49    阅读次数:220
解决yum升级的问题“There was a problem importing one of the Python modules”
yum命令升级的时候,报出这个错误。There was a problem importing one of the Python modules required to run yum. The error leading to this problem was: No module named yum Please install a package which provides t...
分类:编程语言   时间:2014-05-31 17:42:52    阅读次数:453
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!