Jifty::Filter::DateTime(3pm) User Contributed Perl Documentation Jifty::Filter::DateTime(3pm)NAME
Jifty::Filter::DateTime -- A Jifty::DBI filter to work with
Jifty::DateTime objects
SYNOPSIS
# use it with Jifty::DBI::Filter::Date or J::D::F::DateTime
column created =>
type is 'timestamp',
filters are qw( Jifty::Filter::DateTime Jifty::DBI::Filter::DateTime),
label is 'Created',
is immutable;
DESCRIPTION
Jifty::Filter::DateTime promotes DateTime objects to Jifty::DateTime (or your application's DateTime subclass) objects on load. This has
the side effect of setting their time zone based on the record's current user's preferred time zone, when available.
This is intended to be combined with "Jifty::DBI::Filter::Date" or "Jifty::DBI::Filter::DateTime", e.g.
column created =>
type is 'timestamp',
filters are qw( Jifty::Filter::DateTime Jifty::DBI::Filter::DateTime),
label is 'Created',
is immutable;
decode
If the value is a DateTime, replace it with a Jifty::DateTime (or your application's subclass) representing the same time, setting the time
zone in the process.
SEE ALSO
Jifty::DBI::Filter::Date, Jifty::DBI::Filter::DateTime, Jifty::DateTime
LICENSE
Jifty is Copyright 2005-2010 Best Practical Solutions, LLC. Jifty is distributed under the same terms as Perl itself.
perl v5.14.2 2010-12-10 Jifty::Filter::DateTime(3pm)
Check Out this Related Man Page
Jifty::DBI::Collection::Union(3pm) User Contributed Perl Documentation Jifty::DBI::Collection::Union(3pm)NAME
Jifty::DBI::Collection::Union - Deal with multiple Jifty::DBI::Collection result sets as one
SYNOPSIS
use Jifty::DBI::Collection::Union;
my $U = new Jifty::DBI::Collection::Union;
$U->add( $tickets1 );
$U->add( $tickets2 );
$U->GotoFirstItem;
while (my $z = $U->Next) {
printf "%5d %30.30s
", $z->Id, $z->Subject;
}
WARNING
This module is still experimental.
DESCRIPTION
Implements a subset of the Jifty::DBI::Collection methods, but enough to do iteration over a bunch of results. Useful for displaying the
results of two unrelated searches (for the same kind of objects) in a single list.
METHODS
new
Create a new Jifty::DBI::Collection::Union object. No arguments.
add COLLECTION
Add Jifty::DBI::Collection object COLLECTION to the Union object.
It must be the same type as the first object added.
first
Return the very first element of the Union (which is the first element of the first Collection). Also reset the current pointer to that
element.
next
Return the next element in the Union.
last
Returns the last item
count
Returns the total number of elements in the union collection
goto_first_item
Starts the recordset counter over from the first item. the next time you call "next", you'll get the first item returned by the database,
as if you'd just started iterating through the result set.
goto_item
Unlike "goto_item" in Jifty::DBI::Collection, Union only supports going to the first item in the collection.
is_last
Returns true if the current row is the last record in the set.
items_array_ref
Return a reference to an array containing all objects found by this search.
Will destroy any positional state.
AUTHOR
Copyright (c) 2004 Robert Spier
All rights reserved.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
SEE ALSO
Jifty::DBI, Jifty::DBI::Collection
perl v5.14.2 2010-12-09 Jifty::DBI::Collection::Union(3pm)
Hi all
I am new to perl-ldap. Trying to install DBD module on sun solaris which has the iplanet51 ldap already installed.
I have got the DBD-LDAP-0.03.tar file , and un packed it.
From the dir DBD-LDAP-0.03 - i tried to do
$ perl Makefile.PL and i got the... (10 Replies)
Hello, does anyone have experience with setting up IP Security Filter Rules on AIX 5.2? We need the ability to block access to a certain ip address from our development server and the thought was to configure a rule with AIX. It appears simple and straight forward, but I wanted to get some other... (0 Replies)
Hi all
This is my output of the some SQL Query
TABLESPACE_NAME FILE_NAME TOTALSPACE FREESPACE USEDSPACE Free
------------------------- ------------------------------------------------------- ---------- --------- ---------... (2 Replies)
All,
i am new to linux script...
source
Filter: vlan281-BUM-5M
BUM-5M 0 0
Filter: vlan282-BUM-5M
BUM-5M 0 0
Filter: vlan2828-BUM-5M
Filter:... (2 Replies)
Hello all,
i am new to linux , and please need your help and suggestion on....
when vi 1.txt :set list, it looks like
$ is displaying the end of line
Filter: vlan1-BUM-1M $
BUM-1M 0 ... (4 Replies)
Hey Guys,
I have looked for a solution throughout the forum for my particular question, but I cant find one. So I'm sorry if I overlooked it. I need to be able to 48 add hours to a particular DateTime string.
I have a variable named $startTime
I would like to be able to take that... (1 Reply)
Hi All,
One of my source file column name RelationshipNumber. I need to filter below mentioned records in RelationshipNumber column.
RelationshipNumber:
S45678
D89763
Y09246579
A91234
If it is available in above mentioned column, then I need to print the entire line from my source... (2 Replies)
Hi,
I have a file (stats.txt) with columns like in the example below. Destination IP address, timestamp, TCP packet sequence number and packet length.
destIP time seqNo packetLength
1.2.3.4 0.01 123 500
1.2.3.5 0.03 44 1500
1.3.2.5 0.08 44 1500
1.2.3.4 0.44... (12 Replies)
Gents,
I am stuck at end of my process.. I got the following file (input). And I want to filter it, checking from the column 2 to the end of the file.
The condition is if in any column from cl2 to the end exist value 3, not filter, but if there is not value 3, should print all the row(output... (6 Replies)