Skip to content

v2.3.1.1

Compare
Choose a tag to compare
@Tronald Tronald released this 05 Nov 04:31
· 220 commits to master since this release
01a0940
  • Coordinates may now operate in local / UTC offset time.
  • Greatly improves local time conversion performance. Benchmarks now match UTC calculation benchmarks.
  • Simplifies local time conversion calls.
  • Deprecates legacy local time calls.
  • Reduces GeoDate property change overhead.
  • Minor EagerLoad_Extensions improvements.
  • Parser improvements. Geodetic coordinates will now successfully parse if latitudes are before longitudes in string. UTM single strings will now parse.
  • Developer Guide, Celestial section changes to match new and improved methods.
  • License modification to allow for free commercial use license issuance for certain use cases.
  • Split license packed with Nuget package.
  • Removes .pdb files from pack.

  • Example of Coordinate local time operation.

    //EST Date 21-MAR-2019 @ 07:00 AM
    DateTime d = new DateTime(2017,3,21,7,0,0);
    Coordinate c = new Coordinate(40.57682, -70.75678, d);
    
    //Coordinate still assumes the date is UTC, so we must specify the local offset hours.
    c.Offset = -4; //EST is UTC -4 hours
    
    c.CelestialInfo.SunRise.ToString(); //Outputs 3/21/2017 06:45:00 AM