# Path: robograph/datamodel/nodes/lib/clock.py
# class Date(node.Node):
# class FormattedDate(Date):
# class Now(node.Node):
# class UtcNow(Now):
#     DEFAULT_DATE_FORMAT = '%Y-%m-%d'
#     DEFAULT_DATETIME_FORMAT = '%Y-%m-%dT%H:%M:%S%z'
#     def output(self):
#     def output(self):
#     def output(self):
#     def output(self):


from robograph.datamodel.nodes.lib import clock


def check_date(year, month, day):
    assert len(year) == 4
    assert len(month) == 2
    m = int(month)
    assert 1 <= m <= 12
    assert len(day) == 2
    d = int(day)
    assert 1 <= d <= 31


def check_time(hours, minutes, seconds):
    assert len(hours) == 2
    hh = int(hours)
    assert 0 <= hh <= 23
    assert len(minutes) == 2
    mm = int(minutes)
    assert 0 <= mm <= 59
    assert len(seconds) == 2
    ss = int(seconds)
    assert 0 <= ss <= 59


def test_date():

# Path: robograph/datamodel/nodes/lib/clock.py
# class Date(node.Node):
# class FormattedDate(Date):
# class Now(node.Node):
# class UtcNow(Now):
#     DEFAULT_DATE_FORMAT = '%Y-%m-%d'
#     DEFAULT_DATETIME_FORMAT = '%Y-%m-%dT%H:%M:%S%z'
#     def output(self):
#     def output(self):
#     def output(self):
#     def output(self):


# Path: robograph/datamodel/tests/test_clock.py
from robograph.datamodel.nodes.lib import clock



def check_date(year, month, day):
    assert len(year) == 4
    assert len(month) == 2
    m = int(month)
    assert 1 <= m <= 12
    assert len(day) == 2
    d = int(day)
    assert 1 <= d <= 31


def check_time(hours, minutes, seconds):
    assert len(hours) == 2
    hh = int(hours)
    assert 0 <= hh <= 23
    assert len(minutes) == 2
    mm = int(minutes)
    assert 0 <= mm <= 59
    assert len(seconds) == 2
    ss = int(seconds)
    assert 0 <= ss <= 59


def test_date():

    instance = clock.Date()