timelogic-api 1.0.2 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +293 -133
- data/docs/BulkError.md +1 -1
- data/docs/CalendarResponse.md +2 -2
- data/docs/DstResponse.md +2 -2
- data/docs/ElapsedResponse.md +1 -1
- data/docs/ErrorResponse.md +1 -1
- data/docs/TimeApi.md +151 -151
- data/docs/TimePayload.md +1 -1
- data/docs/TimezoneMatch.md +1 -1
- data/docs/TimezoneOffsetResponse.md +2 -2
- data/docs/TimezoneResolvedResponse.md +1 -1
- data/lib/timelogic-api/api/time_api.rb +169 -159
- data/lib/timelogic-api/api/utility_api.rb +1 -1
- data/lib/timelogic-api/api_client.rb +3 -1
- data/lib/timelogic-api/api_error.rb +1 -1
- data/lib/timelogic-api/configuration.rb +1 -1
- data/lib/timelogic-api/models/api_error.rb +1 -1
- data/lib/timelogic-api/models/bulk_error.rb +2 -2
- data/lib/timelogic-api/models/calendar_response.rb +3 -1
- data/lib/timelogic-api/models/diff_endpoint_ref.rb +1 -1
- data/lib/timelogic-api/models/diff_response.rb +1 -1
- data/lib/timelogic-api/models/dst_response.rb +3 -1
- data/lib/timelogic-api/models/elapsed_response.rb +2 -2
- data/lib/timelogic-api/models/error_response.rb +2 -2
- data/lib/timelogic-api/models/get_current_time200_response.rb +1 -1
- data/lib/timelogic-api/models/get_timezone200_response.rb +1 -1
- data/lib/timelogic-api/models/jwk_key.rb +1 -1
- data/lib/timelogic-api/models/jwks_response.rb +1 -1
- data/lib/timelogic-api/models/time_payload.rb +2 -1
- data/lib/timelogic-api/models/time_payload_bulk_item.rb +1 -1
- data/lib/timelogic-api/models/time_payload_bulk_response.rb +1 -1
- data/lib/timelogic-api/models/timezone_match.rb +2 -1
- data/lib/timelogic-api/models/timezone_offset_response.rb +3 -1
- data/lib/timelogic-api/models/timezone_resolved_response.rb +2 -1
- data/lib/timelogic-api/version.rb +1 -1
- data/lib/timelogic-api/world_time_api.rb +192 -0
- data/lib/timelogic-api.rb +2 -1
- metadata +3 -2
data/docs/TimePayload.md
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
| **iso_local** | **String** | | |
|
|
11
11
|
| **rfc2822** | **String** | | |
|
|
12
12
|
| **human** | **String** | | |
|
|
13
|
-
| **day_number** | **Integer** |
|
|
13
|
+
| **day_number** | **Integer** | Day of the week counted from Sunday (1 = Sunday, 2 = Monday ... 7 = Saturday). | |
|
|
14
14
|
| **day_short** | **String** | | |
|
|
15
15
|
| **day_full** | **String** | | |
|
|
16
16
|
| **timezone** | **String** | | |
|
data/docs/TimezoneMatch.md
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
| **iso_local** | **String** | | |
|
|
11
11
|
| **rfc2822** | **String** | | |
|
|
12
12
|
| **human** | **String** | | |
|
|
13
|
-
| **day_number** | **Integer** |
|
|
13
|
+
| **day_number** | **Integer** | Day of the week counted from Sunday (1 = Sunday, 2 = Monday ... 7 = Saturday). | |
|
|
14
14
|
| **day_short** | **String** | | |
|
|
15
15
|
| **day_full** | **String** | | |
|
|
16
16
|
| **timezone** | **String** | | |
|
|
@@ -10,14 +10,14 @@
|
|
|
10
10
|
| **iso_local** | **String** | | |
|
|
11
11
|
| **rfc2822** | **String** | | |
|
|
12
12
|
| **human** | **String** | | |
|
|
13
|
-
| **day_number** | **Integer** |
|
|
13
|
+
| **day_number** | **Integer** | Day of the week counted from Sunday (1 = Sunday, 2 = Monday ... 7 = Saturday). | |
|
|
14
14
|
| **day_short** | **String** | | |
|
|
15
15
|
| **day_full** | **String** | | |
|
|
16
16
|
| **timezone** | **String** | | |
|
|
17
17
|
| **formatted** | **String** | | [optional] |
|
|
18
18
|
| **offset** | **Integer** | | |
|
|
19
19
|
| **dst** | **Boolean** | | |
|
|
20
|
-
| **matching_zones** | [**Array<TimezoneMatch>**](TimezoneMatch.md) |
|
|
20
|
+
| **matching_zones** | [**Array<TimezoneMatch>**](TimezoneMatch.md) | For `offset=` lookups, the geographic zones whose current offset equals the requested one. `UTC` and `Etc/*` zones are intentionally excluded; use `tz=UTC` for UTC. | |
|
|
21
21
|
|
|
22
22
|
## Example
|
|
23
23
|
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
| **iso_local** | **String** | | |
|
|
11
11
|
| **rfc2822** | **String** | | |
|
|
12
12
|
| **human** | **String** | | |
|
|
13
|
-
| **day_number** | **Integer** |
|
|
13
|
+
| **day_number** | **Integer** | Day of the week counted from Sunday (1 = Sunday, 2 = Monday ... 7 = Saturday). | |
|
|
14
14
|
| **day_short** | **String** | | |
|
|
15
15
|
| **day_full** | **String** | | |
|
|
16
16
|
| **timezone** | **String** | | |
|