# Copyright (c) 2006 bivio Software, Inc. All Rights Reserved. # # Visit http://www.bivio.biz for more info. # # This library is free software; you can redistribute it and/or modify # it under the terms of the GNU Lesser General Public License as # published by the Free Software Foundation; either version 2.1 of the # License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public # License along with this library; If not, you may get a copy from: # http://www.opensource.org/licenses/lgpl-license.html # # $Id: BlogFileName.bunit,v 1.6 2010/04/03 17:24:46 nagler Exp $ Type(); [ from_date_time => [ '2396759 7200' => '18500101020000', ], from_literal => [ '' => [undef, undef], ' 20060504030201 ' => '20060504030201', ' 2006/05/04/03:02:01 ' => '20060504030201', ' 2006050403020 ' => BLOG_FILE_NAME(), '/20060504030201 ' => '20060504030201', bad => BLOG_FILE_NAME(), ], from_absolute => [ '' => DIE(), '/Blog/200605/04030201' => '20060504030201', 'bad' => DIE(), ], to_sql_like_path => [ 0 => '/blog/______/________', 1 => '/public/blog/______/________', ], is_absolute => [ '/blog/200605/04030201' => 1, '/public/blog/200605/04030201' => 1, '/public/blog/200605/0403020' => 0, ], from_sql_column => [ '/Blog/200605/04030201' => '20060504030201', '200605/04030201' => '20060504030201', ], to_absolute => [ [undef, 0] => '/Blog', [undef, 1] => '/Public/Blog', [20060504030201, 1] => '/Public/Blog/200605/04030201', ], ];