<commit_before>/*
 * Neotonic ClearSilver Templating System
 *
 * This code is made available under the terms of the 
 * Neotonic ClearSilver License.
 * http://www.neotonic.com/clearsilver/license.hdf
 *
 * Copyright (C) 2001 by <NAME>
 */

#ifndef _NEO_DATE_H_
#define _NEO_DATE_H_ 1

/* UTC time_t -> struct tm in local timezone */
void neo_time_expand (const time_t tt, char *timezone, struct tm *ttm);

/* local timezone struct tm -> time_t UTC */
time_t neo_time_compact (struct tm *ttm, char *timezone);

#endif /* _NEO_DATE_H_ */<commit_msg>make neo_date.h C++ safe<commit_after>/*
 * Neotonic ClearSilver Templating System
 *
 * This code is made available under the terms of the 
 * Neotonic ClearSilver License.
 * http://www.neotonic.com/clearsilver/license.hdf
 *
 * Copyright (C) 2001 by <NAME>
 */

#ifndef _NEO_DATE_H_
#define _NEO_DATE_H_ 1

__BEGIN_DECLS

/* UTC time_t -> struct tm in local timezone */
void neo_time_expand (const time_t tt, char *timezone, struct tm *ttm);

/* local timezone struct tm -> time_t UTC */
time_t neo_time_compact (struct tm *ttm, char *timezone);

__END_DECLS

#endif /* _NEO_DATE_H_ */
{'fraction_non_alphanumeric': 0.10642040457343888, 'fraction_numerical': 0.008795074758135445, 'mean_word_length': 4.103139013452915, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, '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': '7611042', 'n_tokens_mistral': 431, 'n_tokens_neox': 414, 'n_words': 127}