[MonoTouch] No NSTimeInterval?

Jeff Stedfast jeff at xamarin.com
Mon Dec 12 11:04:22 EST 2011


Hi technohead,

In addition to Sebastien's answer, you can also cast NSDate to DateTime.

Hope that helps,

Jeff

On Sat, Dec 10, 2011 at 7:19 PM, Sebastien Pouliot <sebastien at xamarin.com>wrote:

> NSTimeInterval is mapped to System.Double (i.e. `double` in C#).
>
> On Sat, Dec 10, 2011 at 6:53 PM, technohead <dj_technohead at yahoo.com>
> wrote:
> > Think I found a solution, comparing the property
> SecondsSinceReferenceDate on
> > the NSDate objects.
> >
> >
> > --
> > View this message in context:
> http://monotouch.2284126.n4.nabble.com/No-NSTimeInterval-tp4181491p4181500.html
> > Sent from the MonoTouch mailing list archive at Nabble.com.
> > _______________________________________________
> > MonoTouch mailing list
> > MonoTouch at lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/monotouch
> _______________________________________________
> MonoTouch mailing list
> MonoTouch at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monotouch
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/monotouch/attachments/20111212/4f002459/attachment.html 


More information about the MonoTouch mailing list