Skip to content

Commit

Permalink
Fixed botched commit: didn't update Kotlin docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
cosinekitty committed Nov 14, 2022
1 parent 351e997 commit 8fa81d0
Show file tree
Hide file tree
Showing 207 changed files with 515 additions and 515 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</td>
<td style="text-align: center;"><a href="demo/c/">Examples</a></td>
<td style="text-align: center;">
<div><a href="source/c/"><img src="https://img.shields.io/badge/C%20%2f%20C%2b%2b-v2.1.10-blue" /></a></div>
<div><a href="source/c/"><img src="https://img.shields.io/badge/C%20%2f%20C%2b%2b-v2.1.11-blue" /></a></div>
<div><a href="source/c/">Code &amp; Docs</a></div>
</td>
</tr>
Expand Down
2 changes: 1 addition & 1 deletion generate/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.1.10
2.1.11
2 changes: 1 addition & 1 deletion source/csharp/astronomy.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<PackageId>CosineKitty.AstronomyEngine</PackageId>
<PackageVersion>2.1.10</PackageVersion>
<PackageVersion>2.1.11</PackageVersion>
<RepositoryUrl>https://github.com/cosinekitty/astronomy</RepositoryUrl>
<Authors>Don Cross</Authors>
<Title>Astronomy Engine</Title>
Expand Down
2 changes: 1 addition & 1 deletion source/js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "astronomy-engine",
"version": "2.1.10",
"version": "2.1.11",
"description": "Astronomy calculation for Sun, Moon, and planets.",
"author": "Donald Cross",
"license": "MIT",
Expand Down
170 changes: 85 additions & 85 deletions source/kotlin/README.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion source/kotlin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ plugins {
}

group = "io.github.cosinekitty"
version = "2.1.10"
version = "2.1.11"

repositories {
mavenCentral()
Expand Down
2 changes: 1 addition & 1 deletion source/kotlin/doc/-aberration/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Aberration

enum [Aberration](index.md) : Enum&lt;[Aberration](index.md)&gt;
enum [Aberration](index.md) : [Enum](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-enum/index.html)&lt;[Aberration](index.md)&gt;

Aberration calculation options.

Expand Down
2 changes: 1 addition & 1 deletion source/kotlin/doc/-apsis-info/-apsis-info.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

# ApsisInfo

fun [ApsisInfo](-apsis-info.md)(time: [Time](../-time/index.md), kind: [ApsisKind](../-apsis-kind/index.md), distanceAu: Double)
fun [ApsisInfo](-apsis-info.md)(time: [Time](../-time/index.md), kind: [ApsisKind](../-apsis-kind/index.md), distanceAu: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html))
2 changes: 1 addition & 1 deletion source/kotlin/doc/-apsis-info/distance-au.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

# distanceAu

val [distanceAu](distance-au.md): Double
val [distanceAu](distance-au.md): [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html)

The distance between the centers of the bodies in astronomical units.
2 changes: 1 addition & 1 deletion source/kotlin/doc/-apsis-info/distance-km.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

# distanceKm

val [distanceKm](distance-km.md): Double
val [distanceKm](distance-km.md): [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html)

The distance between the centers of the bodies in kilometers.
8 changes: 4 additions & 4 deletions source/kotlin/doc/-apsis-info/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# ApsisInfo

class [ApsisInfo](index.md)(time: [Time](../-time/index.md), kind: [ApsisKind](../-apsis-kind/index.md), distanceAu: Double)
class [ApsisInfo](index.md)(time: [Time](../-time/index.md), kind: [ApsisKind](../-apsis-kind/index.md), distanceAu: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html))

An apsis event: pericenter (closest approach) or apocenter (farthest distance).

Expand All @@ -16,13 +16,13 @@ This data structure is returned by [searchLunarApsis](../search-lunar-apsis.md)

| | |
|---|---|
| [ApsisInfo](-apsis-info.md)<br>fun [ApsisInfo](-apsis-info.md)(time: [Time](../-time/index.md), kind: [ApsisKind](../-apsis-kind/index.md), distanceAu: Double) |
| [ApsisInfo](-apsis-info.md)<br>fun [ApsisInfo](-apsis-info.md)(time: [Time](../-time/index.md), kind: [ApsisKind](../-apsis-kind/index.md), distanceAu: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html)) |

## Properties

| Name | Summary |
|---|---|
| [distanceAu](distance-au.md)<br>val [distanceAu](distance-au.md): Double<br>The distance between the centers of the bodies in astronomical units. |
| [distanceKm](distance-km.md)<br>val [distanceKm](distance-km.md): Double<br>The distance between the centers of the bodies in kilometers. |
| [distanceAu](distance-au.md)<br>val [distanceAu](distance-au.md): [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html)<br>The distance between the centers of the bodies in astronomical units. |
| [distanceKm](distance-km.md)<br>val [distanceKm](distance-km.md): [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html)<br>The distance between the centers of the bodies in kilometers. |
| [kind](kind.md)<br>val [kind](kind.md): [ApsisKind](../-apsis-kind/index.md)<br>Whether this is a pericenter or apocenter event. |
| [time](time.md)<br>val [time](time.md): [Time](../-time/index.md)<br>The date and time of the apsis. |
2 changes: 1 addition & 1 deletion source/kotlin/doc/-apsis-kind/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# ApsisKind

enum [ApsisKind](index.md) : Enum&lt;[ApsisKind](index.md)&gt;
enum [ApsisKind](index.md) : [Enum](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-enum/index.html)&lt;[ApsisKind](index.md)&gt;

The type of apsis: pericenter (closest approach) or apocenter (farthest distance).

Expand Down
2 changes: 1 addition & 1 deletion source/kotlin/doc/-axis-info/-axis-info.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

# AxisInfo

fun [AxisInfo](-axis-info.md)(ra: Double, dec: Double, spin: Double, north: [Vector](../-vector/index.md))
fun [AxisInfo](-axis-info.md)(ra: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html), dec: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html), spin: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html), north: [Vector](../-vector/index.md))
2 changes: 1 addition & 1 deletion source/kotlin/doc/-axis-info/dec.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

# dec

val [dec](dec.md): Double
val [dec](dec.md): [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html)

The J2000 declination of the body's north pole direction, in degrees.
10 changes: 5 additions & 5 deletions source/kotlin/doc/-axis-info/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# AxisInfo

class [AxisInfo](index.md)(ra: Double, dec: Double, spin: Double, north: [Vector](../-vector/index.md))
class [AxisInfo](index.md)(ra: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html), dec: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html), spin: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html), north: [Vector](../-vector/index.md))

Information about a body's rotation axis at a given time.

Expand All @@ -20,13 +20,13 @@ The field north is a unit vector pointing in the direction of the body's north p

| | |
|---|---|
| [AxisInfo](-axis-info.md)<br>fun [AxisInfo](-axis-info.md)(ra: Double, dec: Double, spin: Double, north: [Vector](../-vector/index.md)) |
| [AxisInfo](-axis-info.md)<br>fun [AxisInfo](-axis-info.md)(ra: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html), dec: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html), spin: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html), north: [Vector](../-vector/index.md)) |

## Properties

| Name | Summary |
|---|---|
| [dec](dec.md)<br>val [dec](dec.md): Double<br>The J2000 declination of the body's north pole direction, in degrees. |
| [dec](dec.md)<br>val [dec](dec.md): [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html)<br>The J2000 declination of the body's north pole direction, in degrees. |
| [north](north.md)<br>val [north](north.md): [Vector](../-vector/index.md)<br>A J2000 dimensionless unit vector pointing in the direction of the body's north pole. |
| [ra](ra.md)<br>val [ra](ra.md): Double<br>The J2000 right ascension of the body's north pole direction, in sidereal hours. |
| [spin](spin.md)<br>val [spin](spin.md): Double<br>Rotation angle of the body's prime meridian, in degrees. |
| [ra](ra.md)<br>val [ra](ra.md): [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html)<br>The J2000 right ascension of the body's north pole direction, in sidereal hours. |
| [spin](spin.md)<br>val [spin](spin.md): [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html)<br>Rotation angle of the body's prime meridian, in degrees. |
2 changes: 1 addition & 1 deletion source/kotlin/doc/-axis-info/ra.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

# ra

val [ra](ra.md): Double
val [ra](ra.md): [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html)

The J2000 right ascension of the body's north pole direction, in sidereal hours.
2 changes: 1 addition & 1 deletion source/kotlin/doc/-axis-info/spin.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

# spin

val [spin](spin.md): Double
val [spin](spin.md): [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html)

Rotation angle of the body's prime meridian, in degrees.
2 changes: 1 addition & 1 deletion source/kotlin/doc/-body/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Body

enum [Body](index.md) : Enum&lt;[Body](index.md)&gt;
enum [Body](index.md) : [Enum](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-enum/index.html)&lt;[Body](index.md)&gt;

The enumeration of celestial bodies supported by Astronomy Engine.

Expand Down
2 changes: 1 addition & 1 deletion source/kotlin/doc/-c-a-l-l-i-s-t-o_-r-a-d-i-u-s_-k-m.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

# CALLISTO_RADIUS_KM

const val [CALLISTO_RADIUS_KM](-c-a-l-l-i-s-t-o_-r-a-d-i-u-s_-k-m.md): Double = 2410.3
const val [CALLISTO_RADIUS_KM](-c-a-l-l-i-s-t-o_-r-a-d-i-u-s_-k-m.md): [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html) = 2410.3

The mean radius of Jupiter's moon Callisto, expressed in kilometers.
2 changes: 1 addition & 1 deletion source/kotlin/doc/-c_-a-u-d-a-y.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

# C_AUDAY

const val [C_AUDAY](-c_-a-u-d-a-y.md): Double = 173.1446326846693
const val [C_AUDAY](-c_-a-u-d-a-y.md): [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html) = 173.1446326846693

The speed of light in AU/day.
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

# ConstellationInfo

fun [ConstellationInfo](-constellation-info.md)(symbol: String, name: String, ra1875: Double, dec1875: Double)
fun [ConstellationInfo](-constellation-info.md)(symbol: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), name: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), ra1875: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html), dec1875: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html))
2 changes: 1 addition & 1 deletion source/kotlin/doc/-constellation-info/dec1875.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

# dec1875

val [dec1875](dec1875.md): Double
val [dec1875](dec1875.md): [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html)

Declination expressed in B1875 coordinates.
12 changes: 6 additions & 6 deletions source/kotlin/doc/-constellation-info/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# ConstellationInfo

class [ConstellationInfo](index.md)(symbol: String, name: String, ra1875: Double, dec1875: Double)
class [ConstellationInfo](index.md)(symbol: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), name: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), ra1875: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html), dec1875: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html))

Reports the constellation that a given celestial point lies within.

Expand All @@ -12,13 +12,13 @@ The [constellation](../constellation.md) function returns this object to report

| | |
|---|---|
| [ConstellationInfo](-constellation-info.md)<br>fun [ConstellationInfo](-constellation-info.md)(symbol: String, name: String, ra1875: Double, dec1875: Double) |
| [ConstellationInfo](-constellation-info.md)<br>fun [ConstellationInfo](-constellation-info.md)(symbol: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), name: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), ra1875: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html), dec1875: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html)) |

## Properties

| Name | Summary |
|---|---|
| [dec1875](dec1875.md)<br>val [dec1875](dec1875.md): Double<br>Declination expressed in B1875 coordinates. |
| [name](name.md)<br>val [name](name.md): String<br>Full name of constellation, e.g. "Orion". |
| [ra1875](ra1875.md)<br>val [ra1875](ra1875.md): Double<br>Right ascension expressed in B1875 coordinates. |
| [symbol](symbol.md)<br>val [symbol](symbol.md): String<br>3-character mnemonic symbol for the constellation, e.g. "Ori". |
| [dec1875](dec1875.md)<br>val [dec1875](dec1875.md): [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html)<br>Declination expressed in B1875 coordinates. |
| [name](name.md)<br>val [name](name.md): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)<br>Full name of constellation, e.g. "Orion". |
| [ra1875](ra1875.md)<br>val [ra1875](ra1875.md): [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html)<br>Right ascension expressed in B1875 coordinates. |
| [symbol](symbol.md)<br>val [symbol](symbol.md): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)<br>3-character mnemonic symbol for the constellation, e.g. "Ori". |
2 changes: 1 addition & 1 deletion source/kotlin/doc/-constellation-info/name.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

# name

val [name](name.md): String
val [name](name.md): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)

Full name of constellation, e.g. "Orion".
2 changes: 1 addition & 1 deletion source/kotlin/doc/-constellation-info/ra1875.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

# ra1875

val [ra1875](ra1875.md): Double
val [ra1875](ra1875.md): [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html)

Right ascension expressed in B1875 coordinates.
2 changes: 1 addition & 1 deletion source/kotlin/doc/-constellation-info/symbol.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

# symbol

val [symbol](symbol.md): String
val [symbol](symbol.md): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)

3-character mnemonic symbol for the constellation, e.g. "Ori".
2 changes: 1 addition & 1 deletion source/kotlin/doc/-d-e-g2-r-a-d.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

# DEG2RAD

const val [DEG2RAD](-d-e-g2-r-a-d.md): Double = 0.017453292519943295
const val [DEG2RAD](-d-e-g2-r-a-d.md): [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html) = 0.017453292519943295

The factor to convert degrees to radians = pi/180.
2 changes: 1 addition & 1 deletion source/kotlin/doc/-date-time/-date-time.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

# DateTime

fun [DateTime](-date-time.md)(year: Int, month: Int, day: Int, hour: Int, minute: Int, second: Double)
fun [DateTime](-date-time.md)(year: [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html), month: [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html), day: [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html), hour: [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html), minute: [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html), second: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html))
2 changes: 1 addition & 1 deletion source/kotlin/doc/-date-time/day.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

# day

val [day](day.md): Int
val [day](day.md): [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)

The day of the month, 1..31.
2 changes: 1 addition & 1 deletion source/kotlin/doc/-date-time/hour.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

# hour

val [hour](hour.md): Int
val [hour](hour.md): [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)

The hour of the day, 0..23.
20 changes: 10 additions & 10 deletions source/kotlin/doc/-date-time/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,31 +2,31 @@

# DateTime

class [DateTime](index.md)(year: Int, month: Int, day: Int, hour: Int, minute: Int, second: Double)
class [DateTime](index.md)(year: [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html), month: [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html), day: [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html), hour: [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html), minute: [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html), second: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html))

A universal time resolved into UTC calendar date and time fields.

## Constructors

| | |
|---|---|
| [DateTime](-date-time.md)<br>fun [DateTime](-date-time.md)(year: Int, month: Int, day: Int, hour: Int, minute: Int, second: Double) |
| [DateTime](-date-time.md)<br>fun [DateTime](-date-time.md)(year: [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html), month: [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html), day: [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html), hour: [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html), minute: [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html), second: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html)) |

## Functions

| Name | Summary |
|---|---|
| [toDays](to-days.md)<br>fun [toDays](to-days.md)(): Double<br>Convert this date and time to the floating point number of days since the J2000 epoch. |
| [toString](to-string.md)<br>open override fun [toString](to-string.md)(): String<br>Converts this DateTime to ISO 8601 format, expressed in UTC with millisecond resolution. |
| [toDays](to-days.md)<br>fun [toDays](to-days.md)(): [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html)<br>Convert this date and time to the floating point number of days since the J2000 epoch. |
| [toString](to-string.md)<br>open override fun [toString](to-string.md)(): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)<br>Converts this DateTime to ISO 8601 format, expressed in UTC with millisecond resolution. |
| [toTime](to-time.md)<br>fun [toTime](to-time.md)(): [Time](../-time/index.md)<br>Convert this date and time to a [Time](../-time/index.md) value that can be used for astronomy calculations. |

## Properties

| Name | Summary |
|---|---|
| [day](day.md)<br>val [day](day.md): Int<br>The day of the month, 1..31. |
| [hour](hour.md)<br>val [hour](hour.md): Int<br>The hour of the day, 0..23. |
| [minute](minute.md)<br>val [minute](minute.md): Int<br>The minute value 0..59. |
| [month](month.md)<br>val [month](month.md): Int<br>The month value 1=January, ..., 12=December. |
| [second](second.md)<br>val [second](second.md): Double<br>The floating point second value in the half-open range [0, 60). |
| [year](year.md)<br>val [year](year.md): Int<br>The integer year value. |
| [day](day.md)<br>val [day](day.md): [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)<br>The day of the month, 1..31. |
| [hour](hour.md)<br>val [hour](hour.md): [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)<br>The hour of the day, 0..23. |
| [minute](minute.md)<br>val [minute](minute.md): [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)<br>The minute value 0..59. |
| [month](month.md)<br>val [month](month.md): [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)<br>The month value 1=January, ..., 12=December. |
| [second](second.md)<br>val [second](second.md): [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html)<br>The floating point second value in the half-open range [0, 60). |
| [year](year.md)<br>val [year](year.md): [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)<br>The integer year value. |
2 changes: 1 addition & 1 deletion source/kotlin/doc/-date-time/minute.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

# minute

val [minute](minute.md): Int
val [minute](minute.md): [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)

The minute value 0..59.
2 changes: 1 addition & 1 deletion source/kotlin/doc/-date-time/month.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

# month

val [month](month.md): Int
val [month](month.md): [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)

The month value 1=January, ..., 12=December.
2 changes: 1 addition & 1 deletion source/kotlin/doc/-date-time/second.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

# second

val [second](second.md): Double
val [second](second.md): [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html)

The floating point second value in the half-open range [0, 60).
2 changes: 1 addition & 1 deletion source/kotlin/doc/-date-time/to-days.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

# toDays

fun [toDays](to-days.md)(): Double
fun [toDays](to-days.md)(): [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html)

Convert this date and time to the floating point number of days since the J2000 epoch.
2 changes: 1 addition & 1 deletion source/kotlin/doc/-date-time/to-string.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# toString

open override fun [toString](to-string.md)(): String
open override fun [toString](to-string.md)(): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)

Converts this DateTime to ISO 8601 format, expressed in UTC with millisecond resolution.

Expand Down
2 changes: 1 addition & 1 deletion source/kotlin/doc/-date-time/year.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

# year

val [year](year.md): Int
val [year](year.md): [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)

The integer year value.
Loading

0 comments on commit 8fa81d0

Please sign in to comment.