iphone-common-codes-ccteam源代码 CCNSTimeZone.m
来源:互联网 发布:excel 数据分组 编辑:程序博客网 时间:2024/06/03 16:20
//// CCNSTimeZone.m// CCFC//// Created by xichen on 11-12-24.// Copyright 2011 ccteam. All rights reserved.//#import "CCNSTimeZone.h"#import "CCLog.h"@implementation NSTimeZone(cc)+ (void)setTimeZone:(NSString *)zoneStr{ NSTimeZone *timeZone = [NSTimeZone timeZoneWithName:zoneStr]; [NSTimeZone setDefaultTimeZone:timeZone];}+ (void)logKnownTimeZones{ NSArray *array = [NSTimeZone knownTimeZoneNames]; LOG_ARR(array); for(int i = 0;i < [array count];++i) { NSTimeZone *timeZone = [NSTimeZone timeZoneWithName:[array objectAtIndex:i]]; LOG_ID(timeZone); }}@end
可能有更新:
googlecode链接地址:http://code.google.com/p/iphone-common-codes-ccteam/source/browse/trunk/CCFC/files/CCNSTimeZone.m
github地址: https://github.com/cxsjabc/iphone-common-codes-ccteam/tree/master/CCFC/files/CCNSTimeZone.m
- iphone-common-codes-ccteam源代码 CCNSTimeZone.m
- iphone-common-codes-ccteam源代码 CCNSTimeZone.h
- iphone-common-codes-ccteam源代码 CCAddressBook.m
- iphone-common-codes-ccteam源代码 CCAutoDisappearView.m
- iphone-common-codes-ccteam源代码 CCBaseTipView.m
- iphone-common-codes-ccteam源代码 CCCALayer.m
- iphone-common-codes-ccteam源代码 CCCamera.m
- iphone-common-codes-ccteam源代码 CCCommon.m
- iphone-common-codes-ccteam源代码 CCCompile.m
- iphone-common-codes-ccteam源代码 CCConfig.m
- iphone-common-codes-ccteam源代码 CCContact.m
- iphone-common-codes-ccteam源代码 CCDelete.m
- iphone-common-codes-ccteam源代码 CCDepend.m
- iphone-common-codes-ccteam源代码 CCDylib.m
- iphone-common-codes-ccteam源代码 CCEmoji.m
- iphone-common-codes-ccteam源代码 CCEncoding.m
- iphone-common-codes-ccteam源代码 CCFile.m
- iphone-common-codes-ccteam源代码 CCFileName.m
- iphone-common-codes-ccteam源代码 CCNSThread.h
- iphone-common-codes-ccteam源代码 CCNSThread.m
- ldap - 设置一个基本的OpenLDAP Server
- iphone-common-codes-ccteam源代码 CCNSTimeZone.h
- grep的用法
- iphone-common-codes-ccteam源代码 CCNSTimeZone.m
- Android 系统自带样式Android:theme
- 报表Birt report
- iphone-common-codes-ccteam源代码 CCNSTimer.h
- 用于运行 ASP.NET 的进程帐户必须具有对 IIS 元数据库(如 IIS://servername/W3SVC)的读访问权
- iphone-common-codes-ccteam源代码 CCNSTimer.m
- Android传感器的运用之ACCELEROMETER
- 可以给build.xml改名,例如改成HelloWorld.xml
- 第六章堆排序之“优先级队列实现先进先出队列和栈”(练习6.5-6)