ChronoX-API
  1. end
ChronoX-API
  • span
    • start
      • Leap
      • Contains
    • end
      • Leap
        GET
      • Contains
        GET
    • Contains
      GET
  • Leap
    GET
  • Contains
    GET
  1. end

Contains

GET
/span/end/contains/{mode}/{cron}
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/span/end/contains/c/* * * *?now&leap&offset'
Response Response Example
200 - Example 1
{
    "data": {
        "contains": true
    }
}

Request

Path Params
mode
string 
required
enum: c, w, m, d; representing calendar mode
Example:
c
cron
string 
required
cron expresession of calendar mode specified by mode path parameter
Example:
* * * *
Query Params
now
string <date-time> | null 
write-onlyoptional
ISO format string representing the datetime for calculation start from
leap
integer  | null 
write-onlyoptional
next/previous n datetime point
>= 1<= 4294967295
offset
string 
optional
only useful when now is not set, indicate the utc offset for auto generate now datetime

Responses

🟢200Success
application/json
Body
data
object (Contains) 
required
contains
boolean 
required
🟠400Bad Request
Modified at 2024-04-05 16:22:31
Previous
Leap
Next
Contains
Built with