MCPcopy Index your code
hub / github.com/ionic-team/ionic-framework / getNextDay

Function getNextDay

core/src/components/datetime/utils/manipulation.ts:107–109  ·  view source on GitHub ↗
(refParts: DatetimeParts)

Source from the content-addressed store, hash-verified

105};
106
107export const getNextDay = (refParts: DatetimeParts): DatetimeParts => {
108 return addDays(refParts, 1);
109};
110
111export const getPreviousDay = (refParts: DatetimeParts): DatetimeParts => {
112 return subtractDays(refParts, 1);

Callers 2

DatetimeClass · 0.90

Calls 1

addDaysFunction · 0.85

Tested by

no test coverage detected