Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Birthday

import type { Birthday } from "https://googleapis.deno.dev/v1/people:v1.ts";

A person's birthday. At least one of the date and text fields are specified. The date and text fields typically represent the same date, but are not guaranteed to. Clients should always set the date field when mutating birthdays.

interface Birthday {
date?: Date;
metadata?: FieldMetadata;
text?: string;
}

§Properties

§
date?: Date
[src]

The structured date of the birthday.

§

Metadata about the birthday.

§
text?: string
[src]

Prefer to use the date field if set. A free-form string representing the user's birthday. This value is not validated.