Bug 31154 - Missing constructor for [NSTimeZone timeZoneForSecondsFromGMT]
Summary: Missing constructor for [NSTimeZone timeZoneForSecondsFromGMT]
Status: RESOLVED FIXED
Alias: None
Product: iOS
Classification: Xamarin
Component: Xamarin.iOS.dll ()
Version: master
Hardware: Macintosh Mac OS
: Normal normal
Target Milestone: 8.13 (C6 alpha)
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2015-06-16 11:12 UTC by Justyn
Modified: 2015-07-28 11:18 UTC (History)
2 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description Justyn 2015-06-16 11:12:29 UTC
In the Apple NSTimeZone documentation, there is a public constructor [NSTimeZone timeZoneForSecondsFromGMT]. This appears to be missing from the MonoTouch implementation.

Currently, I can't see how I would create a NSTimeZone based on an offset in seconds.
Comment 1 Justyn 2015-06-30 06:15:03 UTC
This is the constructor that doesn't appear to be bound:

https://developer.apple.com/library/prerelease/ios/documentation/Cocoa/Reference/Foundation/Classes/NSTimeZone_Class/index.html#//apple_ref/occ/clm/NSTimeZone/timeZoneForSecondsFromGMT:

Is this because it was missed or is there another way this can be accessed?
Comment 2 Sebastien Pouliot 2015-07-28 11:18:31 UTC
Added in maccore/master a5a1b7aa85ee0858b814cc531f908d2a920da80d