FutureProg functions

nextsunrise

Celestialscomputer function, computer program, standard futureprog

Overload 1

nextsunrise overload 1

MudDateTime nextsunrise(Location locationOrZone, CelestialObject celestial, Calendar calendar)
Available in
  • computer function
  • computer program
  • standard futureprog
Returns the next sunrise for a solar celestial at the supplied room or zone. The optional occurrence parameter returns the nth next sunrise. Returns Never if no event is found.
ParameterTypeDescription
locationOrZone Location The room or zone whose geography is used as the observer location.
celestial CelestialObject The resolved solar celestial.
calendar Calendar The calendar used to display the returned mud datetime.

Overload 2

nextsunrise overload 2

MudDateTime nextsunrise(Location locationOrZone, CelestialObject celestial, Calendar calendar, Number occurrence)
Available in
  • computer function
  • computer program
  • standard futureprog
Returns the next sunrise for a solar celestial at the supplied room or zone. The optional occurrence parameter returns the nth next sunrise. Returns Never if no event is found.
ParameterTypeDescription
locationOrZone Location The room or zone whose geography is used as the observer location.
celestial CelestialObject The resolved solar celestial.
calendar Calendar The calendar used to display the returned mud datetime.
occurrence Number The nth next occurrence to return.

Overload 3

nextsunrise overload 3

MudDateTime nextsunrise(Location locationOrZone, Number celestialId, Calendar calendar)
Available in
  • computer function
  • computer program
  • standard futureprog
Returns the next sunrise for a solar celestial at the supplied room or zone. The optional occurrence parameter returns the nth next sunrise. Returns Never if no event is found.
ParameterTypeDescription
locationOrZone Location The room or zone whose geography is used as the observer location.
celestialId Number The ID of the solar celestial.
calendar Calendar The calendar used to display the returned mud datetime.

Overload 4

nextsunrise overload 4

MudDateTime nextsunrise(Location locationOrZone, Number celestialId, Calendar calendar, Number occurrence)
Available in
  • computer function
  • computer program
  • standard futureprog
Returns the next sunrise for a solar celestial at the supplied room or zone. The optional occurrence parameter returns the nth next sunrise. Returns Never if no event is found.
ParameterTypeDescription
locationOrZone Location The room or zone whose geography is used as the observer location.
celestialId Number The ID of the solar celestial.
calendar Calendar The calendar used to display the returned mud datetime.
occurrence Number The nth next occurrence to return.

Overload 5

nextsunrise overload 5

MudDateTime nextsunrise(Zone locationOrZone, CelestialObject celestial, Calendar calendar)
Available in
  • computer function
  • computer program
  • standard futureprog
Returns the next sunrise for a solar celestial at the supplied room or zone. The optional occurrence parameter returns the nth next sunrise. Returns Never if no event is found.
ParameterTypeDescription
locationOrZone Zone The room or zone whose geography is used as the observer location.
celestial CelestialObject The resolved solar celestial.
calendar Calendar The calendar used to display the returned mud datetime.

Overload 6

nextsunrise overload 6

MudDateTime nextsunrise(Zone locationOrZone, CelestialObject celestial, Calendar calendar, Number occurrence)
Available in
  • computer function
  • computer program
  • standard futureprog
Returns the next sunrise for a solar celestial at the supplied room or zone. The optional occurrence parameter returns the nth next sunrise. Returns Never if no event is found.
ParameterTypeDescription
locationOrZone Zone The room or zone whose geography is used as the observer location.
celestial CelestialObject The resolved solar celestial.
calendar Calendar The calendar used to display the returned mud datetime.
occurrence Number The nth next occurrence to return.

Overload 7

nextsunrise overload 7

MudDateTime nextsunrise(Zone locationOrZone, Number celestialId, Calendar calendar)
Available in
  • computer function
  • computer program
  • standard futureprog
Returns the next sunrise for a solar celestial at the supplied room or zone. The optional occurrence parameter returns the nth next sunrise. Returns Never if no event is found.
ParameterTypeDescription
locationOrZone Zone The room or zone whose geography is used as the observer location.
celestialId Number The ID of the solar celestial.
calendar Calendar The calendar used to display the returned mud datetime.

Overload 8

nextsunrise overload 8

MudDateTime nextsunrise(Zone locationOrZone, Number celestialId, Calendar calendar, Number occurrence)
Available in
  • computer function
  • computer program
  • standard futureprog
Returns the next sunrise for a solar celestial at the supplied room or zone. The optional occurrence parameter returns the nth next sunrise. Returns Never if no event is found.
ParameterTypeDescription
locationOrZone Zone The room or zone whose geography is used as the observer location.
celestialId Number The ID of the solar celestial.
calendar Calendar The calendar used to display the returned mud datetime.
occurrence Number The nth next occurrence to return.