Skip to main content
Module

x/date_only/mod.ts>DateOnly.newOrUndefined

A micro library for actual "dates", not "date times"
Latest
method DateOnly.newOrUndefined
import { DateOnly } from "https://deno.land/x/date_only@0.1.0/mod.ts";

Same as constructor, but returns undefined on failure instead of throwing DateOnlyError

Parameters

y: number
m: number
d: number
optional
tz: DateOnlyTimezone = [UNSUPPORTED]

Returns

DateOnly | undefined