Skip to content

KBE3D / KBSatellite / _tlejs / getIntDesignatorYear

函数: getIntDesignatorYear()

getIntDesignatorYear(tle: TLE, isTLEParsed?: boolean): number

Returns the launch year (last two digits), which makes up part of the COSPAR id (international designator). For example, a satellite launched in 1999 will return "99". See https://en.wikipedia.org/wiki/International_Designator

Output range: 00 to 99

参数

tle

TLE

Input TLE.

isTLEParsed?

boolean

Bypasses TLE parsing when true.

返回

number

示例

ts
getIntDesignatorYear('1 25544U 98067A   17206.18396726 ...');
98

KBE3D @3.0.0 Copyright © 2024-present KBE3D