App::HWD::Work - Work completed on HWD projects


hwd documentation  | view source Contained in the hwd distribution.

Index


NAME

Top

App::HWD::Work - Work completed on HWD projects

SYNOPSIS

Top

Used only by the hwd application.

Note that these functions are pretty fragile, and do almost no data checking.

FUNCTIONS

Top

App::HWD::Work->parse()

Returns an App::HWD::Work object from an input line

App::HWD::Work->new( { args } )

Creates a new task from the args passed in. They should include at least level, name and id, even if id is undef.

$work->set( $key => $value )

Sets the $key field to $value.

$work->who()

Returns who did the work

$work->when()

Returns the when of the work as a string.

$work->when_obj()

Returns the when of the work as a DateTime object.

$work->task()

Returns the ID of the work that was worked on.

$work->hours()

Returns the hours spent.

$work->completed()

Returns a boolean that says whether the work was completed or not.

$work->comment()

Returns the comment from the file, if any.

AUTHOR

Top

Andy Lester, <andy at petdance.com>

COPYRIGHT & LICENSE

Top


hwd documentation  | view source Contained in the hwd distribution.