CoordinateCelestial_LocalTime Method
Returns a new Celestial object in local time, based on the Coordinate objects values.
Namespace: CoordinateSharpAssembly: CoordinateSharp (in CoordinateSharp.dll) Version: 3.1.1.1
XMLNS for XAML: Not mapped to an xmlns.
public Celestial Celestial_LocalTime(
double hourOffset
)
- hourOffset Double
- Offset hours
CelestialCelestial
In the following example we convert a UTC populated Coordinate.Celestial object and convert it to Local time.
Coordinate coord = new Coordinate(32,72, DateTime.Now);
//Convert to Pacific Standard Time (PST) -7 UTC and return new
//Celestial object that contains values in PST.
Celestial cel = coord.Celestial_LocalTime(-7);