[Mono-osx] MonoMac patch to add NSDate/NSTimeZone selectors

Miguel de Icaza miguel at novell.com
Sat Jul 10 12:10:51 EDT 2010

Hello Duane,

   I noticed this:

  [Export ("secondsFromGMTForDate:")]
- 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.
> Duane
> _______________________________________________
> Mono-osx mailing list
> Mono-osx at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-osx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-osx/attachments/20100710/4bc7a077/attachment.html 

More information about the Mono-osx mailing list