Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Improve the precision of the new tests. |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | newJulianDay |
Files: | files | file ages | folders |
SHA1: |
0d4a166b9af4e6bd86e6b60e448bf79a |
User & Date: | mistachkin 2014-11-01 18:59:02.835 |
Context
2014-11-01
| ||
21:08 | Improve backward compatibility by throwing exceptions for Julian Day values that are out of the range supported by the DateTime class in the .NET Framework. Fix issue with millisecond accuracy. check-in: c3dc93e495 user: mistachkin tags: newJulianDay | |
18:59 | Improve the precision of the new tests. check-in: 0d4a166b9a user: mistachkin tags: newJulianDay | |
18:46 | Minor fix to whitespace. check-in: b276a44703 user: mistachkin tags: newJulianDay | |
Changes
Changes to Tests/tkt-3e783eecbe.eagle.
︙ | ︙ | |||
20 21 22 23 24 25 26 | ############################################################################### runTest {test tkt-3e783eecbe-1.1 {Julian Day w/o OLE Automation} -setup { set minDateTime [object invoke -create -alias DateTime MinValue] set maxDateTime [object invoke -create -alias DateTime MaxValue] | | > | > | 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 | ############################################################################### runTest {test tkt-3e783eecbe-1.1 {Julian Day w/o OLE Automation} -setup { set minDateTime [object invoke -create -alias DateTime MinValue] set maxDateTime [object invoke -create -alias DateTime MaxValue] set dateTimeValues [list $minDateTime "0099-12-31 00:00:00" \ "0100-01-01 00:00:00" $maxDateTime] } -body { set results [list] foreach dateTimeValue $dateTimeValues { if {$dateTimeValue ni [info objects]} then { set dateTimeValue [object invoke \ -create DateTime ParseExact $dateTimeValue \ [getDateTimeFormat] null] set dateTimeValue [object invoke -create -alias \ DateTime SpecifyKind $dateTimeValue Utc] } set code [catch { object invoke System.Data.SQLite.SQLiteConvert ToJulianDay \ |
︙ | ︙ |