CQL Duration documentation for month needs to be updated

Description

Cloud Customer ran into an issue. See email below

Hi Eric,

You want might want to send this one to the doc writing department.

Go to: https://docs.datastax.com/en/drivers/java/4.0/com/datastax/oss/driver/api/core/data/CqlDuration.html#newInstance-int-int-long-
As well as: https://docs.datastax.com/en/drivers/java-dse/2.1/

public static CqlDuration from(@NonNull
String input)

Converts a String into a duration.

The accepted formats are:

multiple digits followed by a time unit like: 12h30m where the time unit can be:
y: years
mo: months <== must be mo, not m otherwise you get
w: weeks
d: days
h: hours
m: minutes
s: seconds
ms: milliseconds
us or µs: microseconds
ns: nanoseconds
ISO 8601 format: P[n]Y[n]M[n]DT[n]H[n]M[n]S or P[n]W
ISO 8601 alternative format: P[YYYY][MM][DD]T[hh]:[mm]:[ss]

Parameters:
input - the String to convert

Otherwise because it conflicts with 'm' for minutes and you get a java.lang.IllegalArgumentException: Invalid duration. The minutes should be after days

Environment

None

Pull Requests

None

Status

Assignee

Greg Bestland

Reporter

Greg Bestland

Labels

None

PM Priority

None

Reproduced in

None

External issue ID

None

External issue ID

None

External issue ID

None

External issue ID

None

External issue ID

None

External issue ID

None

Doc Impact

None

Reviewer

None

Size

None

Fix versions

Affects versions

4.2.0

Priority

Major