Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Oryx::Value::DateTime(User Contributed Perl DocumentatOryx::Value::DateTime(3)

NAME
       Oryx::Value::DateTime - Values storing dates and	times

SYNOPSIS
	 package CMS::Event;

	 use base qw( Oryx::Class );

	 use Class::Date qw( now );

	 our $schema = {
	     attributes	=> [ {
		 name => 'summary',
		 type => 'String',
	     },	{
		 name => 'when',
		 type => 'DateTime',
	     } ],
	 };

	 $x = CMS::Event->create({
	     summary =>	'Meet with Joe',
	     when    =>	now,
	 });

DESCRIPTION
       This type stores	dates and times	by using Class::Date objects.

       This value will check to	see that the value stored is a proper date and
       will inflate and	deflate	the date using Class::Date to be stored	in a
       "DateTime" primitive type field.

SEE ALSO
       Class::Date, Oryx::Value

AUTHOR
       Richard Hundt <richard NO SPAM AT protea-systems.com>

COPYRIGHT AND LICENSE
       This library is free software and may be	used under the same terms as
       Perl itself.

perl v5.32.1			  2006-02-17	      Oryx::Value::DateTime(3)

NAME | SYNOPSIS | DESCRIPTION | SEE ALSO | AUTHOR | COPYRIGHT AND LICENSE

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Oryx::Value::DateTime&sektion=3&manpath=FreeBSD+13.0-RELEASE+and+Ports>

home | help