Skip to content

dateSchema

type: union

a combination of year, month and day; This date can optionally skip the day and month fields, as needed.

dateSchema/0

type: object
additional validation? yes

a fully-specified date in the Gregorian calendar

year

type: yearSchema

a year in the Gregorian calendar

month

type: monthSchema

a month in the Gregorian calendar

day

type: daySchema

a day of the month in the Gregorian calendar

dateSchema/1

type: tuple

a date consisting only of a year

dateSchema/1[0]

type: yearSchema

a year in the Gregorian calendar

dateSchema/2

type: tuple

a date consisting of a year and a month

dateSchema/2[0]

type: yearSchema

a year in the Gregorian calendar

dateSchema/2[1]

type: monthSchema

a month in the Gregorian calendar

dateSchema/3

type: tuple
additional validation? yes

a date consisting of a year, a month and a day of the month

dateSchema/3[0]

type: yearSchema

a year in the Gregorian calendar

dateSchema/3[1]

type: monthSchema

a month in the Gregorian calendar

dateSchema/3[2]

type: daySchema

a day of the month in the Gregorian calendar