NETGeographicLib
1.48

#include <NETGeographicLib/NETGeographicLib.h>
Static Public Member Functions  
static double  FractionalYear (System::String^ s) 
Utility library.
This class only exposes the GeographicLib::Utility::fractionalyear function.
Definition at line 270 of file NETGeographicLib.h.

static 
Convert a string representing a date to a fractional year.
[in]  s  the string to be converted. 
GeographicErr  if s can't be interpreted as a date. 
The string is first read as an ordinary number (e.g., 2010 or 2012.5); if this is successful, the value is returned. Otherwise the string should be of the form yyyymm or yyyymmdd and this is converted to a number with 20100101 giving 2010.0 and 20120703 giving 2012.5.