JesterXL schrieb:
Changing Date.prototype.function to class MyDate extends Date seems trivial to me. While the code uses prototypes, it's still useful. I'm with you on time, though; if something's there, works, and is ready to go, nothing is better!

----- Original Message ----- From: "Michael Stuhr" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" <[email protected]>
Sent: Tuesday, February 07, 2006 12:15 PM
Subject: Re: [Flashcoders] Date-Classes


JesterXL schrieb:
Date Formatter
http://www.darronschall.com/weblog/archives/000040.cfm
http://www.darronschall.com/weblog/archives/000052.cfm

Date Prototypes
http://proto.layer51.com/l.aspx?p=9

thanks Jesse, as i've not much time, i'm sticking with OS-Easy-use :-)

oh btw: the prototypes REALLY outdated. there so few CLASSES in there, i mean
ok, it's prototype lib, but hey: times are changing :)

micha
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

yepp: btw: my second question == undefined, cause:

flash8 sucks! i imported SimpleDateFormatter and used it as described on 
OSFlash:

---
import SimpleDateFormatter;
var now:Date = new Date();

var nowString:String = SimpleDateFormatter.formatDate( new Date(), "yyyy-MMM-dd HH:mm:ssa" );
trace( nowString );

var nowAgain:Date = SimpleDateFormatter.getDateFromFormat( nowString, "yyyy-MMM-dd HH:mm:ssa" );
trace( nowAgain );
---

it traced undefined! both!

why ?  it never compiled the class.

is just started a new fla, and hadn't set the path for my classes in it.
the bug is: compiler doesn't care. wheeeww! It always did before. What a Mess!

took me some time to get that one :-)

micha
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to