Methods
Static
from
- from(version: number): VersionInfo
-
- from(version: string): VersionInfo
-
- from(version: string | number): VersionInfo
-
Serialize
- Serialize(writer: HazelWriter): void
-
Returns void
encode
- encode(): number
-
Returns number
toString
- toString(): string
-
Returns string
Constructors
constructor
- new VersionInfo(year: number, month: number, day: number, revision?: number): VersionInfo
-
Parameters
-
year: number
-
month: number
-
day: number
-
Optional
revision: number
Properties
day
day: number
month
month: number
revision
revision: number
year
year: number
Create a version from an encoded integer.
Example