@propriety/court-calendar 1.0.173 → 1.0.174

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -23,6 +23,17 @@ export interface CalEvent {
23
23
  casesLoaded: boolean;
24
24
  source: CourtDate;
25
25
  }
26
+ /**
27
+ * `date` with `hearingTime`'s clock folded in, as a new Date. A blank or unparseable time
28
+ * leaves the date's own clock alone.
29
+ *
30
+ * Parsing is delegated to `to24Hour` rather than repeated here. The local parser this
31
+ * replaced read anything without a "PM" suffix as 12-hour AM, so a bare "12:00" folded to
32
+ * midnight. HearingTime holds both dialects — "10:00 AM" written by the notice ingest,
33
+ * "12:00" written by the modal's TimePicker — and noon is the single value where they
34
+ * disagree, so a 12pm hearing drew at 12am.
35
+ */
36
+ export declare function withHearingTime(date: Date | string | number, hearingTime: string | null | undefined): Date;
26
37
  /** 'YYYY-MM-DD' in local time — the identity of a calendar day, used to bucket by day. */
27
38
  export declare function dateToKey(d: Date): string;
28
39
  /**