Class DateAndTime
java.lang.Object
org.opendaylight.yang.gen.v1.http.openconfig.net.yang.types.yang.rev210302.DateAndTime
- All Implemented Interfaces:
Serializable,org.opendaylight.yangtools.yang.binding.BindingObject,org.opendaylight.yangtools.yang.binding.ScalarTypeObject<String>,org.opendaylight.yangtools.yang.binding.TypeObject,org.opendaylight.yangtools.yang.binding.ValueAware<String>
@Generated("mdsal-binding-generator")
public class DateAndTime
extends Object
implements org.opendaylight.yangtools.yang.binding.ScalarTypeObject<String>, Serializable
This class represents the following YANG schema fragment defined in module openconfig-yang-types
typedef date-and-time {
type string {
pattern "[0-9]{4}\-(0[1-9]|1[0-2])\-(0[1-9]|[1-2][0-9]|3[0-1])T([0-1][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]+)?(Z|([+-]([0-1][0-9]|2[0-3]):[0-5][0-9]))";
oc-ext:posix-pattern "^[0-9]{4}\-(0[1-9]|1[0-2])\-(0[1-9]|[1-2][0-9]|3[0-1])T([0-1][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]+)?(Z|([+-]([0-1][0-9]|2[0-3]):[0-5][0-9]))$";
}
}
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDateAndTime(String _value) DateAndTime(DateAndTime source) Creates a copy from Source Object. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanstatic DateAndTimegetDefaultInstance(String defaultValue) getValue()inthashCode()toString()
-
Field Details
-
PATTERN_CONSTANTS
-
-
Constructor Details
-
DateAndTime
-
DateAndTime
Creates a copy from Source Object.- Parameters:
source- Source object
-
-
Method Details