<commit_before>package com.xiledsystems.AlternateJavaBridgelib;

import java.util.Calendar;

import com.google.devtools.simple.runtime.Dates;
import com.google.devtools.simple.runtime.components.AlarmHandler;
import com.google.devtools.simple.runtime.components.Component;
import com.google.devtools.simple.runtime.components.android.Deleteable;
import com.google.devtools.simple.runtime.components.android.util.TimerInternal;
import com.google.devtools.simple.runtime.events.EventDispatcher;

/**
 * 
 * This is just copied from the Java Bridge's Clock class, with it's constructor modified to
 * be put into a SvcComponentContainer. Also the way it gets context is difference.
 * 
 *  <NAME> - www.xiledsystems.com
 *
 */

public final class Clocksvc extends AndroidServiceComponent implements Component, AlarmHandler, Deleteable {

private TimerInternal timerInternal;
private boolean timerAlwaysFires = true;
private boolean onScreen = false;


/**
* Creates a new Clock service component.
*
* @param container ignored (because this is a non-visible component)
*/
public Clocksvc(SvcComponentContainer container) {
	super(container.$formService());
	timerInternal = new TimerInternal(this);

	}

// Only the above constructor should be used in practice.
public Clocksvc() {
super(null);
// To allow testing without Timer
}
<commit_msg>spelling error<commit_after>package com.xiledsystems.AlternateJavaBridgelib;

import java.util.Calendar;

import com.google.devtools.simple.runtime.Dates;
import com.google.devtools.simple.runtime.components.AlarmHandler;
import com.google.devtools.simple.runtime.components.Component;
import com.google.devtools.simple.runtime.components.android.Deleteable;
import com.google.devtools.simple.runtime.components.android.util.TimerInternal;
import com.google.devtools.simple.runtime.events.EventDispatcher;

/**
 * 
 * This is just copied from the Java Bridge's Clock class, with it's constructor modified to
 * be put into a SvcComponentContainer. Also the way it gets context is different.
 * 
 *  <NAME> - www.xiledsystems.com
 *
 */

public final class Clocksvc extends AndroidServiceComponent implements Component, AlarmHandler, Deleteable {

private TimerInternal timerInternal;
private boolean timerAlwaysFires = true;
private boolean onScreen = false;


/**
* Creates a new Clock service component.
*
* @param container ignored (because this is a non-visible component)
*/
public Clocksvc(SvcComponentContainer container) {
	super(container.$formService());
	timerInternal = new TimerInternal(this);

	}

// Only the above constructor should be used in practice.
public Clocksvc() {
super(null);
// To allow testing without Timer
}

{'fraction_non_alphanumeric': 0.09111277072442121, 'fraction_numerical': 0.0, 'mean_word_length': 5.318396226415095, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '4624453', 'n_tokens_mistral': 763, 'n_tokens_neox': 724, 'n_words': 213}