Sets or returns the number of leap seconds used in ASCOM Astrometry functions

Namespace: ASCOM.Astrometry.AstroUtils
Assembly: ASCOM.Astrometry (in ASCOM.Astrometry.dll) Version: 6.0.0.0 (6.1.1.2619)

Syntax

C#
public int LeapSeconds { get; set; }
Visual Basic
Public Property LeapSeconds As Integer
	Get
	Set
Visual C++
public:
virtual property int LeapSeconds {
	int get () sealed;
	void set (int value) sealed;
}

Field Value

Integer number of seconds

Return Value

Current number of leap seconds

Remarks

The property value is stored in the ASCOM Profile under the name \Astrometry\Leap Seconds. Any change made to this property will be persisted to the ASCOM Profile store and will be immediately availble to this and all future instances of AstroUtils.

The current value and any announced but not yet actioned change are listed here: ftp://hpiers.obspm.fr/iers/bul/bulc/bulletinc.dat

See Also