NAME
RDF::Cowl::Lib::Gen::Class::UTime - Generated docs for RDF::Cowl::Ulib::UTime
VERSION
version 1.0.0
MAIN MODULE
METHODS
equals
Signature:
$self->equals(UTime $b)
Params:
UTime $a
UTime $b
Documentation:
Checks whether the specified dates are equal.
@param a First date.
@param b Second date.
@return True if the two dates are equal, false otherwise.
C function name: utime_equals
to_string
Signature:
$self->to_string()
Params:
UTime $time
Documentation:
Converts the specified date into a human readable string.
@param time Date.
@return Human readable date string.
@note You are responsible for deinitializing the returned string.
C function name: utime_to_string
from_string
Signature:
$self->from_string(UString $string)
Params:
UTime $time
UString $string
Documentation:
Parses a date from the specified string.
@param[out] time Date.
@param string Date string.
@return True if the string was parsed without errors, false otherwise.
@note The string must be in Y_M_D_H_M_S format, where each component is separated by any
non-digit character. An optional timezone specifier can also be specified, in which case
the date is automatically normalized to UTC. Examples of equivalent dates:
- 1990/02/14 13:30:00
- 1990-02-14T13:30:00Z
- 1990 02 14 14.30.00+1:00
C function name: utime_from_string
AUTHOR
Zakariyya Mughal <zmughal@cpan.org>
COPYRIGHT AND LICENSE
Copyright (C) 2024 by Auto-Parallel Technologies, Inc..
This is free software, licensed under Eclipse Public License - v 2.0.