aws-cloudformation / aws-cloudformation-resource-providers-rds

The CloudFormation Resource Provider Package For Amazon Relational Database Service
https://aws.amazon.com/rds/
Apache License 2.0
26 stars 42 forks source link

[CallBackContext] Fix Duration.between parameter order #540

Closed dbbh closed 1 month ago

dbbh commented 2 months ago

Issue #, if available:

Description of changes: Java's Duration.between takes the args as startTime, endTime in that order. This CR fixes the method call to make the calls in the correct order.

https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#between-java.time.temporal.Temporal-java.time.temporal.Temporal-

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.