cmdr::validate::time::minute - Cmdr - Validation type for times to the minute
Welcome to the Cmdr project, written by Andreas Kupries.
For availability please read Cmdr - How To Get The Sources.
This package provides the validation type ::cmdr::validate::time::minute which accepts timestamps with minute precision in ISO 8601 syntax (limited to without seconds), or as integer offset in minutes from midnight (modulo 24 hours).
The internal representation is the offset in minutes from midnight for the validated input.
The type has no input completion.
The details of the exported standard API can be found in Cmdr - Writing custom validation types. The chosen default is "now" to the minute.
A single non-standard method is provided:
This method converts the offset in minutes from midnight of a time to the form %H:%M and returns the conversion result as its own.
Both the package(s) and this documentation will undoubtedly contain bugs and other problems. Please report such at Cmdr Tickets.
Please also report any ideas you may have for enhancements of either package(s) and/or documentation.
arguments, command hierarchy, command line completion, command line handling, command tree, editing command line, help for command line, hierarchy of commands, interactive command shell, optional arguments, options, parameters, processing command line, tree of commands
Copyright © 2013-2016 Andreas Kupries
Copyright © 2013-2016 Documentation, Andreas Kupries