Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
changing dates to be instantiated by an epoch time
- Loading branch information
danschultz
committed
Apr 5, 2011
1 parent
4113359
commit d0f412e
Showing
4 changed files
with
128 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
package mesh.core.date | ||
{ | ||
import org.flexunit.assertThat; | ||
import org.hamcrest.object.equalTo; | ||
|
||
public class DateTimeTests | ||
{ | ||
public function setup():void | ||
{ | ||
|
||
} | ||
|
||
[Test] | ||
public function testDateUTC():void | ||
{ | ||
var now:Date = new Date(Date.UTC(2011, 1, 28) + (480*60000)); | ||
trace(now); | ||
} | ||
} | ||
} |
Oops, something went wrong.