Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

iso8601(8) [centos man page]

PACEMAKER(8)						  System Administration Utilities					      PACEMAKER(8)

Pacemaker - Part of the Pacemaker cluster resource manager SYNOPSIS
iso8601 command [output modifier] DESCRIPTION
iso8601 - Display and parse ISO8601 dates and times OPTIONS
-?, --help This text -$, --version Version information -V, --verbose Increase debug output Commands: -n, --now Display the current date/time -d, --date=value Parse an ISO8601 date/time. Eg. '2005-01-20 00:30:00 +01:00' or '2005-040' -p, --period=value Parse an ISO8601 date/time with interval/period (wth start time). Eg. '2005-040/2005-043' -D, --duration=value Parse an ISO8601 date/time with duration (wth start time). Eg. '2005-040/P1M' -E, --expected=value Parse an ISO8601 date/time with duration (wth start time). Eg. '2005-040/P1M' Output Modifiers: -s, --seconds Show result as a seconds since 0000-001 00:00:00Z -S, --epoch Show result as a seconds since EPOCH (1970-001 00:00:00Z) -L, --local Show result as a 'local' date/time -O, --ordinal Show result as an 'ordinal' date/time -W, --week Show result as an 'calendar week' date/time For more information on the ISO8601 standard, see: AUTHOR
Written by Andrew Beekhof REPORTING BUGS
Report bugs to Pacemaker 1.1.10-29.el7 June 2014 PACEMAKER(8)

Check Out this Related Man Page

MooseX::Types::ISO8601(3pm)				User Contributed Perl Documentation			       MooseX::Types::ISO8601(3pm)

MooseX::Types::ISO8601 - ISO8601 date and duration string type constraints and coercions for Moose SYNOPSIS
use MooseX::Types::ISO8601 qw/ ISO8601TimeDurationStr /; has duration => ( isa => ISO8601TimeDurationStr, is => 'ro', coerce => 1, ); Class->new( duration => 60 ); # 60s => PT00H01M00S Class->new( duration => DateTime::Duration->new(%args) ) DESCRIPTION
This module packages several TypeConstraints with coercions for working with ISO8601 date strings and the DateTime suite of objects. DATE CONSTRAINTS
ISO8601DateStr An ISO8601 date string. E.g. "2009-06-11" ISO8601TimeStr An ISO8601 time string. E.g. "12:06:34Z" ISO8601DateTimeStr An ISO8601 combined datetime string. E.g. "2009-06-11T12:06:34Z" ISO8601DateTimeTZStr An ISO8601 combined datetime string with a fully specified timezone. E.g. "2009-06-11T12:06:34+00:00" COERCIONS The date types will coerce from: " Num " The number is treated as a time in seconds since the unix epoch " DateTime " The duration represented as a DateTime object. " Str " Non-expanded date and time string representations. e.g.:- 20120113 => 2012-01-13 170500Z => 17:05:00Z 20120113T170500Z => 2012-01-13T17:05:00Z Representations of UTC time zone (only an offset of zero is supported) e.g.:- 17:05:00+00:00 => 17:05:00Z 17:05:00+00 => 17:05:00Z 170500+0000 => 17:05:00Z 2012-01-13T17:05:00+00:00 => 2012-01-13T17:05:00Z 2012-01-13T17:05:00+00 => 2012-01-13T17:05:00Z 20120113T170500+0000 => 2012-01-13T17:05:00Z Also supports non-standards mixing of expanded and non-expanded representations e.g.:- 2012-01-13T170500Z => 2012-01-13T17:05:00Z 20120113T17:05:00Z => 2012-01-13T17:05:00Z DURATION CONSTRAINTS
ISO8601DateDurationStr An ISO8601 date duration string. E.g. "P01Y01M01D" ISO8601TimeDurationStr An ISO8601 time duration string. E.g. "PT01H01M01S" ISO8601DateTimeDurationStr An ISO8601 comboined date and time duration string. E.g. "P01Y01M01DT01H01M01S" COERCIONS The duration types will coerce from: " Num " The number is treated as a time in seconds " DateTime::Duration " The duration represented as a DateTime::Duration object. The duration types will coerce to: " Duration " A DateTime::Duration, i.e. the " Duration " constraint from MooseX::Types::DateTime. SEE ALSO
o MooseX::Types::DateTime o DateTime o DateTime::Duration o DateTime::Format::Duration VERSION CONTROL Patches are welcome. SEE ALSO
Fractional seconds If provided, the number of seconds in time types is represented to microsecond accuracy. A full stop character is used as the decimal seperator, which is allowed, but deprecated in preference to the comma character in ISO 8601:2004. BUGS
Probably full of them, patches are very welcome. Specifically missing features: o No timezone support - all times are assumed UTC o No week number type o "Basic format", which lacks seperator characters, is not supported for reading or writing. o Tests are rubbish. AUTHOR
Tomas Doran (t0m) "<>" Dave Lambley "<>" The development of this code was sponsored by my employer <>. Contributors Aaron Moses COPYRIGHT
Copyright (c) 2009 Tomas Doran. Some rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.14.2 2012-05-11 MooseX::Types::ISO8601(3pm)
Man Page