#!/usr/bin/env python
# -*- coding: utf-8 -*-

"""

CERN@school: Data Profiling - Time Stuff - Constants.

See http://cernatschool.web.cern.ch for more information.

"""

SECONDS_IN_A_MINUTE = 60

MINUTES_IN_AN_HOUR = 60

HOURS_IN_A_DAY = 24

## Dictionary for the month start times in seconds since epoch.
month_start_times = {}

month_start_times["2012-01-01-000000"] = 1325376000
month_start_times["2012-02-01-000000"] = 1328054400
month_start_times["2012-03-01-000000"] = 1330560000
month_start_times["2012-04-01-000000"] = 1333238400
month_start_times["2012-05-01-000000"] = 1335830400
month_start_times["2012-06-01-000000"] = 1338508800
month_start_times["2012-07-01-000000"] = 1341100800
month_start_times["2012-08-01-000000"] = 1343779200
month_start_times["2012-09-01-000000"] = 1346457600
month_start_times["2012-10-01-000000"] = 1349049600
month_start_times["2012-11-01-000000"] = 1351728000
month_start_times["2012-12-01-000000"] = 1354320000
month_start_times["2013-01-01-000000"] = 1356998400
month_start_times["2013-02-01-000000"] = 1359676800
month_start_times["2013-03-01-000000"] = 1362096000
