(alignment Alignment1D)
| 60 | } |
| 61 | |
| 62 | func (dl *DateLabel) SetTextAlignment(alignment Alignment1D) error { |
| 63 | if alignment == AlignDefault { |
| 64 | alignment = AlignNear |
| 65 | } |
| 66 | |
| 67 | return dl.setTextAlignment1D(alignment) |
| 68 | } |
| 69 | |
| 70 | func (dl *DateLabel) Date() time.Time { |
| 71 | return dl.date |
no test coverage detected