Posted By

saturngod on 10/06/10


Tagged

timezone iPhoneSDK


Versions (?)

Who likes this?

4 people have marked this snippet as a favorite

bobbym245
synced
Tintenklecks
cnathan


timeZoneWithName sample


 / Published in: Objective C
 

  1. NSTimeZone *aZone;
  2. aZone = [NSTimeZone timeZoneWithName:@"Jeff"]; // will return NIL, as
  3. it should
  4.  
  5.  
  6. aZone = [NSTimeZone timeZoneWithName:@"US/Pacific"]; // will return a
  7.  
  8.  
  9. aZone = [NSTimeZone timeZoneWithName:@"Africa/Harare"]; // will return a
  10. bad object pointer

Report this snippet  

You need to login to post a comment.