Sha256: a5de3a5cf3bba08c4fc52d1ad6602e08df4da7f18045a253e6a84b5bae38b66d

Contents?: true

Size: 1.1 KB

Versions: 1

Compression:

Stored size: 1.1 KB

Contents

project project "Simple Project" "1.0" 2007-01-05 +1m {
  timezone "America/Denver"
  # The baseline date for the projection.
  now 2007-01-15
  scenario plan "Plan" {
    # Compute when the task will be ready based on the already done
    # work and the current date.
    projection { strict }
  }
}

resource tux "Tux"

task test "Testing" {
  start 2007-01-05
  effort 10d
  allocate tux
}

supplement resource tux {
  # Book a whole day (8 hours). The 1 hour lunch break is skipped.
  booking test 2007-01-06-9:00 +9h { sloppy 1 }
  # Book 2 days in the afternoon, 4 hours each.
  booking test 2007-01-08-13:00 +4h,
               2007-01-09-13:00 +4h
  # This is a common mistake. With standard working hours, this will
  # yield a zero time booking! The interval is midnight to 8am. So
  # it's outside of the working hours and 'sloopy 2' surpresses the
  # warning.
  booking test 2007-01-11 +8h { sloppy 2 }
  # Use 'overtime' to book off-hour slots. This booking will book the
  # full 10 hours, ignoring the lunch break and adding an extra hour
  # in the morning.
  booking test 2007-01-11-8:00 +10h { overtime 1 }
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
taskjuggler-0.0.11 test/TestSuite/Syntax/Correct/Booking.tjp