private static PrintYear ( char text, int value ) : void | ||
text | char | |
value | int | |
return | void |
private static void PrintYear(char[] text, int value)
{
text[0] = (char)((value / 1000) % 10 + '0');
text[1] = (char)((value / 100) % 10 + '0');
text[2] = (char)((value / 10) % 10 + '0');
text[3] = (char)((value / 1) % 10 + '0');
}