[Mono-osx] MonoMac patch to add NSDate/NSTimeZone selectors
Miguel de Icaza
miguel at novell.com
Sat Jul 10 12:10:51 EDT 2010
I noticed this:
- int SecondsFromGMT (NSDate date);
+ int SecondsFromGMTForDate (NSDate date);
What ist he rationale for this change?
I changed the NSTimeZone.WithName to match the pattern used in MonoMac
and MonoTouch to make it "FromName" instead.
On Fri, Jul 9, 2010 at 12:13 PM, Duane Wandless <duane at wandless.net> wrote:
> Bind NSDate dateWithTimeIntervalSinceNow.
> Bind NSTimeZone timeZoneWithName
> Bind NSTimeZone localTimeZone
> Bind NSTimeZone description
> Bind NSTimeZone secondsFromGMT
> Rename binding for NSTimeZone secondsFromGMTForDate
> to SecondsFromGMTForDate (from secondsFromGMT)
> Fix binding for NSMutableUrlRequest setValue:forHTTPHeaderField
> NSTimeZone should expose both secondsFromGMTForDate and secondsFromGMT.
> As far as I can tell the binding for SetValue is required as trying to use
> the Headers NSDictionary cannot work, as an NSDictionary is readonly.
> Mono-osx mailing list
> Mono-osx at lists.ximian.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-osx