<commit_before>package com.michalrus.nofatty.ui.utils

import java.awt.event.{ ActionEvent, ActionListener, KeyEvent, KeyListener }
import java.awt.{ Graphics, Dimension, GridBagConstraints, GridBagLayout }
import java.util.concurrent.atomic.AtomicReference
import javax.swing.{ JButton, JPanel }

import org.joda.time.LocalDate
import org.joda.time.format.DateTimeFormat

import scala.util.Try

class LocalDateInput(initialDate: LocalDate, onChange: LocalDate ⇒ Unit) extends JPanel {

  private[this] val formatter = DateTimeFormat.forPattern("MMMM d, Y")
  private[this] val prev = new JButton("«")
  private[this] val next = new JButton("»")

  private[this] val currentDate = new AtomicReference[LocalDate](initialDate)<commit_msg>Change LocalDateInput arrows to ←→<commit_after>package com.michalrus.nofatty.ui.utils

import java.awt.event.{ ActionEvent, ActionListener, KeyEvent, KeyListener }
import java.awt.{ Graphics, Dimension, GridBagConstraints, GridBagLayout }
import java.util.concurrent.atomic.AtomicReference
import javax.swing.{ JButton, JPanel }

import org.joda.time.LocalDate
import org.joda.time.format.DateTimeFormat

import scala.util.Try

class LocalDateInput(initialDate: LocalDate, onChange: LocalDate ⇒ Unit) extends JPanel {

  private[this] val formatter = DateTimeFormat.forPattern("MMMM d, Y")
  private[this] val prev = new JButton("←")
  private[this] val next = new JButton("→")

  private[this] val currentDate = new AtomicReference[LocalDate](initialDate)
{'fraction_non_alphanumeric': 0.1071667782987274, 'fraction_numerical': 0.0, 'mean_word_length': 6.148325358851674, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1373104', 'n_tokens_mistral': 462, 'n_tokens_neox': 458, 'n_words': 117}