MCPcopy
hub / github.com/date-fns/date-fns / set

Method set

pkgs/core/src/parse/_lib/Setter.ts:77–83  ·  view source on GitHub ↗
(
    date: DateType,
    flags: ParseFlags,
    options: ParserOptions,
  )

Source from the content-addressed store, hash-verified

75 }
76
77 set<DateType extends Date>(
78 date: DateType,
79 flags: ParseFlags,
80 options: ParserOptions,
81 ): DateType | [DateType, ParseFlags] {
82 return this.setValue(date, flags, this.value, options);
83 }
84}
85
86export class DateTimezoneSetter extends Setter {

Callers 3

parseFunction · 0.45
bin.tsFile · 0.45
buildMds.tsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected