Contents

ApplePayDateComponents

A dictionary that specifies the values for the calendrical units for a date.

Declaration

dictionary ApplePayDateComponents {
	long years;
	long months;
	long days;
	long hours;
};

Overview

When specifying a range using date components, provide all elements of the ApplePayDateComponents down to the level of granularity that you want to expose. For example, if you specify a range of days, be sure to include values for both months and years in addition to days in the ApplePayDateComponents.

Apple Pay on the Web uses the Gregorian calendar when processing dates.

Topics

Date Components

See Also

Start and End Dates of the Range