mirror of
https://github.com/hapifhir/hapi-fhir.git
synced 2025-02-08 22:14:50 +00:00
Merge pull request #53 from petromykhailysyn/master
In DateDt DEFAULT_PRECISION was added to default constructor.
This commit is contained in:
commit
d8fa4696d9
@ -47,6 +47,7 @@ public class DateDt extends BaseDateTimeDt {
|
|||||||
@SimpleSetter(suffix="WithDayPrecision")
|
@SimpleSetter(suffix="WithDayPrecision")
|
||||||
public DateDt(@SimpleSetter.Parameter(name = "theDate") Date theDate) {
|
public DateDt(@SimpleSetter.Parameter(name = "theDate") Date theDate) {
|
||||||
setValue(theDate);
|
setValue(theDate);
|
||||||
|
setPrecision(DEFAULT_PRECISION);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user