Commonize into PathUtils; On Linux/BSD try to use xdg-open/x-www-browser if Java...
[SquirrelJME.git] / buildSrc / src / main / java / cc / squirreljme / plugin / util / NoteDay.java
blob63b5d0de9be1544735705865418ed04bd473dccd
1 // -*- Mode: Java; indent-tabs-mode: t; tab-width: 4 -*-
2 // ---------------------------------------------------------------------------
3 // SquirrelJME
4 // Copyright (C) Stephanie Gawroriski <xer@multiphasicapps.net>
5 // ---------------------------------------------------------------------------
6 // SquirrelJME is under the GNU General Public License v3+, or later.
7 // See license.mkd for licensing and copyright information.
8 // ---------------------------------------------------------------------------
10 package cc.squirreljme.plugin.util;
13 import java.time.LocalDate;
15 /**
16 * Represents the day.
18 * @since 2020/06/27
20 public class NoteDay
22 /** The date. */
23 public final LocalDate date;
25 /** The file name. */
26 public final String fileName;
28 /**
29 * Initializes the day.
31 * @param __date The date.
32 * @param __fileName The file name.
33 * @throws NullPointerException On null arguments.
34 * @since 2020/06/27
36 public NoteDay(LocalDate __date, String __fileName)
37 throws NullPointerException
39 if (__date == null || __fileName == null)
40 throw new NullPointerException("NARG");
42 this.date = __date;
43 this.fileName = __fileName;