| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| Day |
|
| 1.0;1 |
| 1 | /* | |
| 2 | * Created on Nov 3, 2007 by wyatt | |
| 3 | */ | |
| 4 | package org.homeunix.thecave.buddi.model.impl; | |
| 5 | ||
| 6 | import java.util.Date; | |
| 7 | ||
| 8 | import ca.digitalcave.moss.common.DateUtil; | |
| 9 | ||
| 10 | public class Day extends Date{ | |
| 11 | public static final long serialVersionUID = 0; | |
| 12 | ||
| 13 | 0 | public Day(int year, int month, int day) { |
| 14 | 0 | DateUtil.setDate(this, year, month, day); |
| 15 | 0 | } |
| 16 | ||
| 17 | 0 | public Day(Date date) { |
| 18 | 0 | this.setTime(date.getTime()); |
| 19 | 0 | } |
| 20 | ||
| 21 | 0 | public Day() { |
| 22 | 0 | this.setTime(0); |
| 23 | 0 | } |
| 24 | } |