/** * Construct a WorldTime string value * * @param otherReferenceRanges * null if not specified * @param normalReference * @param accuracy * 0 if not specified * @param accuracyPercent * @param value * @param pattern * @throws IllegalArgumentException */ public DvTemporal(List<ReferenceRange<T>> otherReferenceRanges, DvInterval<T> normalRange, CodePhrase normalStatus, DvDuration accuracy, String magnitudeStatus, String value) { super(otherReferenceRanges, normalRange, normalStatus, accuracy, magnitudeStatus); this.dateTime = parseStringValue(value); this.value = value; setBooleans(value); }
/** * Construct a WorldTime string value * * @param otherReferenceRanges * null if not specified * @param normalReference * @param accuracy * 0 if not specified * @param accuracyPercent * @param value * @param pattern * @throws IllegalArgumentException */ public DvTemporal(List<ReferenceRange<T>> otherReferenceRanges, DvInterval<T> normalRange, CodePhrase normalStatus, DvDuration accuracy, String magnitudeStatus, String value) { super(otherReferenceRanges, normalRange, normalStatus, accuracy, magnitudeStatus); this.dateTime = parseStringValue(value); this.value = value; setBooleans(value); }