Bulk update of the public corpus from /Users/mmj/.cupertino-dev/, the local source that built v1.0.0 / v1.0.1 release database bundles. - docs/: 1,739 new pages, 403,381 modified (schema upgrade to the structured-page format used by v1.0+: overview, rawMarkdown, sections[].items[]). Total 404,568 page JSONs (2.4 GB). - packages/: 1,587 packages (1.5 GB), previously empty in this repo. Includes per-package source archives and READMEs for the curated Swift package set. Some packages (notably swiftlang/swift-foundation-icu) ship 50-100 MB ICU lookup tables — under GitHub's 100 MB limit. No deletions: existing files not in .cupertino-dev are preserved (e.g. swift-org/ has 81 historical pages this update doesn't touch).
164 lines
7.8 KiB
JSON
164 lines
7.8 KiB
JSON
{
|
|
"abstract" : "Gets a date interval from an array directly.",
|
|
"availability" : [
|
|
{
|
|
"beta" : false,
|
|
"deprecated" : false,
|
|
"introducedAt" : "5.0",
|
|
"name" : "iOS",
|
|
"unavailable" : false
|
|
},
|
|
{
|
|
"beta" : false,
|
|
"deprecated" : false,
|
|
"introducedAt" : "5.0",
|
|
"name" : "iPadOS",
|
|
"unavailable" : false
|
|
},
|
|
{
|
|
"beta" : false,
|
|
"deprecated" : false,
|
|
"introducedAt" : "13.1",
|
|
"name" : "Mac Catalyst",
|
|
"unavailable" : false
|
|
},
|
|
{
|
|
"beta" : false,
|
|
"deprecated" : false,
|
|
"introducedAt" : "10.7",
|
|
"name" : "macOS",
|
|
"unavailable" : false
|
|
},
|
|
{
|
|
"beta" : false,
|
|
"deprecated" : false,
|
|
"name" : "tvOS",
|
|
"unavailable" : false
|
|
},
|
|
{
|
|
"beta" : false,
|
|
"deprecated" : false,
|
|
"introducedAt" : "1.0",
|
|
"name" : "visionOS",
|
|
"unavailable" : false
|
|
},
|
|
{
|
|
"beta" : false,
|
|
"deprecated" : false,
|
|
"introducedAt" : "2.0",
|
|
"name" : "watchOS",
|
|
"unavailable" : false
|
|
}
|
|
],
|
|
"codeExamples" : [
|
|
|
|
],
|
|
"contentHash" : "fcbc6e04cfa653805fbf30c189497173225c1d84d68aa583e6df2149cd61c2da",
|
|
"crawlDepth" : 4,
|
|
"crawledAt" : "2026-05-03T02:53:01Z",
|
|
"declaration" : {
|
|
"code" : "func xpc_array_get_date(_ xarray: xpc_object_t, _ index: Int) -> Int64",
|
|
"language" : "swift"
|
|
},
|
|
"id" : "A425BCDD-5798-9182-F0B7-36A1CF171CD1",
|
|
"kind" : "function",
|
|
"language" : "swift",
|
|
"module" : "XPC",
|
|
"overview" : "## Return Value\n\nThe underlying date interval at the specified index. 0 if the value at the specified index is not a date value.",
|
|
"platforms" : [
|
|
"iOS",
|
|
"iPadOS",
|
|
"Mac Catalyst",
|
|
"macOS",
|
|
"tvOS",
|
|
"visionOS",
|
|
"watchOS"
|
|
],
|
|
"rawMarkdown" : "---\nsource: https:\/\/developer.apple.com\/documentation\/xpc\/xpc_array_get_date(_:_:)\ncrawled: 2026-05-03T02:53:01Z\n---\n\n# xpc_array_get_date(_:_:)\n\n**Function**\n\nGets a date interval from an array directly.\n\n## Declaration\n\n```swift\nfunc xpc_array_get_date(_ xarray: xpc_object_t, _ index: Int) -> Int64\n```\n\n## Parameters\n\n- **xarray**: The array which is to be examined.\n- **index**: The index of the value to obtain. This value must lie within the index space of the array (0 to N-1 inclusive, where N is the count of the array). If the index is outside that range, the behavior is undefined.\n\n## Return Value\n\nThe underlying date interval at the specified index. 0 if the value at the specified index is not a date value.\n\n## Array objects\n\n- **XPCArray**: An ordered random-access collection of XPC objects.\n- **xpc_array_create(_:_:)**: Creates an XPC object that represents an array of XPC objects.\n- **xpc_array_create_empty()**: Creates an XPC object that represents an array of XPC objects.\n- **xpc_array_create_connection(_:_:)**: Creates a connection object from an array directly.\n- **xpc_array_set_value(_:_:_:)**: Inserts the specified object into the array at the specified index.\n- **xpc_array_get_value(_:_:)**: Returns the value at the specified index in the array.\n- **xpc_array_append_value(_:_:)**: Appends an object to an XPC array.\n- **xpc_array_get_count(_:)**: Returns the count of values in the array.\n- **xpc_array_apply(_:_:)**: Invokes the specified block for every value in the array.\n- **xpc_array_dup_fd(_:_:)**: Gets a file descriptor from an array directly.\n- **xpc_array_get_array(_:_:)**: Returns the array at the specified index in the array.\n- **xpc_array_get_bool(_:_:)**: Gets a Boolean primitive value from an array directly.\n- **xpc_array_get_data(_:_:_:)**: Gets a pointer to the raw bytes of a data object from an array directly.\n- **xpc_array_get_dictionary(_:_:)**: Returns the dictionary at the specified index in the array.\n- **xpc_array_get_double(_:_:)**: Gets a double-precision floating point primitive value from an array directly.\n\n",
|
|
"sections" : [
|
|
{
|
|
"content" : "",
|
|
"items" : [
|
|
{
|
|
"description" : "An ordered random-access collection of XPC objects.",
|
|
"name" : "XPCArray",
|
|
"url" : "https:\/\/developer.apple.com\/documentation\/XPC\/XPCArray"
|
|
},
|
|
{
|
|
"description" : "Creates an XPC object that represents an array of XPC objects.",
|
|
"name" : "xpc_array_create(_:_:)",
|
|
"url" : "https:\/\/developer.apple.com\/documentation\/XPC\/xpc_array_create(_:_:)"
|
|
},
|
|
{
|
|
"description" : "Creates an XPC object that represents an array of XPC objects.",
|
|
"name" : "xpc_array_create_empty()",
|
|
"url" : "https:\/\/developer.apple.com\/documentation\/XPC\/xpc_array_create_empty()"
|
|
},
|
|
{
|
|
"description" : "Creates a connection object from an array directly.",
|
|
"name" : "xpc_array_create_connection(_:_:)",
|
|
"url" : "https:\/\/developer.apple.com\/documentation\/XPC\/xpc_array_create_connection(_:_:)"
|
|
},
|
|
{
|
|
"description" : "Inserts the specified object into the array at the specified index.",
|
|
"name" : "xpc_array_set_value(_:_:_:)",
|
|
"url" : "https:\/\/developer.apple.com\/documentation\/XPC\/xpc_array_set_value(_:_:_:)"
|
|
},
|
|
{
|
|
"description" : "Returns the value at the specified index in the array.",
|
|
"name" : "xpc_array_get_value(_:_:)",
|
|
"url" : "https:\/\/developer.apple.com\/documentation\/XPC\/xpc_array_get_value(_:_:)"
|
|
},
|
|
{
|
|
"description" : "Appends an object to an XPC array.",
|
|
"name" : "xpc_array_append_value(_:_:)",
|
|
"url" : "https:\/\/developer.apple.com\/documentation\/XPC\/xpc_array_append_value(_:_:)"
|
|
},
|
|
{
|
|
"description" : "Returns the count of values in the array.",
|
|
"name" : "xpc_array_get_count(_:)",
|
|
"url" : "https:\/\/developer.apple.com\/documentation\/XPC\/xpc_array_get_count(_:)"
|
|
},
|
|
{
|
|
"description" : "Invokes the specified block for every value in the array.",
|
|
"name" : "xpc_array_apply(_:_:)",
|
|
"url" : "https:\/\/developer.apple.com\/documentation\/XPC\/xpc_array_apply(_:_:)"
|
|
},
|
|
{
|
|
"description" : "Gets a file descriptor from an array directly.",
|
|
"name" : "xpc_array_dup_fd(_:_:)",
|
|
"url" : "https:\/\/developer.apple.com\/documentation\/XPC\/xpc_array_dup_fd(_:_:)"
|
|
},
|
|
{
|
|
"description" : "Returns the array at the specified index in the array.",
|
|
"name" : "xpc_array_get_array(_:_:)",
|
|
"url" : "https:\/\/developer.apple.com\/documentation\/XPC\/xpc_array_get_array(_:_:)"
|
|
},
|
|
{
|
|
"description" : "Gets a Boolean primitive value from an array directly.",
|
|
"name" : "xpc_array_get_bool(_:_:)",
|
|
"url" : "https:\/\/developer.apple.com\/documentation\/XPC\/xpc_array_get_bool(_:_:)"
|
|
},
|
|
{
|
|
"description" : "Gets a pointer to the raw bytes of a data object from an array directly.",
|
|
"name" : "xpc_array_get_data(_:_:_:)",
|
|
"url" : "https:\/\/developer.apple.com\/documentation\/XPC\/xpc_array_get_data(_:_:_:)"
|
|
},
|
|
{
|
|
"description" : "Returns the dictionary at the specified index in the array.",
|
|
"name" : "xpc_array_get_dictionary(_:_:)",
|
|
"url" : "https:\/\/developer.apple.com\/documentation\/XPC\/xpc_array_get_dictionary(_:_:)"
|
|
},
|
|
{
|
|
"description" : "Gets a double-precision floating point primitive value from an array directly.",
|
|
"name" : "xpc_array_get_double(_:_:)",
|
|
"url" : "https:\/\/developer.apple.com\/documentation\/XPC\/xpc_array_get_double(_:_:)"
|
|
}
|
|
],
|
|
"title" : "Array objects"
|
|
}
|
|
],
|
|
"source" : "appleJSON",
|
|
"title" : "xpc_array_get_date(_:_:)",
|
|
"url" : "https:\/\/developer.apple.com\/documentation\/xpc\/xpc_array_get_date(_:_:)"
|
|
} |