MCPcopy
hub / github.com/palantir/blueprint / hasMonthChanged

Method hasMonthChanged

packages/datetime/src/dateInput.tsx:313–315  ·  view source on GitHub ↗
(prevDate: Date | null, nextDate: Date | null)

Source from the content-addressed store, hash-verified

311 };
312
313 private hasMonthChanged(prevDate: Date | null, nextDate: Date | null) {
314 return (prevDate == null) !== (nextDate == null) || nextDate.getMonth() !== prevDate.getMonth();
315 }
316
317 private hasTimeChanged(prevDate: Date | null, nextDate: Date | null) {
318 if (this.props.timePrecision == null) {

Callers 3

DateInputClass · 0.95
eFunction · 0.80
nFunction · 0.80

Calls 1

getMonthMethod · 0.80

Tested by

no test coverage detected