Hi!<div><br></div><div>Is it possible for a .NET class to provide a property with the Python datetime instead of System.DateTime?</div><div><br></div><div>Thank you very much for the attention!</div><div><br></div><div>Best regards!</div>
<div>Mello</div><div><br></div><div><br><br><div class="gmail_quote">On Thu, Mar 1, 2012 at 6:31 PM, Cesar Mello <span dir="ltr">&lt;<a href="mailto:cmello@gmail.com">cmello@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
It worked perfectly and fast! Thank you so much!!!!<div><br></div><div>Best regards</div><div><span class="HOEnZb"><font color="#888888">Mello</font></span><div><div class="h5"><br><br><div class="gmail_quote">On Thu, Mar 1, 2012 at 5:37 PM, Jeff Hardy <span dir="ltr">&lt;<a href="mailto:jdhardy@gmail.com" target="_blank">jdhardy@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>On Thu, Mar 1, 2012 at 12:13 PM, Cesar Mello &lt;<a href="mailto:cmello@gmail.com" target="_blank">cmello@gmail.com</a>&gt; wrote:<br>


&gt; Hey guys!<br>
&gt;<br>
&gt; Just curious: is there a way to implement in the .NET class something that<br>
&gt; maps to the ** operator?<br>
<br>
</div>You should be able to create a method called __pow__ like so:<br>
    public object __pow__(object b, object e) { ... }<br>
<br>
Replace object with whatever types you&#39;re working with.<br>
<span><font color="#888888"><br>
- Jeff<br>
</font></span></blockquote></div><br></div></div></div>
</blockquote></div><br></div>